How to ensure that I no longer use a public IPv4 address

0

Hi, I want to know how to ensure that deployed projects are completely deleted and no longer use public IPv4 addresses, as I do not want to incur additional costs due to IPv4 addresses.

asked a month ago76 views
3 Answers
1

After completely deleting the deployed projects, Make sure that all the networking interfaces associated to the project are no longer present and also make sure there are no elastic IP addresses.

You can check from AWS console --> EC2 --> Network Interfaces and Elastic IPs (Left pane).

AWS
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago
1

In addition to the public IPs assigned to ENIs in your VPCs, public IP charges also apply to other situations where AWS-owned public IPs are dedicated to your use. For example, Global Accelerator endpoints and site-to-site VPNs also involve public IPs that are dedicated to you and therefore charged.

You should check whether you have any of those services, but in addition to that, I'd advise waiting for 3 days after you believe you've removed all public IPs, and then using Cost Explorer to confirm that public IP charges have dropped to zero. The reason to wait for 3 days is that Cost Explorer data typically takes about two days to get consolidated and to show in the service.

To find the public IP charges, open Cost Explorer and in the filters on the right side, click "Usage type" and type "public" to filter by usage types containing the word public. There should be one or more "PublicIPv4:InUseAddress" and/or "PublicIPv4:IdleAddress" items on the list. Simply select them all. At the top of the menu on the right, set "Granularity" to "daily" and adjust the time range to include days until 2 days ago.

This should show a bar chart with per-day columns and a spreadsheet view underneath, and you should see the public IP charges having continued until you removed them, with 24 hours per IP per day in the billing unit view. If you got all the public IPs removed, the amount should have dropped to zero the day after you removed the last public IP.

EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
1

Hi,

This post proposes a solution to discover public IP addresses used in your account to scan them for vulnerabilities.

See https://aws.amazon.com/blogs/architecture/find-public-ips-of-resources-use-aws-config-for-vulnerability-assessment/

In your case, you don't want to scan them. But, at least, you can use the solution to discover if you still have public IP adresses in use.

Best,

Didier

profile pictureAWS
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago

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.

Guidelines for Answering Questions