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?

posta 10 mesi fa275 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta 10 mesi fa
profile pictureAWS
ESPERTO
verificato 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande