View and apply idle resources recommendations

This document explains how to view and apply idle resources recommendations for Persistent Disk volumes, IP addresses, and custom disk images.

Compute Engine helps you identify idle Persistent Disk volumes, IP addresses, and custom disk images, and provides recommendations to help you minimize waste and avoid unnecessary charges.

If you're interested in recommendations for idle virtual machine (VM) instances, then see View and apply idle VM recommendations.

Before you begin

Pricing

There are no costs associated with using idle resources recommendations.

Recommendation generation

If a resource has not been attached to a VM or other resource for 15 days, then the Recommender classifies that resource as idle. For more information about the conditions to classify a resource as idle and the recommended actions, see the following table:

Resource Condition for resource to be classified as idle Recommended action Savings
Persistent Disk All of the following must be true:
  • The Persistent Disk was created at least 15 days ago.
  • The Persistent Disk was never attached to a VM.
  • The Persistent Disk is blank.
  • The Persistent Disk isn't bound to GKE Pods.
Delete Save 100% of the cost of that disk. For more information, see Disk and image pricing.
Persistent Disk All of the following must be true:
  • The Persistent Disk was detached for at least 15 days.
  • The Persistent Disk isn't bound to GKE Pods.
Create a snapshot of the Persistent Disk, and then delete it.
Reduce the maintenance cost of that disk from 35% to 92%. For more information, see Disk and image pricing.
Custom image All of the following must be true:
  • The image wasn't used to create a disk for at least 15 days.
  • The image isn't used in any instance template.
Delete Save 100% of the cost of that image. For more information, see Disk and image pricing.
External IP address The IP address hasn't been attached to any resource for at least 15 days. Delete
Save 100% of the cost of that IP address. For more information, see External IP address pricing.

Recommendation frequency

Idle resource recommendations begin 15 days after resource creation, and they are updated once every 24 hours.

Viewing recommendations

To view recommendations about idle resources, use the gcloud CLI or REST.