AWS Route 53: Failover Routing Policy

Introduction

The Failover Routing Policy in Amazon Route 53 ensures high availability by automatically switching traffic from a primary resource to a secondary (disaster recovery) resource when the primary becomes unhealthy. This is achieved by associating health checks with DNS records.


How Failover Routing Works

  1. Primary and Secondary Setup:
  2. Health Check Association:
  3. Automatic DNS Resolution:

Configuring Failover Routing in Route 53

Step 1: Create a Primary Failover Record

  1. Go to Route 53 → Hosted Zones.
  2. Click Create Record.
  3. Set Record Name:
  4. Choose Record Type:
  5. Set the Value:
  6. Choose Routing Policy:
  7. Set Failover Record Type:
  8. Associate with a Health Check:
  9. Set TTL (Time to Live):