Reference

euca-associate-address(1)

Associate an elastic IP address with a running instance

NAME

euca-associate-address - Associate an elastic IP address with a running instance

SYNOPSIS

euca-associate-address [-a ALLOC] (-i INSTANCE | -n INTERFACE)

[-p ADDRESS] [--allow-reassociation]

[--show-empty-fields] [-U URL] [--region USER@REGION] [-I KEY_ID] [-S KEY] [--security-token TOKEN] [--debug] [--debugger] [--version] [-h] [ADDRESS]

DESCRIPTION

Associate an elastic IP address with a running instance

positional arguments:

ADDRESS

[Non-VPC only] IP address to associate (required)

optional arguments:

-a ALLOC, --allocation-id ALLOC

[VPC only] VPC allocation ID (required)

-i INSTANCE, --instance-id INSTANCE

ID of the instance to associate the address with

-n INTERFACE, --network-interface INTERFACE

[VPC only] network interface to associate the address with

-p ADDRESS, --private-ip-address ADDRESS

[VPC only] the private address to associate with the address being associated in the VPC (default: primary private IP)

--allow-reassociation

[VPC only] allow the address to be associated even if it is already associated with another interface

--show-empty-fields

show empty values as "(nil)"

-U URL, --url URL

compute service endpoint URL

--region USER@REGION

region and/or user names to search when looking up config file data

-I KEY_ID, --access-key-id KEY_ID

-S KEY, --secret-key KEY

--security-token TOKEN

--debug

show debugging output

--debugger

launch interactive debugger on error

--version

show the program's version and exit

-h, --help

show this help message and exit

History

--allocation-id since Debian 8 (Jessie); --allow-reassociation since Debian 8 (Jessie); --debug since Debian 7 (Wheezy); --debugger since Debian 7 (Wheezy); --help since Debian 7 (Wheezy); --instance-id since Debian 8 (Jessie); --network-interface since Debian 8 (Jessie); --private-ip-address since Debian 8 (Jessie); --region since Debian 7 (Wheezy); --show-empty-fields since Debian 8 (Jessie); --url since Debian 7 (Wheezy); --version since Debian 7 (Wheezy); -U since Debian 7 (Wheezy); -a since Debian 7 (Wheezy); -h since Debian 7 (Wheezy); -i since Debian 7 (Wheezy); -n since Debian 8 (Jessie); -p since Debian 8 (Jessie).

--access-key until Debian 7 (Wheezy); --config until Debian 7 (Wheezy); --euca-auth until Debian 7 (Wheezy); --instance until Debian 7 (Wheezy); --secret-key until Debian 7 (Wheezy); -s until Debian 7 (Wheezy).