Uptime monitoring from outside your own infrastructure that alerts you the minute your site goes down — upordown.online
Failover looks simple on a slide: if region A is down, send traffic to region B. On the day, DNS is still serving the old address, the certificate on B is for a different hostname, login sessions are in a Redis that only exists in A, and the uptime monitor is still checking A's load balancer, which is the one that's down.
Here is the checklist I want filled in before the incident, then walked again during one.
Before you ever fail over
1. Write down what "failover" means. Active-active (both regions already serve traffic) is a different motion from active-passive (B is standing by). Cold spare (B is started during the incident) is a third. Each has a different RTO, and a different way to get it wrong. If the runbook says "fail over" without saying which, people will improvise.
2. List every name that has to move. Apex, www, api, cdn, status, image hosts, webhook endpoints you gave to payment providers, MX if this is also email. A site can "fail over" while checkout still posts to a region-A API name.
3. Check TTLs and the actual resolvers that matter. A 60-second TTL does not mean the cut happens in 60 seconds. Corporate resolvers, browsers, and some mobile carriers cache longer. Know the realistic window, and don't promise a 30-second failover with a 300-second TTL on the apex.
4. Put valid certificates on B, for the public names, today. Not a staging cert, not a cert for b.internal.example.com. Issue and renew them on a schedule even while B is idle. A failover that ends in NET::ERR_CERT_COMMON_NAME_INVALID is a longer outage, not a recovery.
5. Replicate the data B needs, and test a read. Databases, object storage, session stores, feature flags, uploaded files. "We have replicas" is not the same as "we promoted one last quarter and the app booted". If some data is region-bound (a local Redis, a local job queue), decide now whether those users are logged out, and say so.
6. Decide what happens to scheduled jobs. If cron, workers or webhook consumers run in both regions during failover, you will double-charge, double-email or double-ship. If they run in neither, invoices and password resets stop. Pin each job to a primary, and write how it moves.
During a failover
7. Change the thing that actually steers traffic. For some setups that is DNS. For others it is a global load balancer, an Anycast address, or a feature flag at the CDN. Changing DNS while a CDN still origins at region A does nothing. Do the steering change once, record the time, and do not "also" tweak six other knobs.
8. Drain, don't just flip, if A is degraded rather than dead. Existing connections and in-flight POSTs deserve a short drain. If A is hard-down, skip this and go.
9. Check the public names from outside, not from the B bastion. From a laptop or an external checker, dig the names, then curl -vI https://the-public-name/ and confirm the certificate, the status code, and that the response is from B (a region header, a unique asset, a version). A 200 from inside B's VPC is not evidence that customers have moved.
The first check after a failover has to come from outside the region you just failed out of, and the one you just failed into. upordown.online watches the public URL from outside your infrastructure, so you can see whether the cut actually worked for visitors, not only for a host on the new VPC.
10. Watch sessions, payments and webhooks, not just the homepage. Log in, start a checkout, confirm a webhook test delivery still arrives. These are the paths that keep hidden region assumptions (sticky cookies, IP allowlists, a provider callback URL).
After traffic is on B
11. Tell people, and keep A from coming back half-alive. Update the status page. Disable or fence writers in A so a surprised recovery of A does not split-brain the database. Pause the region-A schedulers if you didn't already.
12. Schedule the fail-back as a planned change, with the same checklist in reverse. The return to A is where I've seen more mistakes than the original failover: TTLs still pointing at B for some resolvers, a cert on A that expired while it was idle, a monitor still pointed at B so nobody notices A is wrong. Fail-back is another failover.
Things people skip that then dominate the outage
- Provider allowlists. Email, payments, and fraud tools may only accept requests from region A's NAT IPs. B's IPs need to be on those lists before the day.
- Rate limits and bot rules. A sudden move of all traffic to B looks like an attack to a WAF that has only ever seen B used for health checks.
- The monitor's own target. If the check URL is a regional hostname or a hardcoded IP in A, the monitor will stay red after a successful failover, or stay green if you fail to move and you pointed the check at B "to test it". Check the public name.
Run a planned failover in staging or on a quiet morning at least once. A checklist you have never executed is still a hope.
Related reading
- Your DNS TTL is why the outage lasted 2 hours: set it before you need it
- Multi-region uptime monitoring FAQ: 10 questions about checking your site from more than one place
- Changing DNS providers? A 12-point checklist so your site and email survive the move
- Case study (hypothetical): Redis ran out of memory, the homepage still returned 200, and checkout failed silently for 90 minutes
Have you actually failed over in anger? What was the thing that still pointed at the old region after everything else had moved?
Top comments (0)