
An idle Elastic IP on your AWS bill looks like easy cleanup. The address sits in your account, attached to nothing, racking up hourly charges day after day. However, deleting an unassociated public IPv4 address without checking its history can break a production workflow. An external partner might still have that address on a firewall allow-list. Similarly, an old DNS record or a disaster recovery script might still expect it to exist. Before you release an unattached address, you need to know what the billing data proves and what you must verify yourself.
Key takeaways
- AWS charges $0.005 per hour for every Amazon-provided public IPv4 address, whether it is in use or sitting idle.
- Billing logs can show an address was idle for 7 complete days, yet they cannot show if an external partner or DNS record still depends on it.
- You should follow a 3-step verification check covering live association status, DNS records, and partner allow-lists before releasing any address.
How AWS bills public IPv4 and unassociated addresses
In the past, AWS only charged for an Elastic IP address when you left it unattached or assigned multiple addresses to one instance. That rule changed. According to the AWS announcement on public IPv4 address charges, AWS bills $0.005 per hour for all Amazon-provided public IPv4 addresses, whether attached to a running service or sitting idle.
Consequently, your bill splits these public IPv4 charges into two main usage types in your billing reports. First, PublicIPv4:InUseAddress tracks the hours an address spends attached to a resource like an EC2 instance, a NAT gateway, or a load balancer. Second, PublicIPv4:IdleAddress tracks the hours an allocated Elastic IP sits in your account attached to nothing.
While an in-use address usually supports an active workload, an idle Elastic IP costs the exact same hourly rate for zero traffic. Furthermore, each AWS account defaults to a regional quota of five Elastic IP addresses, as noted in the Amazon EC2 Elastic IP documentation. Holding onto unattached addresses wastes budget and takes up slots you might need for new deployments. Note that addresses you bring to AWS via Bring Your Own IP (BYOIP) do not pay this hourly fee, though they still require proper inventory tracking.
What the bill shows, and what it cannot show
You can spot unused addresses by opening AWS Cost Explorer or querying the AWS Cost and Usage Report (CUR). If you filter by the PublicIPv4:IdleAddress usage type, you might see that a specific Elastic IP address was billed as idle every day for a full week. You might also see a cross-service charge showing multiple public IPv4 addresses in an account and region billed as idle across seven complete days.
However, billing data Always lags behind live infrastructure. The bill only shows historical idle hours from the reporting period. It cannot tell you whether the address is still unassociated right now. For example, an engineer may have attached that idle Elastic IP to a new bastion host this morning.
More importantly, your cloud bill cannot show external dependencies. It never reveals who allocated the address, why they reserved it, or whether an outside system expects traffic from it. If a third-party payment processor or client firewall ruleset trusts that specific IPv4 address, releasing it gives the IP back to the public AWS pool. Once you release it, another AWS customer can claim it, or you may find you cannot get it back. Therefore, you must treat billing reports as a starting clue rather than a delete list.
Find idle Elastic IP addresses in your account and region
Because billing reports only show the past, your next step is checking your live inventory in each AWS account and region. You need to list all allocated Elastic IPs and see which ones have no current association.
You can check this in the Amazon EC2 console by selecting Elastic IPs in the navigation pane. Look at the Association ID and Associated instance ID columns. If both fields are blank, the address is currently unattached. Alternatively, you can use the AWS CLI to check an entire region at once. Run aws ec2 describe-addresses and look for entries that lack an AssociationId field.
For a broader inventory across services and regions, you can also use Public IP Insights in Amazon VPC IP Address Manager (IPAM). This free feature lists all public IPv4 addresses in your account, breaking them down into Elastic IPs, EC2 public IPs, and service-managed addresses. In addition, reviewing this full inventory helps you spot attached addresses on workloads that do not actually need to be reachable from the public internet.
Check allow-lists, DNS records and partners before releasing
Once you confirm an address is still unattached today, you must verify that no workload, partner, or routing rule relies on it. Run through these checks before you change anything.

Check internal and external DNS records
First, search your DNS zones in Amazon Route 53 and any external DNS providers for the raw IPv4 string. An old A record might still point a subdomain to this address. If you release the IP while a live domain points to it, visitors could end up reaching a stranger’s server when AWS reassigns the address. In addition, check your SSL certificates and webhook definitions for hardcoded IP references.
Check partner allow-lists and firewall rules
Next, check whether external partners, customers, or SaaS vendors expect traffic from this address. Teams often allocate an Elastic IP for a NAT gateway or proxy so partners can allow-list a single static IP. Even if the old NAT gateway was deleted during a migration, a partner may still have that IP on their firewall allow-list for an upcoming retry or quarterly batch job. Also, search your own AWS security groups, network ACLs, and on-premises firewall rules to ensure the IP is not trusted inside your own network perimeter.
Check owners, code, and recovery plans
Finally, find the owner of the resource. Check the resource tags on the Elastic IP for a team name, project code, or owner email. If the tags are empty, search AWS CloudTrail for the AllocateAddress or DisassociateAddress API events to see who touched it last. You should also search your Terraform, CloudFormation, or Ansible repositories for the IP string or its AllocationId. Sometimes teams keep an unassociated address in cold standby for a manual disaster recovery cutover. If anything still relies on the address, leave it in place and document the dependency.
Release the address and confirm the charge stops
When your investigation confirms that the address is unassociated and no DNS record, allow-list, or recovery plan depends on it, you can release it.
In the EC2 console, select the unattached Elastic IP, open the Actions menu, and choose Release Elastic IP addresses. If you prefer the command line, run aws ec2 release-address --allocation-id eipalloc-xxxxxxxx using the specific allocation ID from your inventory check. Furthermore, if you found the address defined in Terraform or CloudFormation during your review, remove it by updating your infrastructure code so the next deployment does not recreate it.
After you release the address, verify that the hourly charge stops. Wait 48 hours for billing logs to update, then open AWS Cost Explorer. Filter your daily costs by Usage Type and select PublicIPv4:IdleAddress for that account and region. You should see the daily idle hours drop accordingly.
How Binadox helps identify unused Elastic IP addresses
Checking for unattached addresses across dozens of AWS accounts and regions by hand takes time. Binadox is a cloud cost visibility and optimization tool that flags these public IPv4 charges across your accounts automatically.

Specifically, Binadox surfaces three distinct findings for this problem:
- An individual idle Elastic IP: Binadox flags a specific Elastic IP address when it is billed as idle, associated with nothing, on each of the seven complete days in the billing record. It recommends releasing the address after you check that it is still unassociated and verify that no allow-lists, DNS records, or partners expect it.
- Cross-service idle public IPv4 addresses: When public IPv4 addresses in an account and region are billed as idle every day for a full week, Binadox highlights the account and region so you can list its Elastic IPs, see which remain unassociated today, and release the ones no workload or allow-list depends on.
- Public IPv4 address inventory: Binadox also provides an inventory of all public IPv4 addresses billed in an account and region. Your team can review this list to release unattached or unnecessary addresses on resources that do not need to be reachable.
Conclusion
Paying an hourly rate for a string of four numbers attached to nothing is an annoying leak in any cloud budget. However, yanking an idle Elastic IP out of an AWS account without checking who still trusts it is how a two-minute cleanup turns into a three-hour outage with a vendor. Your billing report does the first half of the job by showing which addresses sat unattached all week. Your engineering team must do the second half by checking live associations, DNS records, and partner allow-lists before hitting release.
To catch idle addresses across all your cloud accounts before they drive up your monthly bill, you can start a free trial or book a demo with our team today.