Skip to content

Why the amount is charged ?

0

Hi Experts , I created an EC2 Instance and later stopped it. Why USD 0.01 is charged for IPv4 address ?
Amount Charged !

Thanks & Regards Saswata Mandal

asked 7 days ago112 views

2 Answers
2
Accepted Answer

If the instance had an automatically assigned public IPv4 address, AWS releases it when you stop the instance (Public IPv4 addresses), so the charge stops then. In that case, the USD 0.01 covers the time the instance was running.

EXPERT

answered 7 days ago

AWS
EXPERT

reviewed 7 days ago

1

AWS charges for all public IPv4 addresses, regardless of whether they are attached to a running instance or not. Starting February 1, 2024, AWS implemented a charge of $0.005 per public IPv4 address per hour for all resources that use them, including EC2 instances.

Even though you stopped your EC2 instance, if it had a public IPv4 address assigned to it, you are still being charged for that address. This applies to both regular public IPv4 addresses and Elastic IP addresses. The charge of $0.01 you're seeing represents approximately 2 hours of public IPv4 address usage at the rate of $0.005 per hour.

This pricing change was implemented because the cost to acquire public IPv4 addresses has increased significantly (over 300% in the past 5 years), and AWS aims to encourage customers to optimize their public IPv4 address usage and adopt IPv6 where possible.

To avoid these charges, you would need to release the public IPv4 address when you stop your instance, or consider using private IP addresses with alternative connectivity solutions like VPC endpoints or NAT gateways for outbound traffic.
Sources
Community | AWS to Charge Public IPv4 Addresses
Elastic IP addresses - Amazon Elastic Compute Cloud
Community | Estimating Your Public IPv4 Address Charges in AWS

answered 7 days ago

EXPERT

reviewed 7 days ago

  • To avoid these charges, you would need to release the public IPv4 address when you stop your instance, or consider using private IP addresses with alternative connectivity solutions like VPC endpoints or NAT gateways for outbound traffic.

    Since the public IPv4 address assigned to a NAT Gateway is also subject to charges, you must migrate to IPv6 if you wish to eliminate public IPv4 address costs entirely.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.