Skip to content

Instantly share code, notes, and snippets.

@colinvh
Last active February 22, 2026 21:35
Show Gist options
  • Select an option

  • Save colinvh/14e4b7fb6b66c29f79d3 to your computer and use it in GitHub Desktop.

Select an option

Save colinvh/14e4b7fb6b66c29f79d3 to your computer and use it in GitHub Desktop.
AWS Region Names

Alternative naming schemes for AWS regions

Purpose

The intent is to define terse, standards-supported names for AWS regions.

Schemes

AWS Name Launched AWS Code A1 A2 A3
US East (N. Virginia) 2006 us-east-1 usea1 usea us
US West (N. California) 2011 us-west-1 uswe1 uswe uswe
US West (Oregon) 2009 us-west-2 uswe2 uswe2 uswe2
EU (Ireland) 2007 eu-west-1 euwe1 euwe eu
EU (Frankfurt) 2014 eu-central-1 euce1 euce euce
Asia Pacific (Singapore) 2010 ap-southeast-1 apse1 apse ap
Asia Pacific (Sydney) 2012 ap-southeast-2 apse2 apse2 apse2
Asia Pacific (Tokyo) 2011 ap-northeast-1 apne1 apne apne
South America (Saõ Paulo) 2011 sa-east-1 saea1 saea sa
China (Beijing) 2013 cn-north-1 cnno1 cnno cn
AWS Code B1 B2 C1 C2
us-east-1 us-va usva us us
us-west-1 us-ca usca us-ca usca
us-west-2 us-or usor us-or usor
eu-west-1 ie-d ied ie ie
eu-central-1 de-he dehe de de
ap-southeast-1 sg sg sg sg
ap-southeast-2 au-nsw aunsw au au
ap-northeast-1 jp-13 jp13 jp jp
sa-east-1 br-sp brsp br br
cn-north-1 cn-11 cn11 cn cn
Code Description
A1 Abbreviated AWS Code
A2 Abbreviated AWS Code with implied ones
A3 Minimum-prefix abbreviated AWS Code
B1 ISO 3166 code
B2 ISO 3166 code, concatenated
C1 Minimum-prefix ISO 3166 code
C2 Minimum-prefix ISO 3166 code, concatenated
@adv4000
Copy link

adv4000 commented Jun 28, 2018

Add second China Region:

Region : China
Location: Ningxia
AWS Code: cn-northwest-1 
Launched: 2017

@YakDriver
Copy link

If you need instance types by region: https://github.com/YakDriver/aws-ec2-instance-types

@0xknon
Copy link

0xknon commented Jan 1, 2021

May I ask why A2 of ca-central-1 is cac1 but eu-west-1 is ew1? I thought it would be euw1.

@lorayin
Copy link

lorayin commented Jan 27, 2021

AWS name is euw1, not ew1. FYI.
Europe (Ireland) | eu-west-1 | euw1-az1, euw1-az2, euw1-az3
https://docs.aws.amazon.com/workspaces/latest/adminguide/azs-workspaces.html

@rackerbenoit
Copy link

rackerbenoit commented Jan 27, 2021

"A" is equivalent to A2 in the chart above. I fixed the codes as noted in the comments. I also added new regions for 2018, 2019, 2020.

Region Location Partition Launched AWS code A
US East N. Virginia aws 2006 us-east-1 use1
US East Ohio aws 2016 us-east-2 use2
US West N. California aws 2011 us-west-1 usw1
US West Oregon aws 2009 us-west-2 usw2
GovCloud US Northwest aws-us-gov 2011 us-gov-west-1 usgw1
GovCloud US East. aws-us-gov 2019 us-gov-east-1 usge1
Canada Montreal aws 2016 ca-central-1 cac1
EU Ireland aws 2007 eu-west-1 euw1
EU London aws 2016 eu-west-2 euw2
EU Paris aws 2014 eu-west-3 euw3
EU Frankfurt aws 2014 eu-central-1 euc1
EU Milan aws 2020 eu-south-1 eus1
EU Stockholm aws 2018 eu-north-1 eun1
Asia Pacific Singapore aws 2010 ap-southeast-1 apse1
Asia Pacific Sydney aws 2012 ap-southeast-2 apse2
Asia Pacific Mumbai aws 2016 ap-south-1 aps1
Asia Pacific Tokyo aws 2011 ap-northeast-1 apne1
Asia Pacific Seoul aws 2016 ap-northeast-2 apne2
Asia Pacific Hong Kong aws 2019 ap-east-1 ape1
South America Saõ Paulo aws 2011 sa-east-1 sae1
Africa Cape Town aws 2020 af-south-1 afs1
China Beijing aws-cn 2013 cn-north-1 cnn1

@vainkop
Copy link

vainkop commented Feb 16, 2021

Imo ase looks better than apse. There's no Asia without Pacific right?

@Nuru
Copy link

Nuru commented Sep 26, 2022

See also https://github.com/cloudposse/terraform-aws-utils/blob/master/main.tf for implementation of abbreviations via Terraform.

@lionello
Copy link

lionello commented Nov 22, 2022

amazon uses cnn1 for cn-north-1, not cn1, see https://docs.aws.amazon.com/AmazonECS/latest/userguide/AWS_Fargate-Regions.html (and euc1, etc. not ec1, as mentioned by @rackerbenoit )

@adv4000
Copy link

adv4000 commented Nov 22, 2022

amazon uses cnn1 for cn-north-1, not cn1, see https://docs.aws.amazon.com/AmazonECS/latest/userguide/AWS_Fargate-Regions.html (and euc1, etc. not ec1, as mentioned by @rackerbenoit )

You wrong, use Region code, not Zone code https://awsregion.info/

@lionello
Copy link

@adv4000 I was just referring to that page that I linked to (on amazon.com, not 3rd party) where you can see that AWS uses cnn1 as an abbreviation for cn-north-1. Not sure why you think that's wrong? I understand the difference between region codes and Zone codes, but wouldn't it make sense to use a single abbreviation for both, eg. cnn1 for the region and cnn1-az1 for the zone?

@cfinch
Copy link

cfinch commented Oct 27, 2023

In cost (CUR reports, Amazon uses an alternative set of abbreviations for regions: https://docs.aws.amazon.com/AmazonS3/latest/userguide/aws-usage-report-understand.html
Would it be useful to add a column with Amazon's abbreviations to this table?

@rackerbenoit
Copy link

amazon uses cnn1 for cn-north-1, not cn1, see https://docs.aws.amazon.com/AmazonECS/latest/userguide/AWS_Fargate-Regions.html (and euc1, etc. not ec1, as mentioned by @rackerbenoit )

Edited

@ITler
Copy link

ITler commented Jan 15, 2026

How about new UAE region?

@0mnius
Copy link

0mnius commented Jan 15, 2026

How about new UAE region?

pls check my fork for now i keep it updated, the original one and other forks unfortunately are not maintained anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment