ec2-describe-regions
Description
Describes regions that are currently available to the account.
Syntax
ec2-describe-regions [
region
...]
Options
Name | Description | Required |
---|---|---|
|
Name of a region. Type: String Default: Describes all regions available to the account. Example: eu-west-1 |
No |
Output
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.
Examples
Example Request
This example displays 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