ec2-describe-regions
Syntax
ec2-describe-regions [
region-name
...]
Description
Describes Availability Zones that are currently available to the account.
Options
Option | Description | Required |
---|---|---|
| Name of a region. Example: | No |
Output
Amazon EC2 returns a table that contains the following information:
Output type identifier ("REGION")
Region name
Service endpoint to which you make requests
Amazon EC2 displays errors on stderr
.
Example
This example displays the regions that are available to the account.
PROMPT>
ec2-describe-regions
REGION us-east-1 us-east-1.ec2.amazonaws.com REGION eu-west-1 eu-west-1.ec2.amazonaws.com