Release Unused Elastic IPs

Beginner
7 min read
Updated: Nov 2026
3 steps
Cost cleanup

Why Release Elastic IPs?

An Elastic IP stays in your account until you release it. If it sits unused (not associated with a running instance), you can still pay for that public IPv4—and it counts against your Region quota.

Lab habit.

When a tutorial ends, disassociate if needed, then release. Treat EIP cleanup like turning off unused EC2.

In Simple Words

Disassociate vs release

Disassociate = unplug the address from the network interface / instance but keep owning it. Release = give the address back to AWS permanently.

When should you release?

After deleting a demo instance, finishing a course lab, or when the Elastic IPs list shows Association ID empty and you do not plan to reuse that address.

Do not release production addresses.

Update DNS and allow lists first. Releasing breaks anything that still points at that IPv4.

Words You Will See

WordPlain meaning
AllocateGet a new Elastic IP into your account
AssociateAttach the EIP to an instance / ENI
DisassociateDetach but keep the EIP allocated
ReleaseReturn the EIP to AWS; you no longer own it
Idle / unassociatedAllocated EIP with no running association—cleanup candidate

What You Need First

  • Permission to manage Elastic IPs in the Region.
  • Certainty that no DNS, partner allow list, or live site still needs that address.

Step-by-Step

Step 1 — List Elastic IP Addresses

  1. Open EC2 → Network & Security → Elastic IPs.
  2. Look for rows with no associated instance / empty association.
  3. Also check addresses tied to terminated labs you no longer need.
Elastic IP allocation screen in EC2
Amazon EC2

Step 2 — Disassociate (If Still Attached)

  1. Select the Elastic IP.
  2. Actions → Disassociate Elastic IP address.
  3. Confirm. The address stays in your account until release.

How It Works

  1. Disassociate unhooks the ENI mapping described in network interfaces.
  2. You cannot release some attached addresses until they are free—disassociate first.

Step 3 — Release the Address

  1. Select the unassociated Elastic IP.
  2. Actions → Release Elastic IP addresses.
  3. Confirm. The IPv4 leaves your account.

How It Works

  1. Release frees quota and stops idle public IPv4 charges for that address.
  2. Need another EIP later? Allocate a new one from the Elastic IP guide.

Common Beginner Mistakes

Releasing a live site IP

Update Route 53 / DNS before release, or traffic fails.

Only terminating EC2

Terminating the instance does not always release the EIP automatically.

Wrong Region

Elastic IPs are Regional—check the console Region switcher.

Disassociate without release

Idle allocated EIPs can still cost money. Release when done.

Key Takeaways

One line: find idle Elastic IPs, disassociate if needed, then release so they stop billing.

Frequently Asked Questions

AWS bills for public IPv4 addresses that stay allocated to your account when they are not associated with a running instance. Releasing unused EIPs stops that idle charge.
Disassociate unbinds the EIP from an ENI/instance but keeps the address in your account. Release returns the address to AWS so you no longer own it.
Usually no. After release, the address goes back to Amazon’s pool. Allocate a new one if you need another EIP.
No. Only release addresses you no longer need. Releasing a live EIP breaks SSH, DNS, and allow lists that pointed at it.
Pricing focuses on idle (unassociated) public IPv4s. Always check the current AWS public IPv4 pricing page for your Region and use case.
An EIP associates to a private IP on a network interface (ENI). Disassociate from that ENI before you release if the address is still attached.

Need a new Elastic IP?

Allocate and associate a fresh address for your next lab.

Elastic IP guide →

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful