Document toolboxDocument toolbox

Associating Elastic IP Addresses

If you want to use multiple network interfaces, you will need to associate a pre-allocated Elastic IP address with the interface because you cannot auto-assign a public IP. Note that Elastic IP address is needed for the primary interface only, and is not required on each additional interface.

To associate an Elastic IP address with a network interface:

  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Elastic IPs.

  3. Select the Elastic IP address to associate and choose Actions > Associate Elastic IP address.

  4. For Resource type, choose Network interface.

  5. For Network interface, choose the network interface with which to associate the Elastic IP address. You can also enter text to search for a specific network interface.

  6. Optionally, for Private IP address, specify a private IP address with which to associate the Elastic IP address.

  7. Choose Associate.

  8. To add multiple network interfaces to the on-prem instance, see Step 3: Configure Instance Details in EC2 Instances Using AMI in AWS Deployment.

For more information, refer to the AWS documentation.