Regions, Zones and Locations
All three clouds use the same failure model: regions far apart, each with several zones close together but with independent power, cooling and networking. The names, the numbering and a few rules differ.
On AWS this is… Regions such as
eu-west-1and Availability Zones such aseu-west-1a, from AWS Global Infrastructure.
Side by side
| AWS | Azure | Google Cloud | |
|---|---|---|---|
| Region name | eu-west-1 (Ireland) |
westeurope (Netherlands), northeurope (Ireland), swedencentral |
europe-west1 (Belgium), europe-west4 (Netherlands) |
| Zone name | eu-west-1a, eu-west-1b |
zone 1, 2, 3 inside a region |
europe-west1-b, europe-west1-c, europe-west1-d |
| Zones per region | usually 3 or more | 3 in regions with zone support; some regions have none | usually 3 |
| Zone letters mapped per customer? | yes (use AZ IDs like euw1-az1) |
yes: logical zone 1 may be a different datacentre in another subscription |
no |
| Region pairing | none built in | many regions have a paired region used for platform updates and some geo-redundant services | none; "dual-region" and "multi-region" are storage and database locations |
| Edge sites | CloudFront PoPs, Local Zones | Front Door PoPs, Azure Extended Zones | Cloud CDN PoPs, Google's edge network |
Note the naming traps:
- Azure's
westeuropeis in the Netherlands andnortheuropeis in Ireland. AWS'seu-west-1is Ireland. Don't map regions by name; map them by city and by latency to your users. - Google's zone letters don't always start at
a:europe-west1has zonesb,candd. - Some Azure regions don't support availability zones at all. Check before you design a zone-redundant deployment there.
Zonal, zone-redundant, regional, global
The three clouds use different words for "how far does this resource stretch?":
| Scope | AWS words | Azure words | Google Cloud words |
|---|---|---|---|
| One zone | "in an AZ" | zonal (pinned to zone 1) | zonal |
| Several zones of a region, automatically | Multi-AZ | zone-redundant (ZRS storage, zone-redundant load balancer) | regional (regional disk, regional MIG, regional cluster) |
| A region, zone placement unspecified | — | regional / non-zonal ("no zone"): Azure picks, no zone guarantee | — |
| Many regions | global services, cross-region replication | geo-redundant (GRS), global (Front Door) | multi-region, global |
The Azure "regional, no zone" case is the surprise: a VM created without a zone has no promise about which zone it lands in, so two such VMs could share a zone. For high availability, pin VMs to zones explicitly or use a zone-spanning scale set.
Model: are my replicas really spread?
A quick check for the "two VMs in the same zone" mistake. Each replica records the zone it actually landed in (None = Azure regional, no zone):
def zone_report(name, replicas):
zones = [z for z in replicas.values()]
pinned = [z for z in zones if z is not None]
distinct = len(set(pinned))
unknown = zones.count(None)
survives = distinct >= 2 and unknown == 0
print(f"{name:<22} zones={sorted(set(pinned)) or '-'} unpinned={unknown} "
f"survives one zone outage: {'yes' if survives else 'not guaranteed'}")
zone_report("aws asg", {"i-1": "eu-west-1a", "i-2": "eu-west-1b", "i-3": "eu-west-1c"})
zone_report("azure vms (pinned)", {"vm-1": "1", "vm-2": "2"})
zone_report("azure vms (no zone)", {"vm-1": None, "vm-2": None})
zone_report("gcp zonal mig", {"web-a1": "europe-west1-b", "web-a2": "europe-west1-b"})
zone_report("gcp regional mig", {"web-1": "europe-west1-b", "web-2": "europe-west1-c",
"web-3": "europe-west1-d"})aws asg zones=['eu-west-1a', 'eu-west-1b', 'eu-west-1c'] unpinned=0 survives one zone outage: yes
azure vms (pinned) zones=['1', '2'] unpinned=0 survives one zone outage: yes
azure vms (no zone) zones=- unpinned=2 survives one zone outage: not guaranteed
gcp zonal mig zones=['europe-west1-b'] unpinned=0 survives one zone outage: not guaranteed
gcp regional mig zones=['europe-west1-b', 'europe-west1-c', 'europe-west1-d'] unpinned=0 survives one zone outage: yes
Listing regions and zones
Sample sessions (output trimmed and illustrative):
az account list-locations --query "[?metadata.regionType=='Physical'].{name:name, city:metadata.physicalLocation}" -o table
gcloud compute regions list --filter="name~^europe" --format="table(name,status)"
gcloud compute zones list --filter="region:europe-west1" --format="value(name)"Name City
---------------- ----------
westeurope Netherlands
northeurope Ireland
swedencentral Gävle
...
NAME STATUS
europe-north1 UP
europe-west1 UP
europe-west4 UP
...
europe-west1-b
europe-west1-c
europe-west1-dChoosing a region
The criteria from the AWS course still apply: data residency, latency to users, which services and VM sizes the region offers, and price (which differs by region on all three clouds). Two extra checks:
- Azure: does the region support availability zones, and what is its paired region (used for geo-redundant storage replication)?
- Google Cloud: do the services you need exist there (some products launch in a subset of regions), and do you want a dual-region or multi-region location for storage?
Test yourself
Which Azure region is in Ireland?
- westeurope
- northeurope
- irelandcentral
- eu-west-1
You create two Azure VMs without specifying a zone. What do you know about their placement?
- They are in different zones
- They are in zone 1
- Nothing: they could share a zone
- They are in the paired region
In Google Cloud, a resource that spreads across several zones of one region is usually called…
- zonal
- regional
- global
- multi-AZ