Ref: https://learn.cantrill.io/courses/1820301/lectures/41301584
R53 Failover Routing - Architecture
Diagram: https://github.com/acantril/aws-sa-associate-saac03/blob/main/1200-ROUTE53/00_LEARNINGAIDS/Route53FailoverRouting-1.png
- 🔧 The same host name has two records: a primary and a secondary record
- Each record points to a different AWS resource
- Health check in place:
- If primary resource is healthy → primary record is returned to queries
- If primary resource is unhealthy → secondary record is returned to queries
- Useful for configuring active-passive failover
- i.e. route traffic to a resource if healthy, to a different resource if primary is unhealthy
- Common scenario: failover to an out-of-band failure/maintenance page
- e.g. EC2 as primary resource + S3 static website as secondary/backup resource