Failover Routing and Health Checks
A health check can direct DNS to a healthy secondary endpoint when the primary becomes unavailable.
How it works
Route 53 failover routing supports an active-passive DNS configuration with primary and secondary records. Health information can determine which record Route 53 returns; endpoint health checks can use HTTP, HTTPS, or TCP. The result depends on the health configuration for both records. DNS caching and existing connections mean clients do not all switch immediately.
When to use it
Choose it when the requirement is DNS-level primary and standby endpoints for disaster recovery.
Real-world example
A team configures a primary website in Oregon and a standby page in Ohio. Route 53 monitors the primary endpoint and can return the secondary record when the configured failover conditions are met. The team tests recovery and accounts for DNS caching.
Common pitfall
Do not assume Route 53 always returns a healthy endpoint. If both primary and secondary records have health checks and both are unhealthy, Route 53 returns the primary record. Test the complete failure scenario.
Often confused with
Compare its service boundary with DNS records and routing decisions; choose from the workload requirement.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.