Regions and Availability Zones
Level 3 · Where it runs
Where in the world a cloud server runs. How a region splits into zones with their own power, and why spreading copies across zones keeps a site up.
Course contentsLesson 8 of 11
Level 1 · Virtual machines
Level 2 · The cloud
Level 3 · Where it runs
Level 4 · Running and paying
After this lesson you can
- Tell a region from an availability zone
- Pick a region for your users
- Spread a service across zones
10 mincovers 2 glossary entries
Worth reading first: Cloud Computing Basics
Pick a city, then spread across its zones
A cloud region is a place in the world, like Frankfurt or Singapore, where a provider runs a group of data centres. Each region is split into zones. A zone is a separate data centre with its own power and network, a few kilometres from the others. Most regions have three zones.
The two answer different questions. The region decides how close you are to your users and which country's rules apply. The zones decide whether one fire or power cut can take you down.
Pick the region near your users first. Each request travels there and back, so a server in Sydney is slow for a reader in London. Prices differ by region too, sometimes by a fifth or more.
Then check the law. Some data must stay in a country or in the EU. Choosing a region in that place is how you meet that rule, at least for where the data sits.
Zones are close enough to be joined by fast private links. They are far enough apart that one flood or power cut does not hit two. A service with a copy in each of two zones keeps running when one zone goes dark.
Spreading across zones costs a little more. Data sent between zones is often billed, and you pay for the extra copies. For anything people rely on, it is the cheapest way to stay up.
The mistake is to run all of it in one zone because that is the default. Whole zones do go down now and then. When yours does, every copy of your app goes with it, however many you had.
Worked example
The words for this lesson2
Check yourself
Why run copies of a site in two zones, not just one?
Finished this lesson?
Marking it complete also marks its 2 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.