Implementing multi-Region failover with standby takes over primary
A quick and easy walkthrough of a reliable way to privately initiate a failover for your AWS applications
Advantages of this implementation
Flexible manual or automated failover mechanism
Failover process does not have dependency on primary region
Affordability and ease of implementation
Deploying the sample application
Deploy the application to the secondary Region
Deploy the application to the secondary Region
Deploying the heartbeat script
- Route 53 considers a new health check to be healthy until there's enough data to determine the actual status, healthy or unhealthy. If you chose the option to invert the health check status, Route 53 considers a new health check to be unhealthy until there's enough data. If you invert the health check, Route 53 treats a healthy endpoint as unhealthy and vice versa.
- For new health checks that have no last known status, the default status for the health check is healthy. More details.
- If you omit the health check for the secondary record, and if the health check endpoint for the primary record is unhealthy, Route 53 always responds to DNS queries by using the secondary record. More details.
- A public domain (example.com) registered with Amazon Route 53. Follow the instructions here on how to register a domain and the instructions here to configure Amazon Route 53 as your DNS service.
- An AWS Certificate Manager certificate (*.example.com) for your domain name on both the primary and secondary Regions you plan to deploy the sample APIs.
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.