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
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.
4
+
ms.topic: how-to
5
+
ms.date: 11/13/2021
6
+
---
7
+
8
+
# Configure automatic shutdown of VMs for a lab plan
9
+
10
+
You can enable several auto-shutdown cost control features to proactively prevent additional costs when the virtual machines are not being actively used. The combination of the following three automatic shutdown and disconnect features catches most of the cases where users accidentally leave their virtual machines running:
11
+
12
+
- Disconnect users when virtual machines are idle
13
+
- Shutdown virtual machines when users disconnect
14
+
- Shutdown virtual machines when users do not connect
15
+
16
+
Idle detection examines both mouse/keyboard input and disk/CPU usage. By checking disk/CPU usage, operations such as long-running queries are accounted for.
17
+
18
+
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.
19
+
20
+
> [!IMPORTANT]
21
+
> 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 18.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoft-dsvm.ubuntu-1804) image.
22
+
23
+
## Enable automatic shutdown
24
+
25
+
1. In the [Azure portal](https://portal.azure.com/) navigate to the **Lab Plan** page.
26
+
1. Select **Labs settings** on the left menu.
27
+
1. Select the auto-shutdown setting(s) that is appropriate for your scenario.
28
+
29
+
:::image type="content" source="./media/how-to-configure-lab-plan/automatic-shutdown-vm-disconnect.png" alt-text="Automatic shutdown setting at lab plan":::
30
+
31
+
The setting(s) apply to all the labs associated with the lab plan. A lab creator (educator) can override this setting at the lab level. The change to this setting at the lab plan will only affect labs that are created after the change is made.
32
+
33
+
To disable the setting(s), uncheck the checkbox(s) on this page.
34
+
35
+
## Next steps
36
+
37
+
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/lab-services-whats-new-november-2021-update.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -7,31 +7,31 @@ ms.date: 11/09/2021
7
7
8
8
# What's new in Azure Lab Services November 2021 Updates
9
9
10
-
We've made fundamental backend improvements for the service to boost performance, reliability, and scalability. In this article, we describe all the great changes and new features that are available!
10
+
We've made fundamental backend improvements for the service to boost performance, reliability, and scalability. In this article, we describe all the great changes and new features that are available!
11
11
12
12
[Lab Plans replace Lab Accounts](#lab-plans-replace-lab-accounts). The lab account concept is being replaced with a new concept called a Lab plan. Although similar in functionality, there are some fundamental differences. The Lab Plan serves as a collection of configurations and settings that apply to the labs created from it. Labs are now an Azure resource in their own right and a sibling resource to Lab Plans.
13
13
14
-
[Improved performance](#performance-and-capacity). From lab and virtual machine creation to lab publish, you’ll notice drastic improvements.
14
+
**Improved performance**. From lab and virtual machine creation to lab publish, you’ll notice drastic improvements.
15
15
16
-
[New SKUs](#new-skus). We’ve been working hard to add new VM sizes with options for larger OS disk sizes. All lab virtual machines use solid-state disks (SSD) and you have a choice between Standard SSD and Premium SSD.
16
+
**New SKUs**. We’ve been working hard to add new VM sizes with options for larger OS disk sizes. All lab virtual machines use solid-state disks (SSD) and you have a choice between Standard SSD and Premium SSD.
17
17
18
-
[Per Customer Assigned Capacity](#per-customer-assigned-capacity). No more sharing capacity with others. If your organization has requested more quota, we’ll save it just for you.
18
+
**Per Customer Assigned Capacity**. No more sharing capacity with others. If your organization has requested more quota, we’ll save it just for you.
19
19
20
-
[Canvas Integration](#canvas-integration). Use Canvas to organize everything for your classes—even virtual labs. Now, instructors don’t have to leave Canvas to create their labs. Students can connect to a virtual machine from inside their course.
20
+
[Canvas Integration](how-to-get-started-create-lab-within-canvas.md). Use Canvas to organize everything for your classes—even virtual labs. Now, instructors don’t have to leave Canvas to create their labs. Students can connect to a virtual machine from inside their course.
21
21
22
22
[VNet Injection](how-to-connect-vnet-injection.md). You asked for more control over the network for lab virtual machines and now you have it. We replaced virtual network peering with virtual network injection. In your own subscription, create a virtual network in the same region as the lab, delegate a subnet to Azure Lab Services and you’re off and running.
23
23
24
-
[Improved auto-shutdown](#improved-auto-shutdown-experience). Auto-shutdown settings are now available for ALL operating systems! If we detect a student shut down their VM, we’ll stop billing.
24
+
[Improved auto-shutdown](how-to-configure-lab-plan.md). Auto-shutdown settings are now available for ALL operating systems! If we detect a student shut down their VM, we’ll stop billing.
25
25
26
-
[More built-in roles](#new-built-in-roles-for-azure-lab-services). In addition to Lab Creator, we’ve added Lab Operator and Lab Assistant roles. Lab Operators can manage existing labs, but not create new ones. Lab Assistant can only help students by starting, stopping, or redeploying virtual machines. They will not be able to adjust quota or set schedules.
26
+
**More built-in roles**. In addition to Lab Creator, we’ve added Lab Operator and Lab Assistant roles. Lab Operators can manage existing labs, but not create new ones. Lab Assistant can only help students by starting, stopping, or redeploying virtual machines. They will not be able to adjust quota or set schedules.
27
27
28
-
[Improved cost tracking in Cost Management](#improved-cost-tracking). Lab virtual machines are now the cost unit tracked in Azure Cost Management. Tags for lab plan ID and lab name are automatically added if you want to group lab VM cost entries together. Need to track cost by a department or cost center? Just add a tag to the lab resource in Azure. We added the ability to propagate tags from labs to Azure Cost Management entries.
28
+
**Improved cost tracking in Cost Management**. Lab virtual machines are now the cost unit tracked in Azure Cost Management. Tags for lab plan ID and lab name are automatically added if you want to group lab VM cost entries together. Need to track cost by a department or cost center? Just add a tag to the lab resource in Azure. We added the ability to propagate tags from labs to Azure Cost Management entries.
29
29
30
-
[Updates to lab owner experience](#updates-to-lab-owner-experience). Now you can choose to skip the template creation process and automatically publish the lab if you already have an image ready to use. In addition, we’ve added the ability to add a non-admin user to lab VMs and made some scheduling improvements while we were at it.
30
+
**Updates to lab owner experience**. Now you can choose to skip the template creation process and automatically publish the lab if you already have an image ready to use. In addition, we’ve added the ability to add a non-admin user to lab VMs and made some scheduling improvements while we were at it.
31
31
32
-
[Updates to student experience](#updates-to-student-experience). Student can now redeploy their VM without losing data. If the lab is set up to use AAD group sync, there is no longer a need to send an invitation email so students can register for a virtual machine—one is assigned to the student automatically.
32
+
**Updates to student experience**. Student can now redeploy their VM without losing data. If the lab is set up to use AAD group sync, there is no longer a need to send an invitation email so students can register for a virtual machine—one is assigned to the student automatically.
33
33
34
-
SDKs. The Azure Lab Services PowerShell will now be integrated with the Az PowerShell module and will release with the next monthly update of the Az module. Also, check out the C# SDK.
34
+
**SDKs**. The Azure Lab Services PowerShell will now be integrated with the Az PowerShell module and will release with the next monthly update of the Az module. Also, check out the C# SDK.
35
35
36
36
[Give it a try!](tutorial-setup-lab-plan.md) And check out the updated documentation at [Introduction to labs](classroom-labs-overview.md)
0 commit comments