ec2-describe-regions

Description

Describes Regions that are currently available to the account.

Syntax

ec2-describe-regions [region...]

Options

NameDescriptionRequired

region

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