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 lab accounts in Azure Lab Services | Microsoft Docs
3
-
description: This article describes how to create a lab account, view all lab accounts, or delete a lab account in Azure Lab Services.
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 account.
4
4
services: lab-services
5
5
documentationcenter: na
6
6
author: spelluru
@@ -12,50 +12,24 @@ ms.workload: na
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: article
15
-
ms.date: 02/14/2020
15
+
ms.date: 05/15/2020
16
16
ms.author: spelluru
17
17
18
18
---
19
-
# Configure lab accounts in Azure Lab Services
20
-
In Azure Lab Services, a lab account is a container for managed lab types such as classroom labs. An administrator sets up a lab account with Azure Lab Services and provides access to lab owners who can create labs in the account.
19
+
# Configure automatic shutdown of VMs on disconnect setting for a lab account
20
+
You can enable or disable automatic shutdown of Windows lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long Lab Services should wait for the user to reconnect before automatically shutting down.
21
21
22
-
This article shows how to perform the following tasks:
23
-
24
-
- Specify an address range for VMs in the lab
25
-
- Configure automatic shutdown of VMs on disconnect
26
-
27
-
## Specify an address range for VMs in the lab
28
-
The following procedure has steps to specify an address range for VMs in the lab. If you update the range that you previously specified, the modified address range applies only to VMs that are created after the change was made.
29
-
30
-
Here are some restrictions when specifying the address range that you should keep in mind.
31
-
32
-
- The prefix must be smaller than or equal to 23.
33
-
- If a virtual network is peered to the lab account, the provided address range cannot overlap with address range from peered virtual network.
22
+
## Enable automatic shutdown
34
23
35
24
1. On the **Lab Account** page, select **Labs settings** on the left menu.
36
-
2. For the **Address range** field, specify the address range for VMs that will be created in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range.
37
-
38
-
> [!NOTE]
39
-
> The Address range property only applies if Peer virtual network is enabled for the lab.
40
-
3. Select **Save** on the toolbar.
25
+
2. Select the **Automatically shut down virtual machines when users disconnect** option.
26
+
3. Specify how long Lab Services should wait for the user to reconnect before automatically shutting down the VMs.

43
29
30
+
This setting applies to all the labs created in the lab account. A lab creator (educator) can override this setting at the lab level. The change to this setting at the lab account will only affect labs that are created after the change is made.
44
31
45
-
## Automatic shutdown of VMs on disconnect
46
-
You can enable or disable automatic shutdown of Windows lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long the VMs should wait for the user to reconnect before automatically shutting down.
47
-
48
-

