Skip to content

Commit 9ac5ef6

Browse files
authored
Merge pull request #228898 from ntrogh/als-linux-support
[Azure Lab Services] Add info about Linux support for auto-shutdown
2 parents 6215b25 + a6eaece commit 9ac5ef6

File tree

3 files changed

+69
-9
lines changed

3 files changed

+69
-9
lines changed

articles/lab-services/how-to-configure-auto-shutdown-lab-plans.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
---
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
49
ms.topic: how-to
5-
ms.date: 11/13/2021
10+
ms.date: 03/01/2023
611
---
712

813
# Configure automatic shutdown of VMs for a lab plan
914

15+
[!INCLUDE [preview note](./includes/lab-services-new-update-focused-article.md)]
16+
17+
> [!NOTE]
18+
> 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+
1020
You can enable several auto-shutdown cost control features to avoid extra costs when the virtual machines aren't being used.
1121

1222
- Disconnect idle virtual machines.
@@ -20,6 +30,8 @@ The **disconnect idle virtual machines** has two settings. Both settings use a
2030

2131
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.
2232

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+
2335
## Enable automatic shutdown
2436

2537
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
3244

3345
To disable the setting(s), uncheck the checkbox(s) on this page.
3446

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+
3553
## Next steps
3654

3755
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)

articles/lab-services/how-to-enable-shutdown-disconnect.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
---
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
49
ms.topic: how-to
5-
ms.date: 07/04/2022
6-
ms.custom: devdivchpfy22
10+
ms.date: 03/01/2023
711
---
812

913
# 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
1216

1317
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.
1418

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).
1720

1821
## Configure for the lab level
1922

@@ -25,6 +28,22 @@ You can configure the auto-shutdown settings when you create a lab or after it's
2528
> [!WARNING]
2629
> 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).
2730
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+
2847
## Next steps
2948

3049
- As an educator, learn about the different [shut-down policies](classroom-labs-concepts.md#automatic-shut-down) available.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
ms.service: lab-services
3+
ms.topic: include
4+
author: ntrogh
5+
ms.author: nicktrog
6+
ms.date: 03/01/2023
7+
---
8+
9+
The following list provides the supported Linux distribution Azure Marketplace images for lab plan-based labs:
10+
11+
- CentOS-based 7.8 (Gen2)
12+
- CentOS-based 7.9
13+
- CentOS-based 7.9 (Gen2)
14+
- CentOS-based 8.4 (Gen2)
15+
- CentOS-based 8.5 (Gen2)
16+
- Debian 11 "Bullseye"
17+
- Debian 11 "Bullseye"(Gen2)
18+
- Ubuntu Minimal 18.04 LTS
19+
- Ubuntu Minimal 20.04 LTS (Gen2)
20+
- Ubuntu Server 18.04 LTS (Gen2)
21+
- Ubuntu Server 20.04 LTS
22+
- Ubuntu Server 20.04 LTS (Gen2)
23+
- Ubuntu-HPC 20.04 (Gen2)

0 commit comments

Comments
 (0)