Allocate and Associate Elastic IP Addresses
After launching instances, you need to associate Elastic IP addresses with the servers in public subnets.
Background information
An Elastic IP address is a public IPv4 address, which is reachable from the internet. To enable communication with the internet, you can associate an Elastic IP address with your instances.
- YCM Server
- SBC Server 1
- SBC Server 2
- SBC Proxy Server 1
- SBC Proxy Server 2
The following diagram shows the architecture of your VPC after you complete this step.
Procedure
Allocate and tag Elastic IP addresses
Before the Elastic IP association, you need to allocate Elastic IP addresses from Amazon's pool of public IPv4 addresses.
- Log in to Amazon EC2 Console.
- On the left navigation bar, go to Allocate Elastic IP address. , click
- In the Public IPv4 address pool section, select Amazon's pool of IPv4 addresses.
- In the Tags section, add a name tag for the allocated
Elastic IP address.
- Click Add new tag.
- In the Key field, enter Name.
- In the Value field, enter a name for the Elastic IP address to help you identify it.
- Click Allocate.
A new Elastic IP address is allocated and displayed on the Elastic IP addresses list.
- Repeat Step 2 - Step 5 to assign Elastic IP addresses for other servers.
Associate an Elastic IP address with each instance
- Log in to Amazon EC2 Console.
- On the left navigation bar, go to .
- In the Elastic IP addresses list, select the desired IP address, and click .
- On the configuration page, complete the following settings.
- Resource type: Select Instance.
- Instance: Select the desired instance.
- Private IP address: Select the private IP address of the server with which to associate the Elastic IP address.
- Click Associate.
The Elastic IP address is successfully associated with the instance.
- Repeat Step 3 - Step 5 to associate Elastic IP addresses with other servers.