Home/Server & Website Managed Operations/Creating and Releasing Elastic IPs on AWS
Server & Website Managed Operations

Creating and Releasing Elastic IPs on AWS

Elastic IP (EIP) is the public IP service provided by AWS, reflecting the loosely coupled nature of AWS architecture.

Since IP addresses are completely decoupled from EC2 instances, you can manage IP addresses with complete flexibility.

Below is a guide on how to allocate an EIP and associate it with an EC2 instance.

Creating and Associating an EIP

  1. After logging into the AWS Management Console, click on Elastic IPs under the NETWORK & SECURITY section.

Elastic-IPs-1024x506

  1. Click on Allocate New Address.

Allocate-New-Address-1024x440

  1. Click Allocate.

Allocate

  1. Click Close.

Close

  1. Once you confirm the allocated IP address, click Associate Address.

Associate-Address-1024x375

  1. Select the EC2 Instance ID and click Associate.

AssociateAddressDetails-1024x355

  1. You will see that the created EIP has been successfully associated with the specified EC2 instance.

Allocate-EIP-Success1-1024x359

  1. You can verify this on the EC2 page, where the Public IP matches the EIP address.

EC2-and-EIP-1024x334

Releasing an EIP

When you are done using an EIP, do not forget to release it. While associating an EIP with an active EC2 instance is free, AWS charges for any EIPs that are allocated but not associated with a running instance.

The depletion of IPv4 addresses is not a new issue. To conserve IPv4 resources and, more importantly, save costs, you must release EIPs when they are no longer in use.

The process is simple, but if you neglect it, you will see EIP charges on your next bill.

  1. Select the EIP and click Release Addresses.

ReleaseAddresses-1024x314

  1. Click Yes, Release.

Release

  1. The EIP is now gone, so you can rest assured.

NoEIP-1024x378

Summary

We have omitted the steps for disassociating the EIP from the EC2 instance. We encourage you to practice these operations yourself in the AWS Lab (QwikLabs).

EIP is a very user-friendly service. You can acquire and use EIPs freely without charge as long as they are associated with running instances. However, if you allocate an EIP and do not use it, you will incur additional costs.

FREE CHECKUP

Free server checkup

We will send a problem checklist and remediation advice within one business day — no obligation to engage.

135 410 16684
Weekdays Mon – Fri 10:00 – 22:00 (UTC+8) · 7×24 emergency response
Call now
CONTACT

Contact Us

How can we help?

* Required