ec2-describe-availability-zones
Syntax
ec2-describe-availability-zones [
zone-name
...]
Description
Describes Availability Zones that are currently available to the account and their states.
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. |
Options
Option | Description | Required |
---|---|---|
| Name of an Availability Zone. Example: | No |
Output
Amazon EC2 returns a table that contains the following information:
Output type identifier ("AVAILABILITYZONE")
Availability Zone name
State
Amazon EC2 displays errors on stderr
.
Example
This example displays the Availability Zones that are available to the account.
PROMPT>
ec2-describe-availability-zones
AVAILABILITYZONE us-east-1a available AVAILABILITYZONE us-east-1b available AVAILABILITYZONE us-east-1c available