List ALL the availability zones!
Have you ever tried to google for a list of AWS Regions or Availability Zones? I do it all the time. I need to figure out which AZs to my ELB should go across, or want to try my new CloudFormation template in a different region to make sure I didn’t hardcode something I shouldn’t have.
Of course, I usually blank out on how many zones each region has, and I always get my directions screwed up so I can never remember if Ireland is eu-west or eu-east (and while it is embarrassing to admit, I had no idea where São Paulo was before I started working with the AWS platform). However, every time I google for a list of AZs, I remember that none of the AWS documentation gives a nice, easy list of all the regions and their availability zones. AWS does add new zones and regions pretty regularly, so a list might go out of date after a few months. Still, I end up looking for these every few days, so I wrote them all out, and then put it on the internet, so hopefully next time I google for “list of availability zones” this page pops up. Maybe it’ll help you too?
If you want to get the latest AZs for each region, I also include a Python script below.
US East (Ohio) us-east-2
- us-east-2a
- us-east-2b
- us-east-2c
US East (N. Virginia) us-east-1
- us-east-1a
- us-east-1b
- us-east-1c
- us-east-1d
- us-east-1e
- us-east-1f
US West (N. California) us-west-1
- us-west-1a
- us-west-1c
US West (Oregon) us-west-2
- us-west-2a
- us-west-2b
- us-west-2c
- us-west-2d
Asia Pacific (Mumbai) ap-south-1
- ap-south-1a
- ap-south-1b
- ap-south-1c
Asia Pacific (Seoul) ap-northeast-2
- ap-northeast-2a
- ap-northeast-2b
- ap-northeast-2c
Asia Pacific (Singapore) ap-southeast-1
- ap-southeast-1a
- ap-southeast-1b
- ap-southeast-1c
Asia Pacific (Sydney) ap-southeast-2
- ap-southeast-2a
- ap-southeast-2b
- ap-southeast-2c
Asia Pacific (Tokyo) ap-northeast-1
- ap-northeast-1a
ap-northeast-1c
ap-northeast-1d
Canada (Central) ca-central-1
- ca-central-1a
- ca-central-1b
Europe (Frankfurt) eu-central-1
- eu-central-1a
- eu-central-1b
- eu-central-1c
Europe (Ireland) eu-west-1
- eu-west-1a
- eu-west-1b
- eu-west-1c
Europe (London) eu-west-2
- eu-west-2a
- eu-west-2b
- eu-west-2c
Europe (Paris) eu-west-3
- eu-west-3a
- eu-west-3b
- eu-west-3c
Europe (Stockholm) eu-north-1
- eu-north-1a
- eu-north-1b
- eu-north-1c
South America (Sao Paulo) sa-east-1
- sa-east-1a
- sa-east-1b
- sa-east-1c
Python Script to Get All Availability Zones
I’ve included a Python script below that shows how to get all the availability zones available to the EC2 service which you can use to obtain the latest AZs for each AWS region.
|
Stelligent Amazon Pollycast
|
