How to Use Elastic IP Inside EC2
Amazon's Elastic Compute Cloud (EC2) service enables you to run a virtual server for any amount of time and pay for only the time and resources that you use. This elasticity means that assigning a static IP to every server that is launched would be difficult because there are a limited number of IP addresses. Amazon makes it possible to optionally assign a static IP to a server with a service called "Elastic IP." Elastic IP addresses are tied to your account so you can terminate a server and use the same IP address for a different server.
Instructions
-
-
1
Click on the "Instances" section under the "EC2" tab in the Amazon Web Services console.
-
2
Write down or remember the instance ID of the server that you want to assign an IP address to.
-
-
3
Click on the "Elastic IPs" section in the left-hand column.
-
4
Select "Allocate New Address" to add an Elastic IP to your account.
-
5
Click "Associate Address" next to the IP address that you want to use.
-
6
Choose the correct instance ID in the drop-down box and click "Yes, Associate" to finalize the settings.
-
1