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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南