How can I map Availability Zones across my accounts?

Last updated: 2021-11-17

An Availability Zone in my account doesn't map to the same location as an Availability Zone with the same name in a different account. I want to coordinate the distribution of my resources to the Availability Zones across my accounts to confirm fault tolerance, improve performance, or optimize costs. How can I map Availability Zones across accounts?


Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you’re using the most recent AWS CLI version.

Availability Zone names don't map to the same location across accounts. However, you can use Availability Zone IDs (AZ IDs) to map Availability Zones across accounts:

  1. Open the AWS Resource Access Manager console.
  2. In the navigation bar, select your Region from the Region Selector.
  3. In the Your AZ ID pane on the right, review the list of Availability Zone names and their corresponding AZ IDs.
    Note: You can also use the aws ec2 describe-availability-zones --region "region-name" command in the AWS CLI to generate AZ ID information. Be sure to replace "region-name" with the name of your AWS Region.
  4. Identify which Availability Zones have the same AZ IDs across your accounts. Availability Zones that have the same AZ IDs map to the same physical location.

You can gain better insight into your resources by using the information from performing the previous steps. Then, you can make informed decisions on things such as:

Did this article help?

Do you need billing or technical support?