> ## Documentation Index
> Fetch the complete documentation index at: https://help.nops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Release Idle Public IPv4 Address

> Release Elastic IP addresses that have not been attached to anything for the last 30 days.

AWS charges for every public IPv4 address, including Elastic IP addresses that are allocated but not associated with a running instance or network interface. nOps finds addresses that were idle the whole month and never in use, and shows their charge as the saving.

| | |
| - | - |
| **Cloud** | AWS |
| **Category** | Networking |
| **Service** | Amazon VPC |
| **Action** | Delete |
| **Effort** | Low |
| **Restart needed** | No |
| **Can be rolled back** | No |
| **Analysis window** | Last 30 days |
| **Source** | nOps |

## Why it matters

Idle Elastic IPs are a pure cost. They are often left behind after an instance or NAT gateway is deleted.

## How nOps finds it

nOps reads the last 30 days of public IPv4 billing. An address is flagged when it was billed as idle on at least 28 of those days, including the last 2 days, and was never billed as in use. The saving is its idle charge over the last 30 days, and must be at least \$1.

## Before you start

Permission to release addresses (`ec2:ReleaseAddress`). Confirm the address is not allow-listed by a partner, customer or firewall.

## How to implement

1. Check that the address has no association and note the IP: `aws ec2 describe-addresses --allocation-ids ID`.
2. Search your DNS records and partner allow-lists for the IP.
3. Release it: **EC2 → Elastic IPs → Actions → Release Elastic IP addresses**, or `aws ec2 release-address --allocation-id ID`.
4. Remove it from Terraform or CloudFormation so it is not recreated.

## Risks and considerations

* A released address usually cannot be recovered, so anything that allow-lists it needs to be updated.
* If the address is kept on purpose for a planned failover, keep it and accept the charge.

## Related

* [Remove Auto-Assigned Public IPv4 From In-Use Instances](https://help.nops.io/inform/supported-recommendations/remove-auto-assigned-public-ipv4-from-in-use-instances)
* [Delete Idle NAT Gateway](https://help.nops.io/inform/supported-recommendations/delete-idle-nat-gateway)
* [Supported recommendations](https://help.nops.io/inform/supported-recommendations.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.