Changes to AWS's public IPv4 pricing structure and how to estimate how much it will cost in your environment
This is Onikai (@fat47) from the Service Reliability Group (SRG) of the Technology Headquarters.
#SRG(Service Reliability Group) is a group that mainly provides cross-sectional support for the infrastructure of our media services, improving existing services, launching new ones, and contributing to OSS.
This article introduces AWS's public IPv4 service, and provides a simple method for calculating fees and other ways to check the amounts.
Public IPv4 pricing changesHow to check how much it will cost in your environmentMethod 1: Check using the Public IP Insights feature of Amazon VPC IP Address Manager (IPAM)Method 2: Check your Cost & usage reportsMethod 3: Check with AWS Cost ExplorerConclusion
Public IPv4 pricing changes
As stated in this article, the pricing structure for public IPv4 will change from February 2024.
Below is a table showing the changes in costs.

As mentioned above, all IPv4 services that have been available for free up until now as long as they meet the conditions will now be subject to charges.
It costs $0.005 per hour, so if you use one IP for 30 days it will cost $3.6.
For more details and tips on how to reduce these costs, please see our Developer Blog.
How to check how much it will cost in your environment
Method 1: Check using the Public IP Insights feature of Amazon VPC IP Address Manager (IPAM)
I think this is the easiest and most reliable method.
This is an additional feature released today. Originally, a feature called Amazon VPC IP Address Manager was released around 2021.
This is a paid feature that manages IP addresses within a VPC.
However, the newly released feature, Public IP Insight, is available for free.

You can open it from "VPC" → "VPC IP Address Manager" → "Public IPv4 Insight".
After the pricing change, it seems safe to assume that you will be charged only for the number of public IPs displayed here.
The scope of impact is likely to be large, as it affects not only EIPs attached to EC2 but also public IPv4s attached to managed services such as RDS and ELB.
Method 2: Check your Cost & usage reports
Starting July 30, 2023, IPv4 usage will be recorded in the Cost & Usage Reports.
"Billing" → "Cost & usage reports" → "Create usage report"
Select a service VPC and a report will be output.
However, it seems there is no way to narrow down the usage type at the moment, so it's very difficult to see. I don't really understand it.
Method 3: Check with AWS Cost Explorer
This method allows you to check after the fee structure has actually changed and charges have begun.
IPv4 will be added to the pricing categories in Cost Explorer, allowing you to check your usage.
Conclusion
The fee structure change will take place in approximately six months, so it is a good idea to estimate the cost in advance and start considering what method to use early on.
I think it will still be difficult to completely eliminate IPv4 due to various constraints, but I would like to continue to make improvements little by little.
SRG is looking for people to work with us.
If you're interested, please contact us here.
SRG runs a podcast where we chat about the latest hot topics in IT technology and books. We hope you'll listen to it while you work.