Product Documentation

Attaching Additional IP Addresses to an Instance

Aug 23, 2013
You can attach additional IP addresses to an instance as follows:
  1. Add a secondary IP address to an ENI.
  2. Associate an EIP with the secondary IP address that you created.
To add a secondary IP address to the ENI
  1. In a web browser, open the website at www.aws.amazon.com and log on with AWS credentials.
  2. Click My Account/Console, and then click AWS Management Console.
  3. On the Amazon Web Services page, click EC2.
  4. On the Amazon EC2 Console's Dashboard page, in the Navigation pane, in NETWORK & SECURITY, click Network Interfaces.
  5. In the Network Interfaces pane, right-click the ENI attached to the subnet, and then select the Manage Private IP Addresses option from the pop-up menu.

  6. In the Manage Private IP Addresses dialog box, click Assign a secondary private IP address and either let AWS automatically assign an IP address or type an IP address in the auto-assign text-field. Click Yes, Update.

Associating an EIP with the secondary IP
Complete the following steps to associate an EIP with a secondary IP address:
  1. On the Amazon EC2 Console Dashboard page, in the Navigation pane, in NETWORK & SECURITY, click Elastic IPs.
  2. In the Addresses pane, click Allocate New Address.
  3. In the Allocate New Address dialog box, select VPC from the EIP used in drop-down list and click Yes, Allocate.
  4. Select the newly allocated EIP, and click Associate Address.
  5. In the Associate Address dialog box, select, from the Instance and the Private IP address drop-down lists, the instance and private address that you want to associate with the EIP. Then, click Yes, Associate.