A company hosts its primary web application on EC2 instances behind an Application Load Balancer (ALB). To ensure business continuity during an outage, the company configures a static "under maintenance" page in an Amazon S3 bucket. A solutions architect must configure Amazon Route 53 to automatically direct all user traffic to the S3 bucket if the ALB becomes unhealthy. Which Route 53 routing configuration should the solutions architect implement to meet these requirements?
- Create a Route 53 failover routing policy. Configure a primary alias record pointing to the ALB with target health evaluation enabled, and a secondary alias record pointing to the S3 bucket.Cevap
- BCreate a Route 53 latency routing policy. Configure one record pointing to the ALB and another record pointing to the S3 bucket, allowing Route 53 to route traffic to the resource with the lowest network latency.
- CCreate a Route 53 failover routing policy. Configure a primary record pointing to the application's primary database instance and a secondary record pointing to an RDS read replica for database failover.
- DCreate a Route 53 weighted routing policy. Assign a weight of to the ALB and a weight of to the S3 bucket, then manually update the weights during an outage to achieve warm standby recovery.
Cevap
Create a Route 53 failover routing policy. Configure a primary alias record pointing to the ALB with target health evaluation enabled, and a secondary alias record pointing to the S3 bucket.
The correct option is the one that recommends configuring a Route 53 failover routing policy with a primary alias record pointing to the ALB (health evaluation enabled) and a secondary alias record pointing to the S3 bucket. Failover routing allows Route 53 to route traffic to the primary resource when it is healthy, and switch to the secondary resource when the primary is unhealthy. Setting 'Evaluate Target Health' to Yes on the alias record enables Route 53 to automatically check the health of the ALB.
Adım Adım Çözüm
Anahtar Kavram
Route 53 active-passive failover routing policy dynamically routes traffic to a secondary standby endpoint when the primary endpoint becomes unhealthy, determined via target health evaluation.