49
-
50
-
This setting applies to all the labs created in the lab account. A lab owner can override this setting at the lab level. The change to this setting at the lab account will only affect labs that are created after the change is made.
51
-
52
-
To learn about how a lab owner can configure this setting at the lab level, see [this article](how-to-enable-shutdown-disconnect.md)
32
+
To disable this setting, uncheck the checkbox for the **Automatically shutdown virtual machines when users disconnect** option on this page.
53
33
54
34
## Next steps
55
-
See the following articles:
56
-
57
-
-[Allow lab creator to pick lab location](allow-lab-creator-pick-lab-location.md)
58
-
-[Connect your lab's network with a peer virtual network](how-to-connect-peer-virtual-network.md)
59
-
-[Attach a shared image gallery to a lab](how-to-attach-detach-shared-image-gallery.md)
60
-
-[Add a user as a lab owner](how-to-add-user-lab-owner.md)
61
-
-[View firewall settings for a lab](how-to-configure-firewall-settings.md)
35
+
To learn about how a lab owner can configure or override this setting at the lab level, see [this article](how-to-enable-shutdown-disconnect.md)
Copy file name to clipboardExpand all lines: articles/lab-services/classroom-labs/how-to-connect-peer-virtual-network.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Connect to a peer network in Azure Lab Services | Microsoft Docs
3
-
description: Learn how to connect your lab network with another network as a peer. For example, connect your on-premises school/university network with Lab's virtual network in Azure.
3
+
description: Learn how to connect your lab network with another network as a peer. For example, connect your on-premises organization/university network with Lab's virtual network in Azure.
4
4
services: lab-services
5
5
documentationcenter: na
6
6
author: spelluru
@@ -12,7 +12,7 @@ ms.workload: na
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: article
15
-
ms.date: 03/31/2020
15
+
ms.date: 05/15/2020
16
16
ms.author: spelluru
17
17
18
18
---
@@ -43,11 +43,16 @@ During the new [lab account creation](tutorial-setup-lab-account.md), you can pi
43
43
44
44
### Address range
45
45
46
-
There is also an option to provide **Address range** for virtual machines for the labs. The **Address range** property only applies if **Peer virtual network** is enabled for the lab. If the address range is provided, all the virtual machines in the labs under the lab account will be created in that address range. The address range should be in CIDR notation (e.g. 10.20.0.0/20) and not overlap with any existing address ranges. When providing an address range, it's important to think about the number of *labs* that will be created and provide an address range to accommodate that. Lab Services assumes a maximum of 512 virtual machines per lab. For example, an ip range with '/23' can create only one lab. A range with a '/21' will allow for the creation of four labs.
46
+
There is also an option to provide **Address range** for virtual machines for the labs. The **address range** property applies only if a **peer virtual network** is enabled for the lab. If the address range is provided, all the virtual machines in the labs under the lab account will be created in that address range. The address range should be in CIDR notation (for example, 10.20.0.0/20) and not overlap with any existing address ranges. When providing an address range, it's important to think about the number of *labs* that will be created and provide an address range to accommodate that. Lab Services assumes a maximum of 512 virtual machines per lab. For example, an ip range with '/23' can create only one lab. A range with a '/21' will allow for the creation of four labs.
47
47
48
48
If the **Address range** is not specified, Lab Services will use the default address range given to it by Azure when creating the virtual network to be peered with your virtual network. The range is often something like 10.x.0.0/16. This may lead to ip range overlap, so make sure to either specify an address range in the lab settings or check the address range of your virtual network being peered.
49
49
50
-
## Configure after the lab is created
50
+
> [!NOTE]
51
+
> Lab creation can fail if the lab account is peered to a virtual network but has too narrow of an IP address range. You can run out of space in the address range if there are too many labs in the lab account (each lab uses 512 addresses).
52
+
>
53
+
> If the lab creation fails, contact your lab account owner/admin and request for the address range to be increased. The admin can increase the address range using steps mentioned in the [Specify an address range for VMs in a lab account](#specify-an-address-range-for-vms-in-the-lab-account) section.
54
+
55
+
## Configure after the lab account is created
51
56
52
57
The same property can be enabled from the **Labs configuration** tab of the **Lab Account** page if you didn't set up a peer network at the time of lab account creation. Change made to this setting applies only to the labs that are created after the change. As you can see in the image, you can enable or disable **Peer virtual network** for labs in the lab account.
53
58
@@ -58,6 +63,21 @@ When you select a virtual network for the **Peer virtual network** field, the **
58
63
> [!IMPORTANT]
59
64
> The peered virtual network setting applies only to labs that are created after the change is made, not to the existing labs.
60
65
66
+
67
+
## Specify an address range for VMs in the lab account
68
+
The following procedure has steps to specify an address range for VMs in the lab. If you update the range that you previously specified, the modified address range applies only to VMs that are created after the change was made.
69
+
70
+
Here are some restrictions when specifying the address range that you should keep in mind.
71
+
72
+
- The prefix must be smaller than or equal to 23.
73
+
- If a virtual network is peered to the lab account, the provided address range cannot overlap with address range from peered virtual network.
74
+
75
+
1. On the **Lab Account** page, select **Labs settings** on the left menu.
76
+
2. For the **Address range** field, specify the address range for VMs that will be created in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range.
Copy file name to clipboardExpand all lines: articles/lab-services/classroom-labs/how-to-enable-shutdown-disconnect.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,15 @@ ms.workload: na
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: article
15
-
ms.date: 12/13/2019
15
+
ms.date: 05/15/2020
16
16
ms.author: spelluru
17
17
18
18
---
19
19
20
20
# Enable automatic shutdown of VMs on disconnect
21
21
This article shows you how you can enable or disable automatic shutdown of **Windows 10** lab VMs (template or student) after a remote desktop connection is disconnected. You can also specify how long the VMs should wait for the user to reconnect before automatically shutting down.
22
22
23
-
A lab account administrator can configure this setting for the lab account in which you create labs. For more information, see [Configure automatic shutdown of VMs on disconnect for a lab account](how-to-configure-lab-accounts.md#automatic-shutdown-of-vms-on-disconnect). As a lab owner, you can override the setting when creating a lab or after the lab is created.
23
+
A lab account administrator can configure this setting for the lab account in which you create labs. For more information, see [Configure automatic shutdown of VMs on disconnect for a lab account](how-to-configure-lab-accounts.md). As a lab owner, you can override the setting when creating a lab or after the lab is created.
24
24
25
25
## Configure when creating a lab
26
26
On the step 3 page of lab creation wizard, you can enable or disable this feature and also specify how long the VM should wait for the user to reconnect before automatically shutting down.
Copy file name to clipboardExpand all lines: articles/lab-services/classroom-labs/how-to-manage-lab-accounts.md
+6-32Lines changed: 6 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.workload: na
12
12
ms.tgt_pltfrm: na
13
13
ms.devlang: na
14
14
ms.topic: article
15
-
ms.date: 02/14/2020
15
+
ms.date: 05/15/2020
16
16
ms.author: spelluru
17
17
18
18
---
@@ -41,7 +41,10 @@ The following steps illustrate how to use the Azure portal to create a lab accou
41
41
1. Select an existing **shared image gallery** or create one. You can save the template VM in the shared image gallery for it to be reused by others. For detailed information on shared image galleries, see [Use a shared image gallery in Azure Lab Services](how-to-use-shared-image-gallery.md).
42
42
2. Specify whether you want to **automatically shut down Windows virtual machines** when users disconnect from them. Specify how long the virtual machines should wait for the user to reconnect before automatically shutting down.
43
43
3. For **Peer virtual network**, select a peer virtual network (VNet) for the lab network. Labs created in this account are connected to the selected VNet and have access to the resources in the selected VNet. For more information, see [Connect your lab's virtual network with a peer virtual network](how-to-connect-peer-virtual-network.md).
44
-
8. Specify an **address range** for VMs in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range. For more information, see [Specify an address range for VMs in the lab](how-to-configure-lab-accounts.md#specify-an-address-range-for-vms-in-the-lab)
44
+
8. Specify an **address range** for VMs in the lab. The address range should be in the classless inter-domain routing (CIDR) notation (example: 10.20.0.0/23). Virtual machines in the lab will be created in this address range. For more information, see [Specify an address range for VMs in the lab](how-to-connect-peer-virtual-network.md#specify-an-address-range-for-vms-in-the-lab-account)
45
+
46
+
> [!NOTE]
47
+
> The **address range** property applies only if a **peer virtual network** is enabled for the lab.
6. Select **Next: Tags** at the bottom of the page to switch to the **Tags** tab. Add any tags you want to associate with the lab account. Tags are name/value pairs that enable you to categorize resources and view consolidated billing by applying the same tag to multiple resources and resource groups. For more information, see [Use tags to organize your Azure resources](../../azure-resource-manager/management/tag-resources.md).
@@ -70,28 +73,6 @@ The following steps illustrate how to use the Azure portal to create a lab accou
Follow instructions from the previous section that displays lab accounts in a list. Use the following instructions to delete a lab account:
@@ -109,11 +90,4 @@ Follow instructions from the previous section that displays lab accounts in a li
109
90
> You can also use the Az.LabServices PowerShell module (preview) to manage lab accounts. For more information, see the [Az.LabServices home page on GitHub](https://github.com/Azure/azure-devtestlab/tree/master/samples/ClassroomLabs/Modules/Library).
110
91
111
92
## Next steps
112
-
See the following articles:
113
-
114
-
-[Allow lab creator to pick lab location](allow-lab-creator-pick-lab-location.md)
115
-
-[Connect your lab's network with a peer virtual network](how-to-connect-peer-virtual-network.md)
116
-
-[Attach a shared image gallery to a lab](how-to-attach-detach-shared-image-gallery.md)
117
-
-[Add a user as a lab owner](how-to-add-user-lab-owner.md)
118
-
-[View firewall settings for a lab](how-to-configure-firewall-settings.md)
119
-
-[Configure other settings for a lab](how-to-configure-lab-accounts.md)
93
+
See other articles in the **How-to guides** -> **Create and configure lab accounts (lab account owner)** section of the table-of-content (TOC).
0 commit comments