Skip to content

Files

Latest commit

81c33cc · Mar 27, 2022

History

History
31 lines (20 loc) · 2.56 KB

how-to-enable-shutdown-disconnect.md

File metadata and controls

31 lines (20 loc) · 2.56 KB
title description ms.topic ms.date
Configure automatic shutdown of VMs for a lab in Azure Lab Services
Learn how to enable or disable automatic shutdown of VMs when a remote desktop connection is disconnected.
how-to
02/04/2022

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.

Important

Prior to the April 2022 Update (preview), 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 18.04 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.

:::image type="content" source="./media/how-to-enable-shutdown-disconnect/lab-settings.png" alt-text="Screenshot of Lab policies window for creating a new lab.":::

Warning

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