The difference between a Private IP, a Public IP, and an Elastic IP (EIP)


Feature

Private IP

Public IP

Elastic (EIP)

​Communication

Within the VPC, communication takes place

Internet communication is possible

Internet communication is possible

​Address range

Gets IP address from local subnet

A region-specific IP address is obtained from the Amazon Pool

A region-specific IP address is obtained from the Amazon Pool

Restarting of instances

No changes can be made once assigned

Restarting an instance ddsdsd

A region-specific IP address is obtained from the Amazon Pool

​Releasing IP

When an instance is terminated, it is released

Stopping or terminating an instance releases it to the POOL

Not released. Remains in your account. (Billed)

Automatic Assignment

On launch of EC2 Instance, receives a private IP address


Upon launch on EC2 instance, receives public IP address if "Public IP addressing attribute" is set to true

EIP must be allocated and attached explicitly to EC2 instances. It is possible to reattach it to another EC2 instance

​Examples

​Application servers, databases

Web servers, Load Balancers,

Websites

Web servers, Load Balancers, Websites


Tags:

6 views0 comments

Recent Posts

See All