Lesson 1 of 2 AWS Global Infrastructure

Understanding Regions, Availability Zones and Edge Locations

This lesson explains the AWS global infrastructure, the foundation for availability, performance and compliance, and the difference between Regions, Availability Zones and edge locations.

Learning outcomes

After completing this lesson, you will be able to:

  • Distinguish Regions, Availability Zones and edge locations.
  • Identify the four factors that decide the choice of a Region.
  • Explain when a workload should span several Availability Zones and when it should span several Regions.

The building blocks

The AWS global infrastructure is built from three kinds of location. A Region is a geographic area, such as Europe (Frankfurt), that contains at least three Availability Zones. Regions are isolated from one another, and data stays in the Region where you put it unless you move it, which matters for data sovereignty laws.

An Availability Zone (AZ) is one or more data centres with their own power, cooling and networking, located miles away from the other AZs in the Region but connected to them by fast, low-latency links. Running an application in several AZs keeps it available if one AZ fails. Edge locations, also called points of presence, are far more numerous sites close to users, used by CloudFront to cache content and by Route 53, AWS WAF, AWS Shield and Global Accelerator. The following table summarises the three components.

ComponentWhat it isUsed for
RegionA physical location, such as Europe (Frankfurt), containing at least three isolated Availability Zones; data stays in a Region unless you move itDisaster recovery, global users, data sovereignty
Availability Zone (AZ)One or more data centres with redundant power and networking, miles apart from other AZs but linked by low-latency connectionsHigh availability
Edge location (point of presence)Many more sites worldwideCloudFront caching, Route 53, WAF, Shield, Global Accelerator

The following diagram shows a Region, its Availability Zones and edge locations.

The building blocks of the AWS global infrastructure. A Region is a geographic area with at least three Availability Zones; data stays in the Region unless you move it. Each Availability Zone is one or more data centres with their own power, cooling and networking, miles from the others but linked by low-latency connections, so an application in several AZs survives the loss of one. Edge locations, far more numerous, sit close to users for CloudFront, Route 53, AWS WAF, AWS Shield and Global Accelerator.
Multiple AZs give high availability; edge locations bring content close to users.
True or false

Infrastructure facts

Exam skills 3.2.1 · 3.2.3

Check the facts about Regions, Availability Zones and edge locations.

Log in to try this activity Interactive activities are free with an account.

Choosing a Region

Choosing a Region is one of the first decisions for any workload, and four factors decide it. Compliance and data residency come first: if the law requires data to stay in a country, only Regions in that country are possible. Proximity to customers matters because a nearby Region gives lower latency and a faster experience. Service availability matters because not every service or feature is offered in every Region. Pricing varies between Regions, so the same workload can cost more in one than another. Exam questions usually make one of these factors decisive. The following table summarises them.

FactorWhy it matters
Compliance and data residencyLaws may require data to stay in a country
Proximity to customersCloser means lower latency
Service availabilityNot every service or feature is in every Region
PricingCosts differ between Regions
Scenario questions

Choosing a Region

Exam skills 3.2.4 · 2.2.2

Identify which Region selection factor decides each case.

Log in to try this activity Interactive activities are free with an account.

Multiple AZs versus multiple Regions

Spreading a workload across locations protects it from failure, and the scope depends on the event it must survive. Deploying across several Availability Zones in one Region gives high availability: if a fire, flood or power failure affects one AZ, the others keep the application running. This is the standard design for production workloads.

Deploying across several Regions protects against a much rarer event that affects a whole Region, which is disaster recovery. It is also how an application serves users worldwide with low latency and meets data sovereignty rules in several countries, but it costs more and is more complex. The following table summarises the difference.

Deploy acrossTo achieve
Several Availability ZonesHigh availability: survive a fire, flood or power failure in one AZ
Several RegionsDisaster recovery from an event affecting a whole Region; low latency worldwide; data sovereignty in several countries
Sort into groups

Several AZs or several Regions?

Exam skills 3.2.2 · 3.2.3 · 3.2.4

Decide whether each requirement needs several Availability Zones or several Regions.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing where to deploy

A German online bank must keep customer data in the EU, serves customers mostly in Germany, and cannot be offline if a data centre fails. Working through the four Region factors:

FactorDecision
ComplianceEU data rules point to an EU Region
ProximityMost customers are in Germany, so Europe (Frankfurt) gives the lowest latency
Service availabilityEvery service the bank needs is available in Frankfurt
PriceAcceptable; a cheaper Region outside the EU is ruled out by compliance anyway

Inside the Frankfurt Region, the bank runs its application in three Availability Zones, so a fire or power failure in one data centre does not stop the service (high availability). It keeps backups in a second EU Region in case the whole Region is affected (disaster recovery). CloudFront edge locations deliver the website's images quickly to customers travelling abroad.

Check yourself

What is an Availability Zone?

Show answer

One or more separate data centres with their own power and networking in a Region, isolated from the other zones so that a failure in one does not affect the others.

Exam Tips

Remember for the exam

  • The four factors for choosing a Region are compliance, proximity (latency), service availability and price.
  • For high availability, deploy across multiple Availability Zones.
  • For disaster recovery from an event affecting a whole Region, use multiple Regions.
  • Each Region has at least three Availability Zones.
  • CloudFront caches content at edge locations.