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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