Collapse AllExpand All

euca-allocate-address

Allocates an elastic IP address. The output returns the IP address that was allocated.

Syntax

euca-allocate-address [-d vpc]

Options

Option Description Required
-d,--vpc vpc (VPC only) Specifies that this address is to be allocaed for use in a VPC. No

Common Options

Option Description
--region region Region to direct requests to. Only valid for EC2 endpoints.
-U,--url url URL of the cloud to connect to. Expects an EC2 endpoint /services/Eucalyptus.
-I,--access-key-id access_key_id User's access key ID
-S,--secret-key secret_key User's secret key
--config configuration_path Read credentials and cloud settings from the specified config file.
Default: $HOME/.eucarc or /etc/euca2ools/eucarc.
--debug Prints what the command sends to the server and what it receives from the server. Use when you're trying to debug Euca2ools.
--debugger Enable interactive debugger on error
-h,--help Display the manual page for the command.
--version Display the version of this tool

Output

  • Output type identifier ("ADDRESS")
  • Elastic IP address for use with your account, followed by the domain for the IP address (either "vpc" or "standard")
  • If the address is a VPC address, the allocation ID for the address

Example

euca-allocate-address
ADDRESS	10.103.4.105	standard