Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e07fac0

Browse files
committedNov 13, 2021
drafted the VM auto-shutdown article
1 parent 8c0df5e commit e07fac0

File tree

5 files changed

+51
-12
lines changed

5 files changed

+51
-12
lines changed
 

‎articles/lab-services/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@
111111
href: how-to-manage-lab-plans.md
112112
- name: Manage labs
113113
href: manage-labs-2.md
114+
- name: Configure auto-shutdown of VMs for a lab plan
115+
href: how-to-configure-lab-plan.md
114116
- name: Connect to a virtual network
115117
href: how-to-connect-vnet-injection.md
116118
- name: Create and configure lab accounts (deprecated)

‎articles/lab-services/how-to-configure-lab-accounts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Configure automatic shutdown of VMs in Azure Lab Services
2+
title: Configure automatic shutdown of VMs in Azure Lab Services (deprecated)
33
description: This article describes how to configure automatic shutdown of VMs in the lab account.
44
ms.topic: how-to
55
ms.date: 08/17/2020
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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.
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)

‎articles/lab-services/lab-services-whats-new-november-2021-update.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,31 @@ ms.date: 11/09/2021
77

88
# What's new in Azure Lab Services November 2021 Updates
99

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!
1111

1212
[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.
1313

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.
1515

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.
1717

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.
1919

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.
2121

2222
[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.
2323

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.
2525

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.
2727

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.
2929

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.
3131

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.
3333

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.
3535

3636
[Give it a try!](tutorial-setup-lab-plan.md) And check out the updated documentation at [Introduction to labs](classroom-labs-overview.md)
3737

Loading

0 commit comments

Comments
 (0)
Please sign in to comment.