Regions, Availability Zones and edge locations

How AWS lays out its estate — Availability Zones inside Regions, plus a far larger tier of edge locations — and which failure each layer actually protects you from, including the one that needs an explicit copy.

Lesson 2 of 11 in objective 3. Cloud technology and services, part of AWS Certified Cloud Practitioner (CLF-C02).

Three tiers of the global infrastructure, and what each one buys. Availability Zone — What it is: One or more data centres with their own power, cooling and network; What it buys you: Survives losing a building; What you put there: Instances, volumes, subnets. Region — What it is: A group of zones joined by fast private links; What it buys you: Survives losing a zone; What you put there: Everything you deploy — one Region at a time. Edge location — What it is: A small site in a city, and there are hundreds; What it buys you: Cuts the distance to the viewer; What you put there: Cached objects and DNS answers, never instances Availability Zone Region Edge location What it is One or more data centres with their own power, cooling and network A group of zones joined by fast private links A small site in a city, and there are hundreds What it buys you Survives losing a building Survives losing a zone Cuts the distance to the viewer What you put there Instances, volumes, subnets Everything you deploy — one Region at a time Cached objects and DNS answers, never instances
Three tiers of the global infrastructure, and what each one buys.

Zones fail independently, and that is the entire design

An Availability Zone is one or more discrete data centres with independent power, cooling and physical security, linked to the other zones in its Region by connections fast enough that you can treat them as one deployment. Those two properties together are why "run it in at least two zones, behind a load balancer" is the standard unit of high availability: the zones do not fail together, and the link between them is quick enough that spreading a single application across them is not a compromise.

The distractors offered against this are all real improvements to something else, which is what makes them work. More frequent snapshots protect the DATA and shorten how much work you lose; they do not keep the application answering, because restoring is an outage of its own. A larger instance adds capacity; it is still one instance in one zone. A content delivery network keeps cached assets alive for a while; every request that has to reach the application still arrives at the failed zone. Capacity, durability and availability are three different problems.

Choosing a Region: a filter, then three trade-offs

Four things decide where a workload goes, and the exam cares about the ORDER as much as the list. Compliance and data governance come first and behave differently from the rest: they are a hard constraint that removes Regions from consideration entirely. Your data stays in the Region you chose unless you deliberately move or replicate it, which is exactly what makes the choice of Region the control a regulator is asking about.

The remaining three are genuine trade-offs among whatever survives the filter: how close the Region is to the users or systems it serves, whether it offers every service the workload needs, and what it costs. A question that offers "the cheapest Region" or "the Region with the most Availability Zones" against a stated legal requirement is testing whether you know that one of the four is not a trade-off at all.

The order the questions come in when a Region is being chosen. From Asked first — a filter to Asked last — a trade-off: Compliance and data sovereignty (a Region in the wrong jurisdiction is not a cheaper option, it is not an option), then Proximity to the people and systems served (latency), then Whether the Region offers the services needed (not everything launches everywhere at once), then Price (the same instance costs different amounts in different Regions). Asked first — a filter Compliance and data sovereignty a Region in the wrong jurisdiction is not a cheaper option, it is not an option Proximity to the people and systems served latency Whether the Region offers the services needed not everything launches everywhere at once Price the same instance costs different amounts in different Regions Asked last — a trade-off
The order the questions come in when a Region is being chosen.

The edge is a different tier, not a smaller Region

Edge locations are far more numerous than Regions and far thinner: they exist to cache content with Amazon CloudFront, to answer DNS queries with Amazon Route 53, and to take traffic onto the AWS network early with AWS Global Accelerator. You do not launch instances or create volumes in one. When the same file is served to viewers on several continents, the second and subsequent requests in a city being answered from that city is the standard fix, and it beats copying the bucket into several Regions and routing people yourself.

Two related tiers are worth recognising so they can be told apart from edge caching. AWS Local Zones place compute and storage close to one specific metropolitan area, for an application that needs single-digit millisecond latency to users in that city. AWS Wavelength does the same thing inside mobile operators' networks. Both run your workload; an edge location caches somebody's response to it.

Nothing leaves a Region by itself

Almost everything you create is scoped to a Region: buckets, EBS volumes, snapshots, AMIs, VPCs, most service endpoints. Nothing crosses a Region boundary unless you deliberately copy it — an S3 Cross-Region Replication rule, a snapshot copy, an AMI copy, a cross-Region read replica. This single fact is behind most disaster-recovery questions, and the version of it people get wrong is that BACKUPS are Regional too: an event that takes out the Region takes the volumes and their snapshots with it.

Surviving the loss of a Region therefore takes two things, and a question will usually offer only one of them. Somewhere else to serve from — a stack deployed in a second Region — and something that notices the failure and redirects users to it, which is normally Route 53 health checks moving traffic at the DNS layer. Adding a fourth Availability Zone in the same Region is a real improvement to a different risk, which is why it is such a good distractor.

Worth carrying in

Region
A geographic area holding several Availability Zones. Almost every resource belongs to exactly one.
Availability Zone
Discrete data centres with their own power and cooling, linked at low latency to the other zones.
Edge location
A caching and DNS site, hundreds of them. No instances, no volumes.
Amazon CloudFront
The content delivery network. Caches at the edge, close to viewers.
AWS Local Zones
Compute and storage placed near one metropolitan area for latency-sensitive applications.
AWS Wavelength
The same idea inside mobile operator networks.
S3 Cross-Region Replication
Copies objects into a bucket in another Region as they are written.
Route 53 health check
What makes DNS failover automatic: stop handing out an endpoint that has stopped answering.
Multi-AZ
Running in at least two Availability Zones. The standard answer to a data-centre event.

What the exam does with this

Objective
3. Cloud technology and services
Share of the exam
34% (the whole objective)
Questions in this lesson
4
Signed for by a person
0

Partly checked. None of the 4 questions here has been read against the cited source by a person. 4 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.

Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.

Questions in this lesson

Drill this lesson

A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.

Practise Regions, Availability Zones and edge locations

The rest of objective 3