Rule Code: Azure-IP-01
Identify public IP addresses that aren't associated with Azure 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.
Audit / Verification
To determine if you have any unassociated public IP addresses, perform the following operations:
Step 1: Sign in to Azure Management Portal. Navigate to All resources blade, select the Azure subscription.
Step 2: From the Type filter box, select IP. Click on the name of the Public IP Address that you need to check.
Step 3: Select Overview and view configuration details available for the selected Public IP Address/Public IP Prefix. Check the Associated to/Allocated IP addresses 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.
Step 4: Repeat steps for each IP address available in the selected Azure subscription.
Step 5: Repeat steps each subscription created within your Microsoft Azure cloud account.