The short version
- Line item
USE1-PublicIPv4:InUseAddressandUSE1-PublicIPv4:IdleAddressin us-east-1, and another prefix elsewhere:USW2-PublicIPv4:InUseAddress,EU-PublicIPv4:InUseAddress(Ireland),EUC1-PublicIPv4:InUseAddress,APS1-PublicIPv4:IdleAddress. Unlike NAT gateway lines, us-east-1 has a prefix. In Cost Explorer they sit under the service Amazon Virtual Private Cloud. - Price$0.005Per public IPv4 address per hour, list price, the same in every AWS commercial region. In-use and idle cost the same.
- Usually caused bySubnets that auto-assign a public IP to every instance, one address per Availability Zone on each internet-facing load balancer, publicly accessible RDS instances, and Elastic IPs left allocated after their resource was deleted.
- Biggest fixMove instances that do not serve internet traffic into private subnets behind a NAT gateway or load balancer, and release idle Elastic IPs.
1. What this line is
AWS meters every public IPv4 address your account holds, by the hour, whether it is attached to a resource or not.
The Amazon VPC pricing page defines the two meters:
- In-use: "Any public IPv4 address associated with a resource launched in an Amazon VPC, and public IPv4 addresses assigned to AWS Global Accelerator and AWS Site-to-Site VPN tunnel endpoints are charged as in-use public IPv4 address." That covers EC2 auto-assigned public IPs, Elastic IPs on instances, NAT gateways or load balancers, and addresses that EKS, ECS, RDS and WorkSpaces create for you.
- Idle: "Any public IPv4 address associated to your AWS account that is not used on a resource is charged as idle public IPv4 address." In practice, an unassociated Elastic IP.
Billing is in one-second increments with a minimum of 60 seconds. The pricing page lists no free allowance. The 2023 announcement said the charge started on 1 February 2024, with 750 free hours a month for 12 months under the old EC2 free tier; the current credits-based free tier pages do not list that, so do not count on it. Not charged: addresses you bring yourself (BYOIP), customer-owned IPs on Outposts, and shared service addresses such as those of Amazon S3.
List prices from the AWS Price List API (service code AmazonVPC, group VPCPublicIPv4Address). Every location in the file carries the same price:
| Region | In-use usage type | Idle usage type | List price per address-hour |
|---|---|---|---|
| us-east-1 (N. Virginia) | USE1-PublicIPv4:InUseAddress | USE1-PublicIPv4:IdleAddress | $0.005 |
| us-east-2 (Ohio) | USE2-PublicIPv4:InUseAddress | USE2-PublicIPv4:IdleAddress | $0.005 |
| us-west-2 (Oregon) | USW2-PublicIPv4:InUseAddress | USW2-PublicIPv4:IdleAddress | $0.005 |
| eu-west-1 (Ireland) | EU-PublicIPv4:InUseAddress | EU-PublicIPv4:IdleAddress | $0.005 |
| eu-central-1 (Frankfurt) | EUC1-PublicIPv4:InUseAddress | EUC1-PublicIPv4:IdleAddress | $0.005 |
| ap-southeast-1 (Singapore) | APS1-PublicIPv4:InUseAddress | APS1-PublicIPv4:IdleAddress | $0.005 |
Related lines you may see next to it:
- PublicIPv4:ContiguousBlock (for example
USE1-PublicIPv4:ContiguousBlock): an Amazon-provided contiguous IPv4 block at $0.008 per address per hour list price, charged for every address in the block from provisioning. Block addresses are not also charged as in-use or idle. - ElasticIP:IdleAddress: the older Elastic IP charge under EC2-Other, no longer in the AmazonEC2 price list; idle Elastic IPs now bill as
PublicIPv4:IdleAddress. - NatGateway-Hours and load balancer hours: a public NAT gateway "must associate an Elastic IP address with the NAT gateway at creation" (NAT gateways), and the ELB pricing page says you "incur standard public IPv4 address charges for all the addresses you consume with load balancers."
The CUR operation column tells address types apart (AWS networking blog): AllocateAddressVPC is an idle Elastic IP, AssociateAddressVPC an attached one, RunInstances an EC2 auto-assigned address, DescribeNetworkInterfaces a service-managed address such as a load balancer or RDS, CreateVpnConnection a VPN tunnel, CreateAccelerator a Global Accelerator.
2. Why it shows up on your bill
The charge is small per address and large in total, because public IPv4 addresses are the default in many places you never chose them.
Most frequent first. All figures are at list price, 730 hours a month, for this example.
- Instances in subnets that auto-assign a public IPv4 address. Default VPC subnets, and subnets created by the launch wizard, have the attribute set to true (subnet public IP settings). Every instance gets a billable address, including ones that only talk to internal services. 100 such instances are $365.00 a month, under the
RunInstancesoperation. - One address per Availability Zone on every internet-facing load balancer. A load balancer in three zones uses three addresses, $10.95 a month. Ten of them, one per environment and service, are 30 addresses and $109.50 a month.
- Publicly accessible RDS instances. "Amazon RDS uses Public Elastic IPv4 addresses from EC2's public IPv4 address pool for publicly accessible database instances" (RDS in a VPC). 50 of them are $182.50 a month.
- Idle Elastic IPs. An Elastic IP stays allocated, and billed, until you release it (Elastic IP addresses). 20 forgotten addresses are $73.00 a month; one left idle for a year is $43.80.
- Kubernetes and container nodes in public subnets. An EKS node group or ECS cluster in public subnets gives every node a public IP. 40 nodes are $146.00 a month, even though traffic reaches them through a load balancer.
3. How to find what is causing it
Group the line by operation to learn which kind of address it is, then list the addresses with the EC2 API or Public IP Insights to find the resources.
- Cost Explorer. Filter Service to Amazon Virtual Private Cloud, group by Usage type for the in-use and idle split by region, then group by API operation for the address type.
- The same from the CLI, read-only. Add the usage type strings for the regions you use (get-cost-and-usage):
aws ce get-cost-and-usage \
--time-period Start=2026-11-01,End=2026-12-01 \
--granularity MONTHLY \
--metrics UnblendedCost UsageQuantity \
--filter '{"Dimensions":{"Key":"USAGE_TYPE","Values":[
"USE1-PublicIPv4:InUseAddress","USE1-PublicIPv4:IdleAddress",
"USW2-PublicIPv4:InUseAddress","USW2-PublicIPv4:IdleAddress"]}}' \
--group-by Type=DIMENSION,Key=USAGE_TYPE Type=DIMENSION,Key=OPERATION
- Per account and address type, from the Cost and Usage Report (CUR 2.0) in Athena. Replace the table name with yours. With resource IDs enabled, the resource ID column names the address (line item columns).
SELECT line_item_usage_account_id,
product_region_code,
line_item_usage_type,
line_item_operation,
COUNT(DISTINCT line_item_resource_id) AS addresses,
SUM(line_item_usage_amount) AS address_hours,
SUM(line_item_unblended_cost) AS cost
FROM cur2_table
WHERE line_item_usage_type LIKE '%PublicIPv4%'
AND line_item_usage_start_date >= TIMESTAMP '2026-11-01 00:00:00'
AND line_item_usage_start_date < TIMESTAMP '2026-12-01 00:00:00'
GROUP BY 1, 2, 3, 4
ORDER BY cost DESC;
- List idle Elastic IPs (describe-addresses), then every in-use address with the interface that owns it; the description names the load balancer, NAT gateway or RDS instance (describe-network-interfaces).
aws ec2 describe-addresses \
--query 'Addresses[?AssociationId==null].{IP:PublicIp,Allocation:AllocationId,Tags:Tags}' \
--output table
aws ec2 describe-network-interfaces \
--query 'NetworkInterfaces[?Association.PublicIp!=null].{IP:Association.PublicIp,Type:InterfaceType,Instance:Attachment.InstanceId,Owner:RequesterId,Description:Description}' \
--output table
- Across all accounts and regions: Public IP Insights. Part of Amazon VPC IP Address Manager (IPAM), included in the IPAM Free Tier on the VPC pricing page. It lists every public IPv4 address in the organisation with its type and association status, and flags unassociated Elastic IPs (Public IP Insights). The CLI equivalent is
get-ipam-discovered-public-addresses(reference).
4. How to reduce it
Remove addresses that nothing on the internet needs to reach, and keep the rest.
- Release idle Elastic IPs. Check tags and history first: an address in DNS records, firewall allowlists or a partner's configuration is not idle just because it is unassociated. Roll back: AWS lets you try to recover a released address with
allocate-address --address, but only if no other account has taken it, so treat release as permanent. Terraform: delete theaws_eipresource. - Stop auto-assigning public IPs in subnets that do not need them. Turn the attribute off with
aws ec2 modify-subnet-attribute --subnet-id subnet-0123456789abcdef0 --no-map-public-ip-on-launch(modify-subnet-attribute). It affects new launches only, so roll the instances afterwards; they then need a NAT gateway for outbound access. The AWS networking blog works this out: 100 instances with public IPs cost $365.00 a month, against $77.50 for two NAT gateways with 100 GB of traffic, for its example. Roll back: set the attribute back to true. Terraform:map_public_ip_on_launch = falseonaws_subnet, andassociate_public_ip_address = falseonaws_instance. - Move instances behind a load balancer into private subnets, and turn off public accessibility on databases reached only from inside the VPC. Test: health checks stay green and connection strings resolve to private addresses. Terraform: private
subnet_idson the autoscaling group or EKS node group, andpublicly_accessible = falseonaws_db_instance. - Replace public SSH and RDP access. Session Manager "provides secure node management without the need to open inbound ports, maintain bastion hosts, or manage SSH keys" (Session Manager). Bastions with Elastic IPs can go.
- Consolidate load balancers. Several Application Load Balancers serving one domain can often become one with host-based or path-based rules. Each one removed in three zones saves $10.95 a month at list price, for this example, plus its hourly charge.
- Serve IPv6-only where clients allow it. An Application Load Balancer supports the
dualstack-without-public-ipv4IP address type, where "Clients must connect to the load balancer using IPv6 addresses" (Application Load Balancers). It fits partner traffic that is already IPv6, not a public website. Terraform:ip_address_type = "dualstack-without-public-ipv4"onaws_lb. AWS services that support IPv6 lists what else can go dual-stack. - Leave it when the address does a job. A NAT gateway, a VPN tunnel, a Global Accelerator and an internet-facing load balancer each need their addresses. At $3.65 a month per address this is expected; spend the effort on instance and idle addresses instead.
Rather have this line cut for you? We cut cloud bills within 30 days and invoice one month of the measured saving, once. No savings, no payment.
Get a free savings assessment5. What to watch out for
Most fixes move an address or a path rather than deleting it, so check what else depended on the public IP.
- Outbound access breaks when the public IP goes. An instance without a public IP in a subnet with no NAT gateway or VPC endpoint loses internet access: package updates, webhooks, SaaS calls. Add the gateway or endpoints first.
- Moving cost, not removing it. A NAT gateway adds
NatGateway-Hours($32.85 a month at us-east-1 list price),NatGateway-Bytesper GB and one in-use address. The AWS blog's four-instance example is $14.60 for public IPs against $77.50 for NAT gateways: small groups are cheaper as they are. - Authentication on IPv6-only load balancers. The ALB docs warn that authentication with an identity provider or Cognito "only supports IPv4", and without a public IPv4 address the load balancer returns HTTP 500 on that path.
- No commitment discount. Savings Plans and Reserved Instances do not cover public IPv4 addresses. Fewer addresses is the only lever.
6. Have it done for you
Public IPv4 charges come from dozens of small defaults spread across accounts, regions and services, and the work is finding every one, deciding which addresses do a job, and removing the rest without cutting off access. That is what FinOps, paid from savings, does. You see savings in the bill within 30 days. Then you get one invoice for one month of the measured saving, and you keep every month after. No savings, no payment: the assessment is free, and if nothing is found or approved there is no invoice. Changes arrive as pull requests in your own process. It covers AWS, Azure and Google Cloud, for any account size. Get a free savings assessment.
Prefer to do it yourself? Compass is open source and finds AWS cost waste with a savings estimate per finding (AWS only).
7. Sources
- Amazon VPC pricing (Public IPv4 Address tab)
- AWS Price List API, AmazonVPC offer file
- New AWS public IPv4 address charge and Public IP Insights (AWS News Blog)
- Identify and optimize public IPv4 address usage on AWS (AWS Networking blog)
- View Public IP Insights (Amazon VPC IPAM User Guide)
- Elastic IP addresses (Amazon EC2 User Guide)
- Configure the public IPv4 addressing attribute for a subnet
- NAT gateways
- Elastic Load Balancing pricing (Public IPv4 Address Charge)
- Application Load Balancers (IP address type)
- Amazon RDS DB instances in a VPC
- AWS services that support IPv6
- AWS Systems Manager Session Manager
- AWS CLI: describe-addresses
- AWS CLI: describe-network-interfaces
- AWS CLI: get-ipam-discovered-public-addresses
- AWS CLI: modify-subnet-attribute
- AWS CLI: ce get-cost-and-usage
- CUR 2.0 line item columns
8. FAQ
What is PublicIPv4:InUseAddress on my AWS bill?
It is the hourly charge for every public IPv4 address attached to a resource in your account: EC2 instances with a public IP, Elastic IPs, NAT gateways, load balancers, publicly accessible RDS instances, VPN tunnels and Global Accelerators. The list price is $0.005 per address per hour in every commercial region, about $3.65 a month per address. It appears with a region prefix, such as USE1-PublicIPv4:InUseAddress or EUC1-PublicIPv4:InUseAddress, under the service Amazon Virtual Private Cloud.
What is PublicIPv4:IdleAddress?
It is the same $0.005 per hour list price for a public IPv4 address your account holds but has not attached to anything, almost always an Elastic IP that was never associated or was left behind after its instance was terminated. Release the address to stop the charge.
Why is my AWS IP address or Elastic IP cost so high?
Because the charge applies to every address, and many AWS defaults hand out addresses you did not ask for: subnets that auto-assign a public IP to each instance, one address per Availability Zone on each internet-facing load balancer, "publicly accessible" on databases, and Elastic IPs that outlive their resource. 100 instances with public IPs are $365.00 a month at list price, and one idle Elastic IP is $43.80 a year.
How do I reduce public IPv4 cost on AWS?
Release idle Elastic IPs, turn off auto-assign public IP on subnets whose instances do not serve the internet directly, put those instances in private subnets behind a NAT gateway or load balancer, set databases to not publicly accessible, consolidate load balancers, and use IPv6 where clients support it. Use Public IP Insights in IPAM to list every address across the organisation first.
Related
Last checked: 1 December 2026. Written from AWS pricing pages and documentation, linked below. Prices are list prices; confirm against your own rates before acting.
Related: All AWS bill line items explained · Why is my AWS bill so high? · FinOps paid from savings
Beamreach