Rule Description
Rule Code: GCP-VM-Idle
Identify and consider to remove any VM instances with low CPU utilization.
The average CPU utilization has been less than 1% for the last 7 days.
Recommendation
Step 01: Sign in to GCP Management Console. Select the GCP Project that you need to examine. Navigate Compute Engine - VM instances.
Step 02: Select GCP VM that you need to examine. In the Monitoring, follow these steps as below:
Click on the CPU Utilization (Percent) usage graph to verify the instance CPU usage for the last 7 days.
Verify if the average usage (percent) has been less than 1
Step 03: Repeat steps to verify the CPU available in the last 7 days for the other VM instances in the current region.
Step 04: Switch to the other GCP regions and follow the same above audit process.