Regions, Availability Zones, Edge Locations and Data Centers, oh my!

When beginning with AWS, the concepts of Regions, Availability Zones (AZs), Data Centers and Edge Locations can be a little confusing. Let’s review some facts that will help clarify what these things are and the relationship among them.

For the moment, let’s remove Edge Locations from consideration. The intent of an Edge Location differs slightly from Regions, AZs and Data Centers. This is an important distinction.

Regions

  • An AWS Region is the largest unit.
  • A Region is a geographic location in the world. As of this writing (July 2017), there are sixteen Regions across the globe with 44 AZs. (Update February 2018 – seventeen Regions.)
  • A Region consists of two or more Availability Zones (AZs). For example, São Paulo, a Region, has 3 Availability Zones.
  • For many people, GovCloud (US) and Beijing (China) are Regions but are not available, reducing their available Regions to fifteen.
  • You can see available regions from the CLI by typing the command below. Note that you may not see GovCloud or Beijing in your list!
aws ec2 describe-regions

Availability Zones

  • An Availability Zone consists of one or more discrete data centers.
  • A fascinating aspect is that the AZs in a given Region have different risk profiles.
  • AZs within a Region have low latency connections.
  • As we saw above with Regions, you can view a list of Availability Zones using the CLI.
aws ec2 describe-availability-zones --region eu-west-2

Data Centers

  • A Data Center is the smallest unit of consideration among the three (Regions, Availability Zones, and Data Centers.) An important distinction is that the discrete data centers may not necessarily be spread by great distance physically, but will have completely separate power, etc.
  • According to the 2014 article, Amazon AWS Regions vs Availability Zones vs Edge locations vs Data centers, “a data center typically has 50,000 to 80,000 physical servers”.

Edge Locations

There will be many more Edge Locations. For example, Chicago hosts Edge Locations, but not a Data Center. The primary purpose of an Edge Location is twofold:

  • CDN or Content Delivery Network for cached content via CloudFront
  • DNS via Route 53

 

Featured Image Photo by chuttersnap on Unsplash

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s