ec2-describe-availability-zones

ec2-describe-availability-zones [zone-name...]

Describes availability zones that are currently available to the account and their states.

[Note]Note

Availability zones are not the same across accounts. The availability zone us-east-1a for account A is not necessarily the same as us-east-1a for account B. Zone assignments are mapped independently for each account.

OptionDescriptionRequired

zone-name

Name of an availability zone.

Example: us-east-1a

No

Amazon EC2 returns a table that contains the following information:

Amazon EC2 displays errors on stderr.

This example displays the availability zones that are available to the account.

$ ec2-describe-availability-zones
AVAILABILITYZONE	us-east-1a   available
AVAILABILITYZONE	us-east-1b   available
AVAILABILITYZONE	us-east-1c   available