02 / 03

Explain Elastic IP addresses in EC2

Understanding Elastic IP (EIP)

An Elastic IP address is a static, public IPv4 address designed for dynamic cloud computing. Unlike standard public IPs, an EIP is associated with your AWS account rather than a specific instance, allowing you to mask instance failures or software issues by remapping the address to another instance in your VPC.

Important Considerations
  1. 1

    Static Mapping: Remains associated with your account until you explicitly release it.

  2. 2

    High Availability: Allows you to redirect traffic to a standby instance quickly if the primary instance fails.

  3. 3

    Cost Implications: AWS charges for EIPs that are not associated with a running instance to prevent IP address hoarding.