QuestionQ2

Resilient Cloud Solutions

A company hosts a web application in an AWS Region. For disaster recovery, it uses a second Region as a standby. The disaster recovery requirements specify that session data must be replicated between Regions in near real time, and 1% of requests must be routed to the secondary Region to continuously validate system functionality. In addition, if service in the primary Region is disrupted, traffic must automatically route to the secondary Region, which must be able to scale to support all traffic.

How should a DevOps engineer satisfy these requirements?

Explanation

Amazon DynamoDB global tables automatically replicate table data across AWS Regions, providing the near-real-time multi-Region session-data replication required. Amazon Route 53 weighted routing sends traffic in specified proportions, so records weighted at 99% and 1% continuously exercise the secondary Region. When health checks mark the primary endpoint unhealthy, Route 53 stops returning that endpoint and routes traffic to the healthy secondary deployment. Elastic Beanstalk can host the application in each Region and scale the secondary environment as needed. DynamoDB global tables and Route 53 weighted routing support these capabilities.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!