Consistent Availability Zones in VPCs

0

hello, I am trying to deploy VPCs across different AWS accounts but I do want to keep the Availability Zones consistent. Which means that use1-az6 named as us-east-1a in AWS account A is created as use1-az6 named as us-east-1a in AWS account B.

I tried implementing this using the template provided by AWS below but the AZs did not stay consistent between the 2 AWS accounts.

https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/use-consistent-availability-zones-in-vpcs-across-different-aws-accounts.html

Has anyone tried implementing this and have it working?

已提问 10 个月前275 查看次数
1 回答
1
已接受的回答

Hi.

That is not how the AZ naming works. You have a AZ ID which is consistent across all AWS accounts, for example use1-az1, this represents the same physical location in every AWS account. Then you have the logical name for example us-east-1a. So when you create consistent AZ across accounts the logical names will be different but the solution you link to will the use the AZ ID to look up the consistent logical AZ.

You can read more in the documentation

profile picture
专家
已回答 10 个月前
profile pictureAWS
专家
已审核 10 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则