Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Glossary

Failover: switching to a standby system

Failover is the switch of traffic or workload from a failed or unhealthy system to a standby system so the service keeps running. It can be triggered automatically by health checks or manually by an operator.

The short answer
  • Active-passive keeps a standby idle. Active-active serves traffic from every site.
  • Failover is only as good as the health check that triggers it.
  • Automatic failover on a false alarm causes an outage you did not need.

What are the failover patterns?

Active-passive vs active-active
PatternHow it worksTrade-off
Active-passiveOne site serves traffic. The standby takes over when the primary failsCheaper, but the switch takes time and must be tested
Active-activeSeveral sites serve traffic at onceMost complex and costly. AWS notes there is no failover step, only loss of a site

Per the AWS disaster recovery whitepaper.

How is traffic redirected?

DNS failover

Health checks decide which DNS answer to return, for example Amazon Route 53 sends traffic from an unhealthy resource to a healthy one. Cached answers delay the switch.

Load balancer

A load balancer stops sending requests to targets that fail their health checks and uses the rest.

Anycast

The same IP address is announced from several locations, and routing sends traffic to a working one.

Automatic or manual?

AWS advises caution with fully automatic failover because a false alarm costs you availability and data. Many teams keep the steps automated but trigger them by hand, so the switch is like pressing a button.

Common questions

What is the difference between failover and failback?

Failover moves service to the standby after a failure. Failback returns it to the original primary once that system is repaired and in sync. Failback needs its own plan, because data written on the standby must be copied back first.

What is DNS failover?

DNS failover changes the DNS answer for a name when a health check shows the primary endpoint is unhealthy, so new lookups reach the standby. Resolvers that cached the old answer keep using it until the record TTL expires, which delays recovery.

Does failover mean zero downtime?

Not by default. AWS states that recovery time is greater than zero even with best practices. Active-active designs get closest to zero because other sites already serve traffic when one is lost.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.