Understand Public, Elastic and Private IP Address in AWS cloud

IP Address in Amazon Web Service

IP address associated with EC2 Instances. Having three IP address:
Public IP address
Private IP address
Elastic IP address

Public IP Address:
It is automatically assigned when instance is started. It is assigned to EC2 instance for connectivity. If you stop or terminate instance then public IP address associated with instance is released. On Restart the Instance you get assigned a new public IP address. Public IP address can be change through life cycle of EC2 instance. You cannot use it for website or domain name registration purpose because Public IP address can be changed. To overcome this Elastic IP address is used.
Note: When you start the server or instance then may be every time new public IP address is assigned.

Private IP Address:
It is used for internal Communication between internal Server. It is not changed when you restart the Instance. It is like internal communication between Instances present at data center.

Elastic IP Address:
Elastic IP address are Static or Public IP address. By Default you have limit in AWS for 5 EIPs Per region. It is also a public address, It is issued on the basis of AWS account.It is permanently assigned to your account. You can associate and release with your instances as you wish. You can also move it from one server to other it’s good thing in Elastic IP address. you can safely fail over with help of Elastic IP address.
1. If you do not use then there is cost, if you use Elastic IP then no cost.
2. When you assigned the Elastic IP address then Public IP address gone and it is same as Elastic IP address, now we have same ip address as permanently.

ScreenShot for EC2 Instance display Private, Public and Elastic IP Address:


Associating an Elastic IP address:

Network –> Elastic IP –> Add New IP address –> Associate with Instance —> Check Instance its public or elastic IP address is same.

Create the Elastic IP address on following link: ELASTIC IP ADDRESS

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.