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-manage-classroom-labs.md
+28-14Lines changed: 28 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Manage labs in Azure Lab Services when using lab accounts| Microsoft Docs
3
3
description: Learn how to create and configure a lab, view all the labs, share the registration link with a lab user, or delete a lab.
4
4
ms.topic: how-to
5
-
ms.date: 11/12/2021
5
+
ms.date: 03/28/2023
6
6
---
7
7
8
8
# Manage labs in Azure Lab Services when using lab accounts
@@ -21,7 +21,8 @@ To set up a lab in a lab account, you must be a member of the **Lab Creator** ro
21
21
2. Select **Sign in** and enter your credentials. Select or enter a **user ID** that is a member of the **Lab Creator** role in the lab account, and enter password. Azure Lab Services supports organizational accounts and Microsoft accounts.
22
22
3. Select **New lab**.
23
23
24
-

24
+

25
+
25
26
4. In the **New Lab** window, do the following actions:
26
27
1. Specify a **name** for your lab.
27
28
1. Select the **size of the virtual machines** you need for the class. For the list of sizes available, see the [VM Sizes](#vm-sizes) section.
@@ -42,20 +43,23 @@ To set up a lab in a lab account, you must be a member of the **Lab Creator** ro
42
43
> Make a note of user name and password. They won't be shown again.
43
44
3. Disable **Use same password for all virtual machines** option if you want students to set their own passwords. This step is **optional**.
44
45
45
-
An educator can choose to use the same password for all the VMs in the lab, or allow students to set passwords for their VMs. By default, this setting is enabled for all Windows and Linux images except for Ubuntu. When you select **Ubuntu** VM, this setting is disabled, so the students will be prompted to set a password when they sign in for the first time.
46
+
An educator can choose to use the same password for all the VMs in the lab, or allow students to set passwords for their VMs. By default, this setting is enabled for all Windows and Linux images except for Ubuntu. When you select **Ubuntu** VM, this setting is disabled and students are prompted to set a password when they sign in for the first time.
47
+
48
+
:::image type="content" source="./media/how-to-manage-classroom-labs/virtual-machine-credentials.png" alt-text="Screenshot that shows the Virtual machine credentials page of the New lab wizard.":::
4. Then, select **Next** on the **Virtual machine credentials** page.
51
+
49
52
6. On the **Lab policies** page, do the following steps:
50
53
1. Enter the number of hours allotted for each user (**quota for each user**) outside the scheduled time for the lab.
51
54
2. For the **Auto-shutdown of virtual machines** option, specify whether you want the VM to be automatically shut down when user disconnects. You can also specify how long the VM should wait for the user to reconnect before automatically shutting down. For more information, see [Enable automatic shutdown of VMs on disconnect](how-to-enable-shutdown-disconnect.md).
52
55
3. Then, select **Finish**.
53
56
54
-

57
+
:::image type="content" source="./media/how-to-manage-classroom-labs/quota-for-each-user.png" alt-text="Screenshot that shows the Lab policies page of the New lab wizard.":::
55
58
56
59
7. You should see the following screen that shows the status of the template VM creation. The creation of the template in the lab takes up to 20 minutes.
57
60
58
-

61
+

62
+
59
63
8. On the **Template** page, do the following steps: These steps are **optional** for the tutorial.
60
64
61
65
1. Start the template VM.
@@ -66,19 +70,22 @@ To set up a lab in a lab account, you must be a member of the **Lab Creator** ro
66
70
67
71
9. On **Template** page, select **Publish** on the toolbar.

70
74
71
75
> [!WARNING]
72
76
> Once you publish, you can't unpublish.
77
+
73
78
10. On the **Publish template** page, enter the number of virtual machines you want to create in the lab, and then select **Publish**.
74
79
75
-

80
+

81
+
76
82
11. You see the **status of publishing** the template on page. This process can take up to an hour.
12. Switch to the **Virtual machines pool** page by selecting Virtual machines on the left menu or by selecting Virtual machines tile. Confirm that you see virtual machines that are in **Unassigned** state. These VMs are not assigned to students yet. They should be in **Stopped** state. You can start a student VM, connect to the VM, stop the VM, and delete the VM on this page. You can start them in this page or let your students start the VMs.
84
+

80
85
81
-

86
+
12. Switch to the **Virtual machines pool** page by selecting Virtual machines on the left menu or by selecting Virtual machines tile. Confirm that you see virtual machines that are in **Unassigned** state. These VMs aren't assigned to students yet. They should be in **Stopped** state. You can start a student VM, connect to the VM, stop the VM, and delete the VM on this page. You can start them in this page or let your students start the VMs.
87
+
88
+

82
89
83
90
You do the following tasks on this page (don't do these steps for the tutorial. These steps are for your information only.):
84
91
@@ -99,23 +106,26 @@ For information on VM sizes and their cost, see the [Azure Pricing Calculator](h
99
106
1. Select **Sign in**. Select or enter a **user ID** that is a member of the **Lab Creator** role in the lab account, and enter password. Azure Lab Services supports organizational accounts and Microsoft accounts.
100
107
101
108
[!INCLUDE [Select a tenant](./includes/multi-tenant-support.md)]
109
+
102
110
1. Confirm that you see all the labs in the selected lab account. On the lab's tile, you see the number of virtual machines in the lab and the quota for each user (outside the scheduled time).

121
+
112
122
1. On the **Delete lab** dialog box, select **Delete** to continue with the deletion.
113
123
114
124
## Switch to another lab
115
125
116
126
To switch to another lab from the current, select the drop-down list of labs in the lab account at the top.
117
127
118
-

128
+

119
129
120
130
You can also create a new lab using the **New lab** in this drop-down list.
121
131
@@ -124,6 +134,10 @@ You can also create a new lab using the **New lab** in this drop-down list.
124
134
125
135
To switch to a different lab account, select the drop-down next to the lab account and select the other lab account.
126
136
137
+
## Troubleshooting
138
+
139
+
[!INCLUDE [Troubleshoot insufficient IP addresses](./includes/lab-services-troubleshoot-insufficient-ip-addresses.md)]
### Lab creation fails because of insufficient IP addresses
10
+
11
+
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).
12
+
13
+
For example, if you have a block of /19, this address range can accommodate 8192 IP addresses and 16 labs (8192/512 = 16 labs). In this case, lab creation fails on the 17th lab creation.
14
+
15
+
Learn how to [increase the IP address range for a lab account](./how-to-connect-peer-virtual-network.md#specify-an-address-range-for-vms-in-the-lab-account).
Copy file name to clipboardExpand all lines: articles/lab-services/tutorial-setup-lab-account.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,10 @@ Follow these steps to [assign Azure roles using the Azure portal](../role-based-
92
92
93
93
1. On the **Review + assign** tab, select **Review + assign** to assign the role.
94
94
95
+
## Troubleshooting
96
+
97
+
[!INCLUDE [Troubleshoot insufficient IP addresses](./includes/lab-services-troubleshoot-insufficient-ip-addresses.md)]
98
+
95
99
## Next steps
96
100
97
101
In this tutorial, you created a lab account and granted lab creation permissions to another user. To learn about how to create a lab, advance to the next tutorial:
0 commit comments