Associates an elastic IP address with an instance. This assumes that the address you supplied has already been allocated with the euca-allocate-address command.
euca-associate-address -i instance_id [-n interface] [-a allocation] [-p address] [--allow-reallocation] ip
|-i,--instance||Unique identifier for a running instance to associate the address with.||Yes|
|-n,--network-interface interface||(VPC only) The network interface to associate with the address.||Yes, if VPC|
|-a,--allocation-id alloc||(VPC only) The VPC allocation ID.||No|
|-p,--private-ip-address address||(VPC only) The private address to associate with the address being associated in the VPC. This defaults to the primary private IP address.||No|
|--allow-reassociation||(VPC only) Allow the address to be associated even if it is already associated with another instance.||No|
|ip||Elastic IP address to associate||Yes|
|--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|
euca-associate-address -i i-3C66428A 18.104.22.168 ADDRESS 22.214.171.124 i-3C66428A