1

I am using Route 53 with DNS Failover configured based on Health Checks. This is great, but sometimes I want to manually initiate a failover.

How can I manually cause a failover, for example in the event of maintanence? If I rely on the automated failover, it will take a number of failed requests before the failover actually occurs hence why I would like to do manual failover so that there is zero downtime.

Currently we have to manually edit the IP addresses, but just initiating a failover would be much better. Any help here would be greatly appreciated.

Note that today we set DNS TTL to 30 seconds and wait 30 seconds post DNS update.

1 Answer 1

2

You can do this by inverting the health check status, edit the health check and go to advanced and toggle "Invert health check status".

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-values.html#health-checks-creating-values-invert-health-check-status

2
  • THANK YOU SO MUCH! You are amazing!
    – A X
    Aug 6, 2022 at 19:49
  • This answer will not solve the issue regarding cached DNS resource records. Aug 8, 2022 at 0:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .