128)Public IP Vs Private IP Vs Elastic IP
Lets have a look at the Key Difference Between Public IP Vs Private IP Vs Elastic IP..
Here’s a breakdown of Public IP, Private IP, and Elastic IP in the context of cloud computing, particularly focusing on AWS:
1. Public IP
Definition:
A Public IP is an IP address that can be reached from the internet. It allows resources to be accessible externally.
Use Case:
Primarily used when you want your cloud resources (like EC2 instances) to communicate with the internet.
Characteristics:
Dynamic:
Public IPs can change whenever an instance is stopped and started.
Assigned Automatically:
AWS often assigns a public IP automatically to instances in a default subnet, but it is not persistent.
Internet Accessibility:
Enables users and applications outside the VPC to access resources directly.
2. Private IP
Definition:
A Private IP is an IP address that is only reachable within a private network (like a VPC in AWS).