GCP Unassociated public IP addresses

Rule Description

Rule Code: GCP-IP-01

Identify public IP addresses that aren't associated with GCP resources like load balancers and VMs.

A nominal charge is associated with these public IP addresses. If you don't plan to use them, you can save money by deleting them.


To determine if you have any unassociated public IP addresses, perform the following operations:

Step 1: Sign in to GCP Management Portal. Select the GCP Project that you need to examine. Navigate External IP, select the IP that you need to examine

Step 2: Check the In use by attribute to verify to make sure that IP is not associating with any VMs or LB.

If the unattached IP is not used anymore, the resource can be safely removed from the selected subscription.

Attached IP address
Unattached IP address

Step 4: Repeat steps for each IP address available in the selected GCP project

Step 5: Repeat steps each project created within GCP.