[ Web Proxy ]
URL:
Viewing: https://cloud.google.com/compute/docs/instances/idle-vm-recommendations-overview [Back]  [Original]

Idle VM recommendations  |  Compute Engine  |  Google Cloud Documentation Skip to main content
Google Cloud Documentation [Google Cloud Documentation]
Send feedback

Idle VM recommendations Stay organized with collections Save and categorize content based on your preferences.

Compute Engine provides idle VM recommendations to help you identify virtual machine (VM) instances that have not been used over the previous 1 to 14 days. You can use idle VM recommendations to find and stop idle VM instances to reduce wasting resources and reduce your compute bill.

Compute Engine generates recommendations automatically based on system metrics gathered by the Cloud Monitoring service. You can configure idle VM recommendations to receive more or fewer recommendations.

This page provides conceptual information on how Compute Engine generates idle VM recommendations and on the parameters you can use to configure them.

Pricing

Idle VM recommendations are available free of charge. Using recommendations to reduce your resource usage can result in cost savings.

Limitations

For standalone VMs, idle VM recommendations are not available in following cases:

How detection of idle VM instances works

Compute Engine generates recommendations about idle VM instances based on historical usage metrics. By default, the historical observation period is 14 days, or, for new VMs, starting one day after VM creation. By changing the default observation period, you can customize the recommendations that you receive.

To generate recommendations, the algorithm considers the CPU and network usage in the last observation period. If CPU and network usage are below predefined thresholds, the Recommender classifies the VM as idle.

Note: Google designs the default thresholds so that if monitoring agents generate the majority of CPU and network usage, then your VM is classified as idle. The default threshold values that are currently used to classify a VM as idle might change in the future.

Frequency of recommendations

After a VM is created and running for at least one day during the observation period, Compute Engine begins generating idle VM recommendations for it. New recommendations are generated once per day.

Relation with machine type sizing recommendations

Machine type sizing recommendations recommend the optimal size for a VM. You might receive a machine type recommendation to downsize an idle VM.

If you must keep an idle VM running despite its low utilization, you can use machine type recommendations to help you choose the optimal size for underutilized VMs.

Customize recommendations

Preview

This product or feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the Service Specific Terms. Pre-GA products and features are available "as is" and might have limited support. For more information, see the launch stage descriptions.

Compute Engine lets you customize the recommendations you receive for your project by changing the configuration used by the recommendation algorithm. In particular, by changing the default observation period, you can receive recommendations that better fit your workloads, applications, and infrastructure needs.

To learn how to modify the configuration for your project, see Configure idle VM recommendations.

Choose the right configuration

This section describes the values that you can set for the configuration. Changing these values affects the recommendations that you receive.

The observation period

Set the observation period to modify the duration of the window used to calculate the recommendations.

You can set the observation period to a value between 1 day and 14 days, using a string with the total number of seconds, followed by the letter s.

By default, the observation period is 14 days.

What's next

Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-11 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-11 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page