Configure automatic shutdown of VMs for a lab

This article shows you how you can configure automatic shut-down of VMs for a lab. To learn more about the benefits of auto-shutdown policies, see Maximize cost control with auto-shutdown settings.

A lab plan administrator can configure automatic shutdown policies for the lab plan that you use create labs. For more information, see Configure automatic shutdown of VMs for a lab plan. As a lab owner, you can override the settings when creating a lab or after the lab is created.


Prior to the August 2022 Update, Linux labs only support automatic shut down when users disconnect and when VMs are started but users don't connect. Support also varies depending on specific distributions and versions of Linux. Shutdown settings are not supported by the Data Science Virtual Machine - Ubuntu image.

Configure for the lab level

You can configure the auto-shutdown settings when you create a lab or after it's created. To configure policies during lab creation see, Tutorial: Create and publish a lab. To modify automatic shutdown settings after lab creation, go to the Settings page for the lab.

Screenshot of Lab policies window for creating a new lab.


If you shutdown the Linux or Windows operating system (OS) on a VM before disconnecting an RDP session to the VM, the auto-shutdown feature will not work properly. For more information, see Guide to controlling Windows shutdown behavior.

Next steps