An enterprise operates a high-performance web application deployed across two AWS Regions: us-east-1 and eu-west-1. Traffic is routed to the application endpoints via Amazon Route 53 using latency-based routing. The infrastructure team is designing a deployment strategy to release a major application update. The release requirements are:
1. The update must be rolled out to us-east-1 first, routing exactly 5% of the region's live traffic to the new version (the canary) to evaluate performance and error rates.
2. The remaining 95% of traffic in us-east-1 and 100% of traffic in eu-west-1 must continue to access the stable version.
3. If the canary deployment meets health metrics after 1 hour, traffic must be gradually shifted to 100% in us-east-1, followed by a similar rollout in eu-west-1.
4. If health metrics are violated, the canary traffic must be immediately redirected to the stable version without affecting latency-based routing for other users.
Which Route 53 configuration should a Solutions Architect recommend to implement this deployment strategy?
- ACreate weighted records for the application domain to distribute traffic to the us-east-1 and eu-west-1 regions. Under each regional subdomain, create nested latency-based records pointing to the respective Application Load Balancers. Add a third top-level weighted record pointing directly to the new Application Load Balancer in us-east-1 with a weight of 5.
- BChange the routing policy of the primary domain from latency-based to geolocation-based routing. Route all traffic from North America to a weighted record set containing the stable and new Application Load Balancer endpoints in us-east-1 with weights of 95 and 5, respectively. Route European traffic to the stable Application Load Balancer in eu-west-1.
- Create latency-based Alias records for the application domain. Point the latency record for the us-east-1 region to a nested weighted record set for a regional subdomain. Configure this subdomain with two records in the us-east-1 region: one pointing to the stable Application Load Balancer with a weight of 95, and one pointing to the new Application Load Balancer with a weight of 5.Answer
- DCreate a single latency-based record set for the application domain. Add a latency record for eu-west-1 pointing to the stable Application Load Balancer, a latency record for us-east-1 with a weight of 95 pointing to the stable Application Load Balancer, and a latency record for us-east-1 with a weight of 5 pointing to the new Application Load Balancer.