AWS Route 53 Routing Policies
Learn when to use simple, weighted, latency, failover, geolocation, and geoproximity routing policies in Route 53.
AWS Route 53 Routing Policies shape how Route 53 answers DNS queries when more than one healthy destination exists. For DevOps teams, it matters because they let teams balance traffic, move users closer to the best region, and fail over when an endpoint becomes unhealthy. Instead of relying on one fragile manual configuration, you can design a repeatable service boundary that stays stable while the workload behind it changes.
Core ideas
The main ideas to understand are simple routing is the default when one record answer is enough; weighted routing splits traffic across records and is useful for gradual cutovers or experiments; latency, geolocation, and geoproximity policies steer users based on where they are or where the fastest response is likely to come from; and failover routing works best when paired with health checks so DNS answers switch only when the primary endpoint is actually down. These details shape architecture decisions, but they also shape day-to-day operations. When a team chooses defaults without understanding how the service behaves under failure, scale, or security review, the platform often becomes harder to debug than the application itself.
| Policy | Best fit | Typical example |
|---|---|---|
| Weighted | Controlled traffic split | 90 percent old stack and 10 percent new |
| Latency | Regional user experience | Users sent to the lowest-latency region |
| Failover | Primary and backup endpoint | DNS switches when health check fails |
From an operations perspective, the goal is to choose the least complex policy that still satisfies rollout, resilience, or geography requirements. The comparison below highlights the choices that usually matter first. It is often better to start with a simpler design and add sophistication only after metrics, incidents, or delivery requirements prove the change is necessary.
Practical commands
aws route53 list-health-checks --output table
aws route53 test-dns-answer --hosted-zone-id Z123456789EXAMPLE --record-name app.example.com --record-type A
Practical CLI checks make the service easier to support in real environments. Use the commands below to inspect the current state and confirm that automation matches intent. Before you promote a change, verify policy intent, health check wiring, and whether the chosen policy could make troubleshooting harder than necessary. A safe default is weighted rollouts for DNS changes instead of all-at-once cutovers when you need a safer migration path. That discipline makes later troubleshooting, scaling, and security reviews far less painful.
Failover routing
Which Route 53 policy is designed for a primary endpoint with a backup endpoint?
Weighted routing
Why would you use weighted routing in Route 53?