You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/lab-services/how-to-configure-auto-shutdown-lab-plans.md
+21-3Lines changed: 21 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,22 @@
1
1
---
2
-
title: Configure automatic shutdown of VMs in Azure Lab Services
3
-
description: This article describes how to configure automatic shutdown of VMs in the lab plan.
2
+
title: Configure automatic shutdown for a lab plan
3
+
titleSuffix: Azure Lab Services
4
+
description: Learn how to enable or disable automatic shutdown of lab VMs in Azure Lab Services by configuring the lab plan settings. Automatic shutdown happens when a user disconnects from the remote connection.
5
+
services: lab-services
6
+
ms.service: lab-services
7
+
author: ntrogh
8
+
ms.author: nicktrog
4
9
ms.topic: how-to
5
-
ms.date: 11/13/2021
10
+
ms.date: 03/01/2023
6
11
---
7
12
8
13
# Configure automatic shutdown of VMs for a lab plan
> If using a version of Azure Lab Services prior to the [August 2022 Update](lab-services-whats-new.md), see how to [configure automatic shutdown of VMs for a lab account](./how-to-configure-lab-accounts.md).
19
+
10
20
You can enable several auto-shutdown cost control features to avoid extra costs when the virtual machines aren't being used.
11
21
12
22
- Disconnect idle virtual machines.
@@ -20,6 +30,8 @@ The **disconnect idle virtual machines** has two settings. Both settings use a
20
30
21
31
Review more details about the auto-shutdown features in the [Maximize cost control with auto-shutdown settings](cost-management-guide.md#automatic-shutdown-settings-for-cost-control) section.
22
32
33
+
Azure Lab Services supports automatic shutdown for both Windows-based and Linux-based virtual machines. For Linux-based VMs, [support depends on the specific Linux distribution and version](#supported-linux-distributions-for-automatic-shutdown).
34
+
23
35
## Enable automatic shutdown
24
36
25
37
1. In the [Azure portal](https://portal.azure.com/), navigate to the **Lab Plan** page.
@@ -32,6 +44,12 @@ Review more details about the auto-shutdown features in the [Maximize cost contr
32
44
33
45
To disable the setting(s), uncheck the checkbox(s) on this page.
34
46
47
+
## Supported Linux distributions for automatic shutdown
48
+
49
+
Azure Lab Services supports automatic shutdown for many Linux distristributions and versions.
50
+
51
+
[!INCLUDE [supported linux distributions for automatic shutdown](./includes/lab-services-auto-shutdown-linux-support.md)]
52
+
35
53
## Next steps
36
54
37
55
To learn about how a lab owner can configure or override this setting at the lab level, see [Configure automatic shutdown of VMs for a lab](how-to-enable-shutdown-disconnect.md)
Copy file name to clipboardExpand all lines: articles/lab-services/how-to-enable-shutdown-disconnect.md
+25-6Lines changed: 25 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,13 @@
1
1
---
2
-
title: Configure automatic shutdown of VMs for a lab in Azure Lab Services
3
-
description: Learn how to enable or disable automatic shutdown of VMs when a remote desktop connection is disconnected.
2
+
title: Configure automatic shutdown for a lab
3
+
titleSuffix: Azure Lab Services
4
+
description: Learn how to enable or disable automatic shutdown of lab VMs in Azure Lab Services by configuring the lab settings. Automatic shutdown happens when a user disconnects from the remote connection.
5
+
services: lab-services
6
+
ms.service: lab-services
7
+
author: ntrogh
8
+
ms.author: nicktrog
4
9
ms.topic: how-to
5
-
ms.date: 07/04/2022
6
-
ms.custom: devdivchpfy22
10
+
ms.date: 03/01/2023
7
11
---
8
12
9
13
# Configure automatic shutdown of VMs for a lab
@@ -12,8 +16,7 @@ This article shows you how you can configure [automatic shut-down](classroom-lab
12
16
13
17
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](how-to-configure-auto-shutdown-lab-plans.md). As a lab owner, you can override the settings when creating a lab or after the lab is created.
14
18
15
-
> [!IMPORTANT]
16
-
> Prior to the [August 2022 Update](lab-services-whats-new.md), 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](../virtual-machines/extensions/diagnostics-linux.md#supported-linux-distributions). Shutdown settings are not supported by the [Data Science Virtual Machine - Ubuntu](https://azuremarketplace.microsoft.com/en-us/marketplace/apps?search=Data%20science%20Virtual%20machine&page=1&filters=microsoft%3Blinux) image.
19
+
Azure Lab Services supports automatic shutdown for both Windows-based and Linux-based virtual machines. For Linux-based VMs, [support depends on the specific Linux distribution and version](#supported-linux-distributions-for-automatic-shutdown).
17
20
18
21
## Configure for the lab level
19
22
@@ -25,6 +28,22 @@ You can configure the auto-shutdown settings when you create a lab or after it's
25
28
> [!WARNING]
26
29
> 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](how-to-windows-shutdown.md).
27
30
31
+
## Supported Linux distributions for automatic shutdown
32
+
33
+
Azure Lab Services supports automatic shutdown for many Linux distributions and versions. Support varies depending on whether you're using a lab plan or lab account.
34
+
35
+
### Lab plan-based labs
36
+
37
+
[!INCLUDE [supported linux distributions for automatic shutdown](./includes/lab-services-auto-shutdown-linux-support.md)]
38
+
39
+
### Lab account-based labs
40
+
41
+
If you're using lab account-based labs, Linux labs only support automatic shut down when users disconnect and when VMs are started but users don't connect.
42
+
43
+
Support varies depending on [specific distributions and versions of Linux](../virtual-machines/extensions/diagnostics-linux.md#supported-linux-distributions).
44
+
45
+
Shutdown settings are not supported by the [Data Science Virtual Machine - Ubuntu](https://azuremarketplace.microsoft.com/en-us/marketplace/apps?search=Data%20science%20Virtual%20machine&page=1&filters=microsoft%3Blinux) image.
46
+
28
47
## Next steps
29
48
30
49
- As an educator, learn about the different [shut-down policies](classroom-labs-concepts.md#automatic-shut-down) available.
0 commit comments