Name

ec2-describe-availability-zones

Synopsis

ec2-describe-availability-zones [zone1 [...zoneN]]

Lists the information associated with the specified EC2 availability zones. If no zone is specified, it will list all zones associated with the current EC2 region.

Examples

# SHOW ALL ALLOCATED
$ ec2-describe-availability-zones
AVAILABILITYZONE    us-east-1a  available
AVAILABILITYZONE    us-east-1b  available
AVAILABILITYZONE    us-east-1c  available

# SHOW A SPECIFIC ZONE
$ ec2-describe-availabilty-zones us-east-1a
AVAILABILITYZONE    us-east-1a  available

# SHOW ALL EU ZONES
$ ec2-describe-availability-zones --region eu-west-1
AVAILABILITYZONE    eu-west-1a  available
AVAILABILITYZONE    eu-west-1b  available

Get Cloud Application Architectures now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.