Regions, zones and fault domains
What are regions and availability zones?
A cloud region is a geographical area where a provider offers infrastructure and services. A zone is a deployment area inside a region, designed to separate some infrastructure failures from other zones. An edge location is a network site closer to users, often used to deliver content quickly. These are different location types, not interchangeable names for a server.
Imagine a bookstore whose website runs in two zones of one region. If one zone fails, the other may keep serving requests. This works only if traffic can reach the remaining application, its dependencies are healthy and it has enough capacity. Simply creating two servers does not guarantee availability.
From physical machines to fault domains
A data center houses computing equipment in racks, with power distribution, cooling and network connections. A rack contains multiple machines. The network fabric connects machines and other equipment. Backup power, cooling and redundant links reduce certain failures, but shared equipment can still fail.
A fault domain is a group of components that can be affected by the same failure. Two machines on one power circuit may share a power fault domain. Two zones are designed to separate larger infrastructure failures, but can still share regional or external dependencies. A region can contain several zones; a zone is not necessarily a single building. The exact physical layout and independence guarantees depend on the provider.
Think in terms of what can fail together, rather than counting servers. One region with two zones helps with some zone outages; it does not necessarily survive loss of the region.
Example: follow a bookstore request
Conceptual topology (fictional, not deployed):
User -> traffic distributor (regional service) | | v v Zone A Zone B App A App B | | +------ DB A -----+ (Zone A)Text alternative: the distributor sends a request to either application. Both use a database located only in Zone A. All components belong to fictional Region R. The diagram shows logical request paths, not network permissions or physical wiring.
If App A stops but the database stays healthy, App B can answer if the distributor redirects traffic. If Zone A becomes unavailable, App B may still run, but database-dependent requests fail. A second app copy has not removed the database's single-zone dependency. A better design would require a database service with verified cross-zone recovery, tested failover and enough surviving capacity. Do not assume a second database automatically stays consistent.
Example: check capacity after a failure
Suppose two zones each host an application that can handle 120 requests per second under a fixed test workload. The total normal demand is 180 requests per second. Assume traffic distributes evenly, the database is healthy and the surviving application has the stated capacity.
- Normal capacity: 120 + 120 = 240 requests/s. Demand fits.
- After one zone fails: 120 requests/s remain.
- Capacity shortfall: 180 - 120 = 60 requests/s.
To handle the same demand after either zone fails, each zone needs at least 180 requests/s of effective capacity, or another tested capacity strategy. These numbers are fictional and exclude recovery delay, retries and bottlenecks. They are not a benchmark or availability guarantee.
How provider location scopes differ
| Provider | Location distinction to check |
|---|---|
| AWS | Regions contain availability zones; Local Zones and Wavelength Zones offer distinct extensions with specific capabilities. |
| Microsoft Azure | Many regions offer availability zones; support depends on the service and tier. Region pairing is not universal. |
| Google Cloud | Compute Engine resources have different location scopes: for example, a VM is zonal, whereas certain IP addresses are regional. |
A resource's scope describes where it belongs or can be used, not necessarily every place its data resides. A global interface does not guarantee global data replication. Verify the exact resource type, edition and redundancy settings before drawing a production diagram. Sources: official AWS infrastructure, Azure reliability and Google Cloud Compute Engine documentation (see source register).
Edge locations and the origin
A content delivery network (CDN) can store a reusable copy of content at a network site called a point of presence (PoP). The origin is the authoritative backend from which that content is obtained. For a cacheable image, a cache hit can avoid a trip to the origin; a miss may need to retrieve the image through another cache or the origin. A payment request usually requires application processing and cannot be treated like a public image.
An edge site is not automatically a general-purpose cloud region or an availability zone. Some products offer edge computing or local cloud extensions, but their APIs and supported workloads differ. Do not assume cached content is a backup or cache private responses without an explicit safe policy.
Common mistakes and practice
- Confusing two VMs with two zones: inspect their placement and shared dependencies.
- Assuming multi-zone means multi-region: label the outer regional boundary.
- Assuming availability means durability: availability concerns access to a service; durability concerns retaining data. Backups and recovery matter even with redundant infrastructure.
- Assuming an edge cache makes all backend requests fast: identify cache misses and dynamic requests.
Practice: draw two apps in different zones with a shared database. Mark which requests still work when each zone fails. Use the chapter's manual failure exercise to check your answer. Next, choose a region using real requirements rather than simply choosing the nearest location.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Regions, zones and fault domains — knowledge check
Choose the best answer for each fictional scenario.
Two applications in different zones both depend on one database in Zone A. Zone A fails. What follows?
Two zones each handle 100 requests/s. Demand is 150 requests/s. One zone fails. What is the remaining capacity shortfall?
What is a fault domain?
A CDN serves a cached public image from an edge site. What does this prove?
Which distinction is correct?