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
description: Learn how to set up a lab for classroom training with Azure Lab Services. Assign lab creators, customize lab VM image, and invite lab users to register for the lab.
4
+
description: Learn how to set up a lab for classroom training with Azure Lab Services. Customize lab VM image and invite lab users to register for the lab.
5
5
ms.topic: tutorial
6
6
services: lab-services
7
7
ms.service: lab-services
8
-
author: ntrogh
9
-
ms.author: nicktrog
10
-
ms.date: 01/24/2023
8
+
author: RoseHJM
9
+
ms.author: rosemalcolm
10
+
ms.date: 03/13/2024
11
11
ms.custom: subject-rbac-steps
12
+
#customer intent: As an administrator or educator, I want to create a lab, schedule teaching events, add users, and invite the users to register for the lab in Azure Lab Services.
12
13
---
13
14
14
15
# Tutorial: Create a lab for classroom training with Azure Lab Services
15
16
16
-
Azure Lab Services enables you to create labs, whose infrastructure is managed by Azure. In this tutorial, you create a lab for classroom training with Azure Lab Services. Learn how to set up a customized lab template, and invite students to register for their lab virtual machine (VM).
17
-
18
-
In this tutorial, you have the Lab Creator Azure RBAC role to let you create labs for a lab plan. Depending on your organization, the responsibilities for creating lab plans and labs might be assigned to different people or teams. Learn more about [mapping permissions across your organization](./classroom-labs-scenarios.md#mapping-organizational-roles-to-permissions).
17
+
In this tutorial, you create a lab for classroom training with Azure Lab Services. Azure Lab Services enables you to create labs, whose infrastructure is managed by Azure. Learn how to set up a customized lab template and invite students to register for their lab virtual machine (VM).
19
18
20
19
:::image type="content" source="./media/tutorial-setup-lab/lab-services-process-setup-lab.png" alt-text="Diagram that shows the steps involved in creating a lab with Azure Lab Services.":::
21
20
21
+
You need the Lab Creator Azure RBAC role to create labs for a lab plan. Depending on your organization, the responsibilities for creating lab plans and labs might be assigned to different people or teams. Learn more about [mapping permissions across your organization](./classroom-labs-scenarios.md#mapping-organizational-roles-to-permissions) lightbox="./media/tutorial-setup-lab/lab-services-process-setup-lab.png".
22
+
22
23
After you complete this tutorial, lab users can register for the lab using their email, and connect to their lab virtual machine with remote desktop (RDP).
23
24
24
25
In this tutorial, you learn how to:
@@ -37,17 +38,17 @@ In this tutorial, you learn how to:
37
38
38
39
## Create a lab
39
40
40
-
You use the Azure Lab Services website to create a customizable lab (lab template) in the lab plan. In Azure Lab Services, a lab contains the configuration and settings for creating lab VMs. All lab VMs within a lab are identical. In the next section, you'll customize the lab template for the classroom training.
41
+
You use the Azure Lab Services website to create a customizable lab (lab template) in the lab plan. In Azure Lab Services, a lab contains the configuration and settings for creating lab VMs. All lab VMs in a lab are the same. In the next section, you customize the lab template for the classroom training.
41
42
42
-
Follow these steps to add a lab to the lab plan you created earlier:
43
+
Follow these steps to add a lab to a lab plan.
43
44
44
45
1. Sign in to the [Azure Lab Services website](https://labs.azure.com) by using the credentials for your Azure subscription.
45
46
46
-
1. Select **New lab**.
47
+
1. Select **Create lab**.
47
48
48
-
:::image type="content" source="./media/tutorial-setup-lab/new-lab-button.png" alt-text="Screenshot of the Azure Lab Services website, highlighting the New lab button.":::
49
+
:::image type="content" source="./media/tutorial-setup-lab/new-lab-button.png" alt-text="Screenshot of the Azure Lab Services website, highlighting the Create lab button." lightbox="./media/tutorial-setup-lab/new-lab-button.png":::
49
50
50
-
1. On the **New Lab** page, enter the following information, and then select **Next**:
51
+
1. On the **New lab** page, enter the following information, and then select **Next**:
51
52
52
53
| Field | Description |
53
54
| ------------ | -------------------------- |
@@ -56,9 +57,9 @@ Follow these steps to add a lab to the lab plan you created earlier:
56
57
|**Virtual machine size**| Select *Small*. |
57
58
|**Location**| Leave the default value. |
58
59
59
-
Some virtual machine sizes might not be available depending on the lab plan region and your subscription core limit. Learn more about [virtual machine sizes in the administrator's guide](./administrator-guide.md#vm-sizing) and how to [request additional capacity](./how-to-request-capacity-increase.md).
60
+
Some virtual machine sizes might not be available depending on the lab plan region and your subscription core limit. Learn more about [virtual machine sizes in the administrator's guide](./administrator-guide.md#vm-sizing) and how to [request more capacity](./how-to-request-capacity-increase.md).
60
61
61
-
1. On the **Virtual machine credentials** page, specify the default **username** and **password**, and then select **Next**.
62
+
1. On the **Virtual machine credentials** page, specify the default **Username** and **Password**, and then select **Next**.
62
63
63
64
By default, all the lab VMs use the same credentials.
64
65
@@ -67,31 +68,31 @@ Follow these steps to add a lab to the lab plan you created earlier:
67
68
68
69
:::image type="content" source="./media/tutorial-setup-lab/new-lab-credentials.png" alt-text="Screenshot of the Virtual machine credentials page in the Azure Lab Services website.":::
69
70
70
-
1. On the **Lab policies** page, leave the default values and select **Next**.
71
+
1. On the **Lab policies** page, accept the default values and select **Next**.
71
72
72
73
1. On the **Template virtual machine settings** page, select **Create a template virtual machine**.
73
74
74
-
A *template virtual machine* enables you to make configuration changes or install software on top of the base VM image.
75
+
A *template virtual machine* enables you to make configuration changes or install software on the base VM image.
75
76
76
77
:::image type="content" source="./media/tutorial-setup-lab/template-virtual-machine-settings.png" alt-text="Screenshot of the Template virtual machine settings page, highlighting the option to create a template VM.":::
77
78
78
-
1. Select **Finish** to start the lab creation. It might take several minutes for the lab creation to finish.
79
+
1. Select **Finish** to start creating the lab. It might take several minutes.
79
80
80
81
1. When the lab creation finishes, you can see the lab details in the **Template** page.
81
82
82
-
:::image type="content" source="./media/tutorial-setup-lab/lab-template.png" alt-text="Screenshot of Template page for a lab.":::
83
+
:::image type="content" source="./media/tutorial-setup-lab/lab-template.png" alt-text="Screenshot of Template page for a lab, which displays the template." lightbox="./media/tutorial-setup-lab/lab-template.png":::
83
84
84
85
## Add a lab schedule
85
86
86
-
Instead of each lab user starting their lab VM manually, you can optionally create a lab schedule to automatically start and stop the lab VM according to your training calendar. Azure Lab Services supports one-time events or recurring schedules.
87
+
Instead of each lab user starting their lab VM manually, you can optionally create a lab schedule to automatically start and stop the lab VMs according to your training calendar. Azure Lab Services supports one-time events or recurring schedules.
87
88
88
-
Alternately, you can also use [quota](./classroom-labs-concepts.md#quota) to manage the number of hours that lab users can run their lab virtual machine.
89
+
You can also use a[quota](./classroom-labs-concepts.md#quota) to manage the number of hours that lab users can run their lab virtual machine.
89
90
90
91
Follow these steps to add a recurring schedule to your lab:
91
92
92
93
1. On the **Schedule** page for the lab, select **Add scheduled event** on the toolbar.
93
94
94
-
:::image type="content" source="./media/tutorial-setup-lab/add-schedule-button.png" alt-text="Screenshot of the Add scheduled event button on the Schedule page, highlighting the Schedule menu and Add scheduled event button.":::
95
+
:::image type="content" source="./media/tutorial-setup-lab/add-schedule-button.png" alt-text="Screenshot of the Add scheduled event button on the Schedule page, highlighting the Schedule menu and Add scheduled event button." lightbox="./media/tutorial-setup-lab/add-schedule-button.png":::
95
96
96
97
1. On the **Add scheduled event** page, enter the following information:
97
98
@@ -107,47 +108,47 @@ Follow these steps to add a recurring schedule to your lab:
107
108
108
109
1. Select **Save** to confirm the lab schedule.
109
110
110
-
:::image type="content" source="./media/tutorial-setup-lab/add-schedule-page-weekly.png" alt-text="Screenshot of the Add scheduled event window.":::
111
+
:::image type="content" source="./media/tutorial-setup-lab/add-schedule-page-weekly.png" alt-text="Screenshot of the Add scheduled event window." lightbox="./media/tutorial-setup-lab/add-schedule-page-weekly.png":::
111
112
112
113
1. In the calendar view, confirm that the scheduled event is present.
113
114
114
-
:::image type="content" source="./media/tutorial-setup-lab/schedule-calendar.png" alt-text="Screenshot of the Schedule page for Azure Lab Services. Repeating schedule, Monday through Friday shown in the calendar.":::
115
+
:::image type="content" source="./media/tutorial-setup-lab/schedule-calendar.png" alt-text="Screenshot of the Schedule page for Azure Lab Services. Repeating schedule, Monday through Friday shown in the calendar." lightbox="./media/tutorial-setup-lab/schedule-calendar.png":::
115
116
116
117
## Customize the lab template
117
118
118
119
The lab template serves as the basis for the lab VMs. To make sure that lab users have the right configuration and software components, you can customize the lab template.
119
120
120
-
To customize the lab template, you first start the template virtual machine. You can then connect to it and configure it for the classroom training.
121
+
To customize the lab template, start the template virtual machine. Then connect and configure it for the classroom training.
121
122
122
123
Use the following steps to update a template VM.
123
124
124
125
1. On the **Template** page for the lab, select **Start template** on the toolbar.
125
126
126
-
It may take a few minutes for the VM to be running.
127
+
It might take a few minutes for the VM to start.
127
128
128
-
1.When the template VM is running, select **Connect to template**, and open the downloaded remote desktop connection file.
129
+
1.After the template VM starts, select **Connect to template**, and open the downloaded remote desktop connection file.
129
130
130
-
:::image type="content" source="./media/tutorial-setup-lab/connect-template-vm.png" alt-text="Screenshot that shows the Template page for a lab, highlighting Connect to template.":::
131
+
:::image type="content" source="./media/tutorial-setup-lab/connect-template-vm.png" alt-text="Screenshot that shows the Template page for a lab, highlighting Connect to template." lightbox="./media/tutorial-setup-lab/connect-template-vm.png":::
131
132
132
-
1. Sign in to the template VM with the credentials you specified for creating the lab.
133
+
1. Sign in to the template VM with the credentials you specified for the lab.
133
134
134
-
1. Install any software that's needed for the classroom training. For example, you might install [Visual Studio Code](https://code.visualstudio.com) for a general programming course.
135
+
1. Install any software that you need for the classroom training. For example, you might install [Visual Studio Code](https://code.visualstudio.com) for a general programming course.
135
136
136
-
1.Disconnect (close your remote desktop session) from the template VM.
137
+
1.Close your remote desktop session to disconnect from the template VM.
137
138
138
139
1. On the **Template** page, select **Stop template**.
139
140
140
-
You've now customized the lab template for the course. Every VM in the lab will have the same configuration as the template VM.
141
+
Youcustomized the lab template for the course. After you publish, every VM in the lab has the same configuration as the template VM.
141
142
142
143
## Publish lab
143
144
144
-
All VMs in the lab share the same configuration as the lab template. Before Azure Lab Services can create lab VMs for your lab, you first need to publish the lab. When you publish the lab, you can specify the maximum number of lab VMs that Azure Lab Services creates. You can also modify the number of lab virtual machines at a later stage.
145
+
All VMs in the lab share the same configuration as the lab template. Before Azure Lab Services creates lab VMs for your lab, you need to publish the lab. You can specify the maximum number of lab VMs that Azure Lab Services creates. You can also modify the number of lab virtual machines at a later stage.
145
146
146
147
To publish the lab and create the lab VMs:
147
148
148
149
1. On the **Template** page, select **Publish** on the toolbar.
149
150
150
-
:::image type="content" source="./media/tutorial-setup-lab/template-page-publish-button.png" alt-text="Screenshot that shows the Template page for the lab, highlighting the Publish template menu button.":::
151
+
:::image type="content" source="./media/tutorial-setup-lab/template-page-publish-button.png" alt-text="Screenshot that shows the Template page for the lab, highlighting the Publish template menu button." lightbox="./media/tutorial-setup-lab/template-page-publish-button.png":::
151
152
152
153
> [!WARNING]
153
154
> Publishing is an irreversible action, and can't be undone.
@@ -160,7 +161,7 @@ To publish the lab and create the lab VMs:
160
161
161
162
The lab VMs are currently stopped and unassigned, which means that they aren't assigned to specific lab users.
162
163
163
-
:::image type="content" source="./media/tutorial-setup-lab/virtual-machines-stopped.png" alt-text="Screenshot that shows the list of virtual machines for the lab. The lab VMs show as unassigned and stopped.":::
164
+
:::image type="content" source="./media/tutorial-setup-lab/virtual-machines-stopped.png" alt-text="Screenshot that shows the list of virtual machines for the lab. The lab VMs show as unassigned and stopped." lightbox="./media/tutorial-setup-lab/virtual-machines-stopped.png":::
164
165
165
166
> [!CAUTION]
166
167
> When you republish a lab, Azure Lab Services recreates all existing lab virtual machines and removes all data from the virtual machines.
@@ -178,53 +179,53 @@ To allow access for users to a lab, perform the following steps:
178
179
179
180
Azure Lab Services supports multiple ways to add users to a lab:
180
181
181
-
-Manually by entering an email address
182
+
-Enter email addresses manually
182
183
- Upload a CSV file with student information
183
184
- Sync the lab with a Microsoft Entra group
184
185
185
-
In this quickstart, you manually add the users by providing their email address. Follow these steps to add the users:
186
+
In this tutorial, manually add the users by providing email addresses. To add the users, follow these steps:
186
187
187
188
1. Select the **Users** page for the lab, and select **Add users manually**.
188
189
189
-
:::image type="content" source="./media/tutorial-setup-lab/add-users-manually.png" alt-text="Screenshot that shows the Users page, highlighting Add users manually.":::
190
+
:::image type="content" source="./media/tutorial-setup-lab/add-users-manually.png" alt-text="Screenshot that shows the Users page, highlighting Add users manually." lightbox="./media/tutorial-setup-lab/add-users-manually.png":::
190
191
191
192
1. On the **Add users** page, enter the lab user email addresses on separate lines or on a single line separated by semicolons.
192
193
193
194
:::image type="content" source="./media/tutorial-setup-lab/add-users-email-addresses.png" alt-text="Screenshot that shows the Add users page, enabling you to enter user email addresses.":::
194
195
195
196
1. Select **Add** to add the users and grant them access to the lab.
196
197
197
-
You've now added users to the lab. On the **Users** page, you can see that their status is **Not registered**. You can now invite these users to the lab by sending them a registration link.
198
+
You added users to the lab. On the **Users** page, you can see that their status is **Not registered**. You can now invite these users to the lab by sending them a registration link.
198
199
199
200
### Send invitation emails
200
201
201
-
After you add users to the lab, they can register for the lab by using a registration link for the lab. You can either manually provide users with the link, or you can invite users by letting Azure Lab Services send invitation emails.
202
+
After you add users to the lab, they can register for the lab by using a registration link for the lab. You can either manually provide users with the link or Azure Lab Services can send invitation emails.
202
203
203
204
1. On the **Users** page for the lab, select **Invite all** on the toolbar.
204
205
205
-
:::image type="content" source="./media/tutorial-setup-lab/invite-all-button.png" alt-text="Screenshot of the User page in Azure Lab Services, highlighting the Invite all button.":::
206
+
:::image type="content" source="./media/tutorial-setup-lab/invite-all-button.png" alt-text="Screenshot of the User page in Azure Lab Services, highlighting the Invite all button." lightbox="./media/tutorial-setup-lab/invite-all-button.png":::
206
207
207
208
1. On the **Send invitation by email** page, enter an optional message, and then select **Send**.
208
209
209
210
The email automatically includes the registration link. You can also get this registration link by selecting **... (ellipsis)** > **Registration link** on the toolbar.
210
211
211
-
:::image type="content" source="./media/tutorial-setup-lab/send-email.png" alt-text="Screenshot that shows the Send invitation by email page in the Azure Lab Services website.":::
212
+
:::image type="content" source="./media/tutorial-setup-lab/send-email.png" alt-text="Screenshot that shows the Send invitation by email page in the Azure Lab Services website." lightbox="./media/tutorial-setup-lab/send-email.png":::
212
213
213
214
1. You can track the status of the invitation in the **Users** list.
214
215
215
216
The status should change to **Sending** and then to **Sent on <date>**.
216
-
217
-
After a users registers for the lab, their name will also be shown on the **Users** page.
217
+
218
+
After users register for the lab, their names appear on the **Users** page.
218
219
219
220
## Troubleshooting
220
221
221
222
[!INCLUDE [Troubleshoot not authorized error](./includes/lab-services-troubleshoot-not-authorized.md)]
222
223
223
224
[!INCLUDE [Troubleshoot region restriction](./includes/lab-services-troubleshoot-region-restriction.md)]
224
225
225
-
## Next steps
226
+
## Next step
226
227
227
-
You've successfully created a customized lab for a classroom training, created a recurring lab schedule, and invited users to register for the lab. Next, lab users can now connect to their lab virtual machine by using remote desktop.
228
+
Youcreated a customized lab for a classroom training, created a recurring lab schedule, and invited users to register for the lab. Next, lab users can connect to their lab virtual machine by using remote desktop.
228
229
229
230
> [!div class="nextstepaction"]
230
231
> [Register for the lab and access the lab in the Lab Services website](./tutorial-connect-lab-virtual-machine.md)
0 commit comments