What is an Elastic IP

An Elastic IP address is a reserved, public IPv4 address. You can associate these Elastic IP addresses to your EC2 instances and NAT Gateways.

When you create a NAT Gateway, you must associate it with an Elastic IP.

You don’t have to give an EC2 instance an Elastic IP address, but you have that option. You also have control over when and what instances will receive Elastic IPs. When you assign an elastic IP to an instance, you’re replacing its default public IP address. In addition, that elastic IP will remain assigned to your EC2 instance — even after stops and reboots — until you remove it.

These Elastic IP addresses are allocated from AWS pool of IPv4 addresses. (Should you want to bring your own blocks of IP addresses, you can do that only if you have AWS Outpost.) They are allocated to your account, but their scope is regional: an Elastic IP address cannot be transferred to a different region.

Once you have a set of Elastic IP addresses, they are yours until you release them. In case you accidentally release the addresses, you can recover them only if these two conditions are true:

A.. The Elastic IP address has not been allotted to another account.
B. The recovered IP address will not exceed your account’s Elastic IP limit (5 addresses per region).

Leave a Comment