- IP address is used to communicate with the servers or to establish connection between the machines.
- Difference between elastic IP and public IP
| Public IP
|It is assigned to your launched instance.
|| It is assigned to your AWS account.|
|when an instance is terminated the public IP attached to it gets released and further when you relaunch the same instance new IP address is assigned.
||Elastic IP do not change and they remain same even if you terminate the instance and later again restart the same instance.|
Elastic IP is used when you are working on long time project and configuration of IP sometime consumes more time.
Public IP is used when you are working on small projects and running 2-3 servers. Here in this situation you make use of IP for short time.
- Do remember one thing if you have elastic IP in your account and its not in use,then you will be charged for it.