Why the charge appears
You retired a staging instance and its compute charges stopped, but the next invoice still shows public IPv4 charges. An Elastic IP can remain allocated after the workload that used it is gone. The official VPC pricing page lists a standard hourly rate of $0.005 for both idle and in-use provider-assigned public IPv4 addresses.
That works out to about $3.60 for one address over 30 days at the listed rate. Review idle addresses first, then trace in-use charges to dependencies such as NAT gateways, load balancers, or EC2 instances.
Find it in Cost Explorer or CUR
In Cost Explorer, group by Usage type and look for PublicIPv4:IdleAddress and PublicIPv4:InUseAddress. Compare linked accounts and Regions to see where the hours accumulate.
In CUR 2.0, filter line_item_usage_type for those two suffixes and sum cost and usage by product_region_code. Compare dates before and after a workload was retired. Use resource IDs when the export includes them, and use inventory to confirm which addresses still exist.
Read-only CLI checks
Run these commands in the billed account. Replace uppercase placeholders with your own values.
aws ec2 describe-addresses --region REGION --query 'Addresses[?AssociationId==null].[AllocationId,PublicIp,Tags]'
aws ec2 describe-addresses --region REGION
aws ec2 describe-network-interfaces --region REGION --filters Name=association.public-ip,Values=PUBLIC_IP
Run the queries using your own cloud credentials with permission to read EC2 address and network-interface inventory. Check all billed Regions and accounts. The address list covers Elastic IP allocations, so use VPC IPAM Public IP Insights to investigate public IPs attached to other cloud services.
For each idle allocation, check ownership, DNS records, firewall allowlists, and recovery plans before deciding whether the address is safe to release.
Scan your own bill locally
If you don't want to check these services one Region at a time, you can drop a Cost Explorer CSV or CUR 2.0 export (.csv / .csv.gz) into Bill Checkup — it parses 100% locally in your browser with zero AWS IAM permissions required and flags common idle charges automatically.
- No CSV handy? Try the interactive sample bill in one click.
- Want to model monthly IPv4 spend across EC2, EIPs, load balancers, and NAT gateways? Use the free Public IPv4 Cost Calculator.
- Need help exporting your CSV? Read How to analyze an AWS Cost Explorer CSV locally.
Top comments (1)
Tomson, the number that makes this post stick is $3.60 a month per idle IP — small enough to ignore once, big enough to notice when a dead test environment is holding five of them for a year. The part most people miss, and you call out well, is that both lines cost money: an EIP attached to a running instance bills as PublicIPv4:InUseAddress, and an unattached one bills as PublicIPv4:IdleAddress, so detaching alone does not stop the charge — releasing it does. I also liked grouping Cost Explorer by usage type, because the billing line is the only honest way to tell whether a cleanup actually worked. In your own cleanup routine, do you start from the IdleAddress line in Cost Explorer, or from the unattached list in the EIP console first?