ec2-describe-availability-zones
Description
Displays 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. |
Syntax
ec2-describe-availability-zones [zone_name...]
Options
| Name | Description | Required |
|---|---|---|
|
Availability Zone name. Type: String Default: None Example: us-east-1a |
No |
Output
The command returns a table that contains the following information:
-
AVAILABILITYZONE identifier
-
Availability Zone name
-
State
Amazon EC2 displays errors on stderr.
Examples
Example Request
This example displays information about Availability Zones that are available to the account.
PROMPT>ec2-describe-availability-zonesAVAILABILITYZONE us-east-1a availableAVAILABILITYZONE us-east-1b availableAVAILABILITYZONE us-east-1c availableAVAILABILITYZONE us-east-1d available