AWS EC2 provides you with Elastic IP to solve this problem. An Elastic IP address is basically a static IP address that is associated with your account and not with an instance. This means you can assign the address to whatever instance until you decide to release it.
- Log into the console and go to the EC2 service panel
- Go to Elastic IPs under Network and Security menu.
- Click the blue Allocate New Address button and select Yes, Allocate
- Your new address will be assigned to your account.
- Select your instance to associate address.
- You can now see that the Elastic IP is assigned to your instance under its properties.
- In your DNS, create an A record that points to your Elastic IP. You should now be able to access your instance by making use of the name specified in the A record.
Your account is limited to 5 Elastic IP addresses and don't cost you anything as long as you use them. If you leave them unassociated you will be charged $0.01/hr.
This comment has been removed by a blog administrator.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDelete