Volume 8 · Chapter 4 — High Availability, Disaster Recovery and Safe Change
Multi-Region Architecture and Failover
4.1 Introduction
Multi-AZ protects against the loss of a data centre within a Region; multi-Region protects against the loss of an entire Region and enables serving users globally. It’s the highest tier of resilience and also the most complex and expensive, so knowing when it’s justified - and how failover actually works - is an important architecture and interview topic. This chapter covers multi-Region patterns, the mechanics of regional failover, and the hard problem at the centre of it all: data replication across Regions.
4.2 Why (and Why Not) Multi-Region
Multi-Region architecture serves two purposes: surviving a whole-Region failure (disaster recovery beyond what multi-AZ provides) and serving users from a Region near them for lower latency (global reach). But it’s a big step up in complexity and cost - you’re running and coordinating infrastructure in multiple Regions and, hardest of all, keeping data consistent across them over long distances. So it’s not the default; multi-AZ handles the overwhelmingly common failure modes (instance, data centre) well, and many systems never need multi-Region. You justify multi-Region when the business genuinely requires surviving a Region-level event (very low RTO/RPO for critical systems, or regulatory requirements) or needs low latency for a global user base - and you accept its complexity deliberately, rather than adopting it reflexively.
4.3 Active-Passive vs Active-Active
Multi-Region designs come in two main shapes. Active-passive (the common DR pattern) runs a primary Region serving all traffic with a secondary Region on standby - kept ready via pilot light or warm standby - that you fail over to if the primary is lost; simpler and cheaper, with failover taking some time. Active-active runs multiple Regions serving traffic simultaneously, so users are served from the nearest Region and the loss of one Region simply shifts its traffic to the others with minimal disruption - the highest availability and best global latency, but the most complex and expensive, and it makes data consistency across Regions especially hard because writes can happen in multiple Regions at once. The choice again follows RTO/RPO and latency needs against cost and complexity.
flowchart TB
subgraph AP[Active-Passive]
U1((Users)) --> P1[Primary Region - all traffic]
P1 -. replicate .-> Sec[Secondary - standby]
P1 -. on Region loss: fail over .-> Sec
end
subgraph AA[Active-Active]
U2((Users)) --> R53{Route 53\nlatency + failover}
R53 --> RA[Region A - serving]
R53 --> RB[Region B - serving]
RA <-. bi-directional replication .-> RB
end 4.4 Regional Failover Mechanics
Failover between Regions is orchestrated largely through DNS. As covered in the networking volume, Route 53 health checks monitor the primary Region’s endpoint, and failover routing automatically directs users to the secondary Region when the primary becomes unhealthy - this is the mechanism that actually shifts user traffic during a regional event. Because DNS answers are cached for their TTL, failover isn’t instantaneous, so TTLs are tuned to balance failover speed against lookup load. The secondary Region must be genuinely ready to take the traffic - which is why warm standby (capacity already running) fails over faster than pilot light or backup- restore (capacity provisioned on demand). The data must also be current in the secondary, which brings us to the central challenge.
4.5 The Hard Problem: Cross-Region Data Replication
The genuinely hard part of multi-Region is keeping data consistent across Regions. Replicating data over long distances introduces latency, so you face a trade-off: synchronous cross-Region replication (waiting for the other Region to confirm each write) guarantees no data loss but adds significant latency to every write, while asynchronous replication (the common choice) is fast but means the secondary can lag slightly behind, so a sudden Region loss could lose the most recent unreplicated writes - directly setting your RPO. Active-active is harder still, because writes in multiple Regions can conflict and must be reconciled. Managed services help (cross-Region replication for S3, global tables for DynamoDB, cross-Region read replicas and Aurora global databases), but the fundamental trade-off between consistency, latency, and data loss across Regions is unavoidable and is the crux of multi-Region design.
4.6 Banking Production Scenario
A bank runs its critical transaction systems active-passive across two Regions in the same country (for data residency). The primary serves all traffic; the secondary is a warm standby with the database continuously replicated, ready to take over quickly. Route 53 health checks the primary and fails traffic over to the secondary automatically if the primary Region is lost, with TTLs tuned for prompt failover. The database uses asynchronous cross-Region replication, so the RPO is a small window of possibly-unreplicated recent writes, which the bank has accepted as its objective; where zero loss is required for specific data, it uses stronger replication. Less critical systems use backup-and-restore to the second Region. The bank tests regional failover regularly, so recovery from a Region loss is a rehearsed, working procedure.
4.7 Troubleshooting: Multi-Region Problems
Multi-Region issues centre on readiness and data. A failover that’s too slow means the secondary wasn’t ready (pilot light/backup-restore when the RTO needed warm standby), or DNS TTLs are too high - use warmer standby and tune TTLs. Data lost on failover beyond the acceptable RPO means replication lag - move toward more frequent or synchronous replication for the critical data, accepting the latency cost. Conflicting writes in active-active mean cross-Region write conflicts aren’t being reconciled - add conflict resolution or restrict writes to one Region. Adopting costly active-active where multi-AZ or active-passive would suffice is over-engineering. Failover that fails when tried means it was never exercised - test regularly. The diagnostic questions are whether the secondary is ready enough for the RTO, whether replication meets the RPO, and whether failover has been proven.
When is multi-Region justified, and what's the hardest part of it?
Multi-Region is justified when the business genuinely needs to survive the loss of an entire Region or to serve a global user base with low latency - and it’s a deliberate step up in complexity and cost that you take for those reasons, not by default. Multi-AZ already protects against the common failure modes - an instance or an entire data centre failing within a Region - and handles them well, so many systems never need multi-Region. You reach for it when you need to survive a whole-Region event, which is disaster recovery beyond what multi-AZ provides - typically for critical systems with very low RTO and RPO, or where regulation requires it - or when you need users served from a Region near them for low latency across a global footprint. Multi-Region designs come in two shapes. Active-passive runs a primary Region serving all traffic with a secondary on standby, kept ready via pilot light or warm standby, that you fail over to if the primary is lost - simpler and cheaper, with failover taking some time. Active-active runs multiple Regions serving traffic simultaneously, giving the best availability and global latency because losing one Region just shifts its traffic to the others, but it’s the most complex and expensive. Failover between Regions is orchestrated mainly through DNS: Route 53 health checks the primary and failover routing directs users to the secondary when the primary is unhealthy, though because DNS is cached for its TTL, failover isn’t instantaneous and TTLs are tuned accordingly, and the secondary must be genuinely ready - which is why warm standby fails over faster than pilot light. The hardest part of multi-Region is keeping data consistent across Regions. Replicating data over long distances introduces latency, creating an unavoidable trade-off: synchronous cross-Region replication waits for the other Region to confirm each write, guaranteeing no data loss but adding significant latency to every write; asynchronous replication, the common choice, is fast but lets the secondary lag slightly, so a sudden Region loss can lose the most recent unreplicated writes - which directly sets your RPO. Active-active is harder still because writes can happen in multiple Regions at once and conflict, requiring reconciliation. Managed services help - S3 cross-Region replication, DynamoDB global tables, Aurora global databases, cross-Region read replicas - but the fundamental tension between consistency, write latency, and potential data loss across Regions is inescapable and is the crux of multi-Region design. So I justify multi-Region for surviving Region-level failure or global low latency when the business truly requires it, choose active-passive or active-active based on RTO/RPO and latency versus cost, orchestrate failover with Route 53 health checks and readiness in the secondary, and treat cross-Region data replication - the trade-off between consistency, latency, and data loss - as the hard problem at its centre, testing regional failover regularly so it works when needed.
Chapter Revision Notes
- Multi-Region protects against whole-Region loss and enables global low-latency serving - the highest, costliest tier; multi-AZ handles common failures.
- Active-passive: primary serves, secondary on standby for failover (simpler); active-active: multiple Regions serve simultaneously (best availability/latency, most complex).
- Regional failover is orchestrated via Route 53 health checks + failover routing; DNS TTL affects failover speed; the secondary must be ready.
- The hard part is cross-Region data replication: synchronous (no loss, high write latency) vs asynchronous (fast, possible recent-data loss = your RPO).
- Managed services help (S3 CRR, DynamoDB global tables, Aurora global DB), but the consistency/latency/loss trade-off is unavoidable.