How can I map Availability Zones across my accounts?
Last updated: 2019-07-23
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 right Availability Zones across my accounts to confirm fault tolerance, improve performance, or optimize costs. How can I map Availability Zones across accounts?
Availability Zone names don't map to the same location across accounts. However, you can use AZ IDs to map Availability Zones across accounts:
- Open the AWS Resource Access Manager console.
- In the navigation bar, select your Region from the Region Selector.
- 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-name command in the AWS Command Line Interface (AWS CLI) to generate AZ ID information. Be sure to replace region-name with the name of your AWS Region.
- 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.
Using the information from performing the previous steps, you can gain better insight into your resources. You can then make informed decisions on things such as: