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 ip
| Option | Description | Required |
|---|---|---|
| -i,--instance | Unique identifier for a running instance to associate the address with. | Yes |
| ip | Elastic IP address to associate | Yes |
| 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. |
| -a,--access-key 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 86.75.30.9 ADDRESS 86.75.30.9 i-3C66428A