A company is designing a high-availability, active-active web application deployed across two AWS Regions: us-east-1 and eu-west-1. The application is accessed via the domain apex (example.com). The architecture requires low-latency access for global users by directing them to the nearest healthy region. Additionally, the system must support automatic failover to the secondary region if either the load balancer target servers become unhealthy or the local application instance loses connectivity to its database. Which two configurations should the solutions architect implement to meet these requirements?
- Create Route 53 Latency Alias records for example.com pointing to the Application Load Balancer (ALB) in each region, and enable the Evaluate Target Health option.Answer
- Create Route 53 HTTPS health checks to monitor the application's database connectivity endpoint in each region, and associate these health checks with their corresponding Latency Alias records.Answer
- CCreate Route 53 Latency CNAME records for example.com pointing to the DNS names of the ALBs, and configure a TTL of 10 seconds to minimize failover latency.
- DCreate a Route 53 Failover routing policy designating the primary region as primary and the secondary region as secondary, and configure latency-based routing within the primary failover group.
- ECreate Route 53 Latency Alias records pointing directly to the Amazon RDS database endpoint in each region, and configure Route 53 health checks to trigger an RDS replica promotion.
Answer
Creating Route 53 Latency Alias records pointing to the Application Load Balancers with target health evaluation enabled, and configuring custom Route 53 HTTPS health checks to monitor the database connectivity endpoint.
The correct solution requires configuring Route 53 Latency Alias records pointing to the Application Load Balancer in each region and setting 'Evaluate Target Health' to Yes. This allows traffic to be routed to the closest healthy region at the zone apex. Additionally, to detect database connectivity failures, custom Route 53 HTTPS health checks must be created to query the database connectivity endpoint and associated with the Latency Alias records.
Step-by-Step Solution
Key Concept
Combining Route 53 Latency Routing, Alias Records, and Multi-layered Health Checks for Active-Active Failover at the Zone Apex