Google Cloud Tutorial · Google Cloud Basics · Lesson 3 of 27
Regions, Zones and Resource Scope
Regions and zones, and why some Google Cloud resources are zonal, some regional and some global.
Regions and zones
A region is a geographic location such as europe-west1 (Belgium) or us-central1 (Iowa). Each region has
three or more zones (europe-west1-b, -c, -d), isolated failure domains within the region.
Resource scope
Google Cloud resources have a scope, which decides what a zone or region outage affects:
| Scope | Examples |
|---|---|
| Zonal | a VM, a zonal persistent disk, a zonal GKE cluster |
| Regional | a subnet, a regional managed instance group, a Cloud Run service, a regional GKE cluster, Cloud SQL HA |
| Multi-regional / dual-region | Cloud Storage buckets, BigQuery datasets, Spanner multi-region configs |
| Global | a VPC network, firewall rules, global load balancers, images, IAM |
A single VM in one zone goes down with that zone. A regional managed instance group or a regional GKE cluster spreads across zones automatically.
resources = {
"web-vm-1": ("zonal", "europe-west1-b"),
"orders-mig": ("regional", "europe-west1"),
"orders-api (Cloud Run)": ("regional", "europe-west1"),
"orders-db (Cloud SQL HA)": ("regional", "europe-west1"),
"assets bucket": ("multi-regional", "EU"),
"acme-vpc": ("global", "global"),
}
outage = "europe-west1-b"
for name, (scope, where) in resources.items():
down = scope == "zonal" and where == outage
status = "DOWN" if down else "keeps running" if scope != "zonal" else "unaffected"
print(f"{name:26} {scope:15} {status}")
Output
web-vm-1 zonal DOWN orders-mig regional keeps running orders-api (Cloud Run) regional keeps running orders-db (Cloud SQL HA) regional keeps running assets bucket multi-regional keeps running acme-vpc global keeps running
Choosing a region
Pick regions for latency to users, data residency rules, price (it differs between regions) and service availability. Some regions have a lower carbon footprint, which Google publishes per region.
Test yourself
Which of these is a global resource in Google Cloud?
A VMA subnetA VPC networkA zonal persistent disk
Show answer
Answer: A VPC network
VPC networks are global; their subnets are regional.