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
More on Global Infrastructure and IAM Basics
What is the difference between a Region, an Availability Zone and an edge location?BeginnerHow do you choose a Region for a workload?BeginnerExplain the shared responsibility model.BeginnerWhat is the root user and how should you treat it?BeginnerWhat is the difference between an IAM user, group and role?BeginnerWhat are the main IAM policy types?Intermediate