Interview Prep/AWS/Global Infrastructure and IAM Basics

What is the difference between an AZ name like `us-east-1a` and an AZ ID like `use1-az1`?

IntermediateConceptGlobal Infrastructure and IAM Basics
Answer

AZ names are mapped to physical zones per account, randomly, to spread load. Your us-east-1a may be a different physical zone than another account's us-east-1a. The AZ ID (use1-az1) is the same physical zone for everyone.

This matters for cross-account setups: PrivateLink endpoint services, shared subnets via RAM and latency-sensitive pairs must match on AZ ID, not name.

aws ec2 describe-availability-zones --region us-east-1 \
  --query 'AvailabilityZones[].[ZoneName,ZoneId]' --output table
aws All AWS questions Roadmap: AWS core services

More on Global Infrastructure and IAM Basics