Zones Isolate Hardware Failures, Regions Isolate Disasters

Cloud

Cloud providers group data centres into regions (a geographic area such as London or Belgium) made of several zones (isolated deployment areas inside the region). Where a workload runs decides which failures it survives: one zone survives nothing beyond a server failure, several zones survive a data-centre outage, several regions survive the loss of a whole area. Each step up costs more and adds complexity, so the choice follows what an outage would cost.

What Each Level Protects Against

Placement Survives Typical cost
One zone a failed host (the provider reschedules VMs) lowest
Several zones in one region the loss of one zone's power, cooling or network moderate: replicas plus cross-zone traffic
Several regions a regional disaster (flood, earthquake, a region-wide outage) highest: duplicate stacks, cross-region replication and latency

Zones in a region are close enough for low-latency synchronous replication and far enough apart, with separate power, cooling and network, that one incident shouldn't take down two. Google Cloud names them after the region (europe-west2-a, europe-west2-b in europe-west2).

Multi-region storage goes further: data is kept in at least two places far apart (Google Cloud's course gives a minimum of 160 km for its multi-region locations), so one regional disaster cannot destroy every copy.

Reliability Is Built, Not Bought

High reliability in the cloud comes from three things the customer configures:

  • Redundancy: copies of the workload in more than one zone or region.
  • Failover: health checks and routing that move traffic away from a failed instance automatically.
  • Replication: data copied to other sites, so a failure loses nothing (or only an agreed amount).

Region choice is also a latency and compliance decision: placing data near users shortens round trips, and some data must stay in a given country.

References

Review cards

Flashcard What does spreading a workload across several zones of one region protect against?

The loss of one zone's power, cooling or network: a data-centre outage. It doesn't survive a regional disaster; that takes several regions.

Flashcard What would happen if a regional disaster occurs in a multi-region setup?

In a multi-region setup, data is kept in at least two places far apart, so a regional disaster cannot destroy every copy, ensuring that the data remains available even if one region is affected.

Flashcard Why can an app deployed 'in europe-west2' still go down with a single zone?

A VM lives in one zone. Unless instances are spread across zones behind a load balancer and the database replicates regionally, the app depends on that zone.