Enquire Now

Thanks for the like! We're thrilled you enjoyed the article. Your support encourages us to keep sharing great content!

Cloud

AWS - Elastic IP Address 

Part III | Part II | Part I

AWS Elastic IP is a static, public IPv4 address designed for dynamic cloud computing. It allows you to allocate a persistent IP address to your AWS resources, such as EC2 instances, and remap it to another instance if needed. This ensures uninterrupted access to your resources even during instance failures or replacements. Elastic IPs are free when attached to running instances, but incur charges when unused. They are ideal for hosting websites, applications, or services requiring a consistent public IP.

Configuring an Elastic IP Address in AWS allows you to allocate a static, public IP address to your AWS resources, such as EC2 instances. Here's a step-by-step guide:

Step 1: Allocate an Elastic IP Address

  1. Log in to the AWS Management Console.

  2. Navigate to the EC2 Dashboard.

    Step 2 : In the left-hand menu, under Network & Security Tab Click  Elastic IPs. Click Allocate Elastic IP address Option

Step 3 : Select Instance with Instance id

The "Select Instance with Instance ID" option allows you to precisely identify and manage a specific EC2 instance in AWS. Each EC2 instance is assigned a unique Instance ID (e.g., i-0abcd1234efgh5678), which ensures accurate selection, especially in environments with multiple instances. In the AWS Management Console, you can use the search or filter feature to locate an instance by its ID, enabling actions like starting, stopping, or terminating it. This option is particularly useful for automation, scripting, and managing large-scale deployments, where exact instance identification is critical.

Step 4: Click Allocate Elastic IP Address Option

The "Allocate Elastic IP Address" option in AWS allows you to reserve a static, public IPv4 address for your AWS account. Elastic IPs are useful for maintaining a consistent public IP for your EC2 instances, even if they are stopped or restarted. By allocating an Elastic IP, you can associate it with any instance in your account, ensuring seamless accessibility for applications like websites or databases. This feature also supports failover scenarios, where the IP can be quickly remapped to a backup instance in case of outages. Note that Elastic IPs are free when attached to running instances but incur charges if left unassociated.

Step 5 : Action - Associate Elastic IP 

The Associate Elastic IP option in AWS allows you to link a static public IP address to an instance, network interface, or other resources. This ensures a consistent IP even if the instance is stopped and restarted. It is useful for maintaining stable endpoints for applications and remote access.

Step 6 : Select Resource Type and Enter Instace Id

When associating an Elastic IP (EIP) in AWS, you need to Select Resource Type and Enter Instance ID to specify where the IP should be assigned. The Resource Type can be an EC2 instance or a network interface, depending on your setup. If you choose an EC2 instance, AWS automatically selects the primary network interface. You must then Enter Instance ID, ensuring the correct instance receives the EIP. This process allows the instance to have a static public IP, which remains the same even if the instance is stopped and restarted, providing consistency for external access.

Setp 7 : Click Allocate IP address 

The Allocate IP Address option in AWS allows you to request a new Elastic IP (EIP) for use in your account. This IP can be assigned to an EC2 instance, a network interface, or other AWS resources. Once allocated, you can associate it with a resource to ensure a static public IP address for reliable connectivity.

 

Sridhar S

Author

Sridhar S

Server Admin - Chadura Tech Pvt Ltd

Related Posts

Comments (0)