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?

preguntada hace 10 meses275 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 10 meses
profile pictureAWS
EXPERTO
revisado hace 10 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas