Elastic IP
What is elastic IP and dynamic IP?
- Elastic IP (EIP): An Elastic IP address is a static IPv4 address designed for dynamic cloud computing. It is provided by cloud service providers such as Amazon Web Services (AWS).
- Dynamic IP Address: A dynamic IP address is one that is assigned to a device (typically a computer or router) dynamically by a DHCP (Dynamic Host Configuration Protocol) server.
Why is elastic IP called elastic?
The term “elastic” in “Elastic IP” refers to its flexibility and elasticity in terms of allocation and association with cloud resources.
What is a NAT gateway?
A NAT (Network Address Translation) gateway is a network device that enables multiple devices within a private network to share a single public IP address when accessing resources on the internet. It achieves this by translating the private IP addresses of devices within the local network into a single public IP address that is used for communication with external networks such as the internet. NAT gateways are commonly used in scenarios where multiple devices within a private network need to access the internet but only have a limited number of public IP addresses available.
How To Create Elastic IP In AWS Using Terraform ?
Using Terraform, creating an Elastic IP (EIP) on AWS entails specifying the resources required in a Terraform configuration file in order to create the EIP. A static IPv4 address intended for dynamic cloud computing is called an elastic IP. It is helpful in situations when you require a public IP address that is reliable and simple to link to or disconnect from instances within your AWS infrastructure.