A global e-learning company serves dynamic content to users worldwide. The application backend is deployed behind Application Load Balancers (ALBs) in both the eu-central-1 and ap-southeast-1 regions. The company wants to route users to the region that provides the lowest network latency. If one of the regions experiences an outage, Route 53 must automatically stop routing traffic to that region's ALB. The application uses the apex domain learn.example.com. Which configuration should the solutions architect implement to meet these requirements?
- ACreate Latency Alias records for the apex domain pointing to the ALBs in each region, and set the 'Evaluate Target Health' parameter to 'No' to maximize DNS caching efficiency.
- BCreate Latency Alias records for the apex domain. Configure the primary record to point to the eu-central-1 ALB, and configure the secondary record to point directly to the DNS endpoint of the Amazon RDS read replica in ap-southeast-1.
- Create Latency Alias records for the apex domain pointing to the respective ALBs in each region, and set the 'Evaluate Target Health' parameter to 'Yes' on both records.Answer
- DCreate Failover records for the apex domain, pointing the primary record to the eu-central-1 ALB. Point the secondary record to a stopped EC2 instance in ap-southeast-1 that serves as a standby database, expecting Route 53 to automatically start the instance and route traffic during a failover.
Answer
Create Latency Alias records for the apex domain pointing to the respective ALBs in each region, and set the 'Evaluate Target Health' parameter to 'Yes' on both records.
The correct configuration utilizes Latency-based routing with Alias records pointing to the ALBs in each region. Because the zone apex domain (learn.example.com) is used, CNAME records are not permitted, necessitating Alias records. Setting 'Evaluate Target Health' to 'Yes' allows Route 53 to determine the health of the ALBs based on the underlying target group health checks, enabling automatic failover and routing redirection during a regional outage.
Step-by-Step Solution
Key Concept
Route 53 Latency Routing with Alias records and Target Health Evaluation