Describes Regions that are currently available to the account.
ec2-describe-regions
[
region...]
| Name | Description | Required |
|---|---|---|
|
|
Name of a Region. Type: String Default: Describes all Regions available to the account. Example: eu-west-1 |
No |
The command returns a table that contains the following information:
REGION identifier
Region name
Service endpoint to which you make requests
Amazon EC2 displays errors on stderr.
This example displays Regions that are available to the account.
PROMPT>ec2-describe-regionsREGION us-east-1 us-east-1.ec2.amazonaws.comREGION eu-west-1 eu-west-1.ec2.amazonaws.com