ec2-allocate-address

Description

Acquires an elastic IP address for use with your account.

Syntax

ec2-allocate-address

Options

This command does not have any options.

Output

The command returns a table that contains the following information:

  • Output type identifier ("ADDRESS")

  • Elastic IP address for use with your account

Amazon EC2 displays errors on stderr.

Examples

Example Request

This example returns an elastic IP address for use with the account.

PROMPT> ec2-allocate-address
ADDRESS 67.202.55.255