What it is
Cloud providers group their data centres into regions: geographic areas, usually around one metropolitan area, each offering the full set of services. Inside a region are several availability zones (AZs, typically three or more). A zone is one or more data centres with independent power, cooling and networking, physically separated from the other zones (kilometres to tens of kilometres) so that a fire, flood or power failure hits only one. Zones in a region are linked by high-bandwidth, low-latency private networks: a round trip between zones is typically on the order of a millisecond or two.
Regions are far apart, hundreds to thousands of kilometres, and are deliberately independent of each other: separate control planes, separate failure domains, often separate legal jurisdictions.
Why it exists
Hardware, buildings and power feeds fail. Redundancy only helps if the copies do not fail together, so providers expose the physical failure domains to you. Zones give you independent failure domains that are close enough to use as one system: you can spread servers across them, load-balance across them and replicate databases synchronously between them. Regions cover what zones cannot: a problem affecting a whole region (a faulty deployment of a regional service, a control-plane outage, a natural disaster), legal requirements to keep data in a country, and the plain fact that users on another continent are far away.
How it works
Multi-AZ. Stateless instances run in at least two, preferably three, zones behind a regional load balancer, which itself runs in every zone. Health checks eject instances in a failed zone. Managed databases offer a synchronous standby in another zone with automatic failover; distributed databases spread replicas across zones.
Sizing for a zone loss. If one of N zones fails, the other N − 1 must carry peak traffic. Each zone therefore needs peak ÷ (N − 1) of capacity, and the total is peak × N ÷ (N − 1): 200% of peak with two zones, 150% with three, about 133% with four. Three zones is the common sweet spot.
Static stability. During a zone outage everyone in the region tries to launch replacement capacity at once, and the control plane you would use for that may itself be degraded. A statically stable design does not need to change anything to survive: the capacity is already running and the load balancer only has to stop sending traffic to the failed zone.
Multi-region. A global routing layer (DNS-based traffic management, anycast front doors or global load balancers) sends users to a region. Two common shapes: active-passive, where a second region stands by and receives traffic only on failover, and active-active, where every region serves its nearby users all the time. Data crosses regions asynchronously in almost every design, because a synchronous round trip across an ocean would add its latency to every write.
Distance. Light in fibre covers roughly 200 km per millisecond, and real routes are longer than the straight line. A transatlantic round trip is roughly 70–100 ms, Europe to East Asia often 200 ms or more. Every sequential call between regions pays that in full.
When to use it
- Multi-AZ: for anything in production that should survive a data-centre failure. It is cheap relative to the protection it buys and is the default for managed services.
- Multi-region: when the business requires surviving a full regional outage with a short recovery time, when regulations require data to stay in specific places, or when you serve users on several continents and latency matters.
When not to
- Single-zone deployments are acceptable for development, batch jobs that can rerun, and workloads where hours of downtime are tolerable.
- Multi-region active-active is a poor default: it doubles infrastructure, forces you to decide how concurrent writes in different regions are reconciled, and multiplies operational complexity. Many systems are better served by multi-AZ plus a tested disaster-recovery plan.
- Do not stretch a synchronous protocol (a two-phase commit, a synchronous replica, a chatty service call chain) across regions.
Trade-offs
| Choice | You gain | You pay |
|---|---|---|
| Three zones instead of two | Survive a zone loss with 50% headroom instead of 100% | One more zone to deploy to; some services cost more |
| Pre-provisioned capacity (static stability) | Survives outages without depending on scaling | Idle capacity on normal days |
| Cross-zone traffic | Independence from any one zone | Inter-zone data transfer charges, about a millisecond per hop |
| Multi-region active-passive | Survives a regional outage | Standby cost, asynchronous replication (possible data loss), failover drills |
| Multi-region active-active | Low latency worldwide, no cold standby | Write conflicts or partitioned data ownership, highest cost and complexity |
Alternatives
- Single zone with backups: cheap, slow recovery (see disaster recovery).
- Zonal deployments with cell-based architecture: independent copies of the whole stack per zone or per customer group, limiting the blast radius of bad deployments as well as hardware failures.
- Edge platforms and CDNs: move static content and some computation close to users without running full regional stacks.
Failure modes
- Hidden single-zone dependencies: a NAT gateway, a cache cluster or a primary database left in one zone undoes the spreading of everything else.
- Survivors overload: spreading without headroom turns a zone loss into an overload of the remaining zones and possibly a cascading failure.
- Gray failures: a zone that is degraded rather than down (packet loss, slow disks) may pass health checks while hurting latency; zonal shift tools and outlier detection help.
- Failover without data: switching regions while the data layer is not replicated, or replicated with significant lag, either fails or loses recent writes.
- Untested failover: DNS TTLs, client caches, capacity limits and forgotten configuration show up only when you actually fail over.
In production
Deploy every tier across at least two, preferably three zones and verify it: list the resources each zone depends on. Size for a zone loss and keep that headroom when autoscaling (scale on per-zone metrics, set minimums per zone). Keep traffic zone-local where you can to save cost and latency, but never depend on a single zone. Practise zone evacuation. For multi-region, document the RPO and RTO you need, replicate data continuously, keep the global routing TTLs low and run regular failover drills.
Common misconceptions
- "More instances means more availability." Not if they share a failure domain.
- "Autoscaling will replace the lost zone." Possibly slowly, possibly not at all while the region is stressed. Plan capacity that is already running.
- "A region is one data centre." It is a set of independent zones; most outages affect one zone, not the region.
- "Multi-region is always better." It is more resilient to a rare class of failure, at a large and permanent cost in money, latency of replication and complexity.
Interview angle
State the default without being asked: stateless tier across three zones behind a load balancer, database with a standby in another zone, capacity sized so two zones carry peak. Then discuss when you would go multi-region: an availability target beyond what one region offers, data-residency rules, or global users, and what it implies (asynchronous replication, conflict handling or data partitioning by home region, global routing, failover testing). Quantify: "Each zone runs half of peak, so 150% total."
Model assumptions
The simulation is a simplified model, not a benchmark. Each app server has 6 workers, a 60 ms mean service time (lognormal, cv 0.35) and room for 12 waiting requests, about 100 requests per second. Arrivals are random (Poisson). The regional load balancer is one node that stands for a managed balancer running in every zone; it probes every 500 ms (2 failures eject, 2 successes restore). A zone or region outage is every node in it failing at the same instant. The global traffic manager sends all traffic to Region EU while it is healthy (weights 1 : 0), probes every second and ejects after 2 failures. One-way latencies are fixed: users to Region EU 11 ms, to Region US 46 ms, 1 ms inside a region. Data replication is not modelled. Numbers show behaviour and orders of magnitude only.