Elastic IP Addresses
An Elastic IP address is a static, public IPv4 address that you can allocate to your AWS account and associate with an Amazon EC2 instance. Elastic IP addresses enable you to mask instance failures by remapping the address to another instance in your account. Unlike a regular public IP address, which changes when you stop and start your instance, an Elastic IP address remains associated with your account until explicitly released and is ideal for use cases that require fixed IP addresses for reliability or integration with third-party services.
Guide on Amazon EC2: Elastic IP Addresses
Elastic IP addresses are static, persistent IPv4 addresses designed for dynamic cloud computing. They can also mask the failure of an instance or software by rapidly remapping the IP address to another instance in your account.
Why is it important?
Elastic IP addresses allow for recovery from instances or software failure. They are associated with your AWS account not a specific instance, providing reliable, predictable, and straightforward management of your public facing network since you know that your IP address will not change.
How does it work?
An Elastic IP address remains associated with your AWS account until you choose to release it. Unlike traditional static IP addresses, Elastic IP addresses allow you to mask instance or Availability Zone failures by rapidly remapping your public IP addresses to any instance in your account.
Exam Tips: Answering Questions on Elastic IP Addresses:
1. Know the difference between Elastic IP and Public IP.
2. Understand that Elastic IP remains associated until you decide to release it.
3. Remember, they help to mask instance or software failure.
4. Be clear that they are associated with your AWS account not a specific instance.
5. Understand charges related to Elastic IPs: You are typically charged for any Elastic IP not associated with a running instance.
AWS Certified Solutions Architect - Elastic IP Addresses Example Questions
Test your knowledge of Elastic IP Addresses
Question 1
You are the Solutions Architect managing an application hosted on EC2 instances. The team requires a new EC2 instance to be deployed and accessible even after stopping and starting the instance. What should you do?
Question 2
You allocated an Elastic IP address for a new EC2 instance but have not yet associated it with the running instance. You notice an additional line item on your bill related to Elastic IP usage. What is the most likely reason for this charge?
Question 3
During scheduled maintenance, you must stop and start an Amazon EC2 instance. For monitoring reasons, the instance must keep the same public IPv4 address after the stop/start cycle. In which scenario will the instance retain its public IP address?