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-vm-pool.md
+17-16Lines changed: 17 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,18 @@ ms.topic: how-to
5
5
ms.date: 01/21/2022
6
6
---
7
7
8
-
# Manage a VM pool in Lab Services
8
+
# Manage a VM pool in Lab Services
9
9
10
10
The **Virtual machine pool** page of a lab allows instructors to set how many VMs are available for use and manage the state of those VMs.
11
11
12
-
1. Start and stop all the VMs at once.
13
-
1. Start and stop specific VMs.
14
-
1. Redeploy a VM.
15
-
1. Connect to a student's VM.
16
-
1. Change the lab capacity.
12
+
- Start and stop all the VMs at once.
13
+
- Start and stop specific VMs.
14
+
- Redeploy a VM.
15
+
- Connect to a student's VM.
16
+
- Change the lab capacity.
17
17
18
18
VMs can be in one of a few states.
19
+
19
20
-**Unassigned**. These VMs aren't assigned to students yet. These VMs won't be started when a schedule runs.
20
21
-**Stopped**. VM is turned off and not available for use.
21
22
-**Starting**. VM is starting. It's not yet available for use.
@@ -25,39 +26,39 @@ VMs can be in one of a few states.
25
26
> [!WARNING]
26
27
> Turning on a student VM will not affect the quota for the student. Make sure to stop all VMs manually or using a [schedule](how-to-create-schedules.md) to avoid unexpected costs.
27
28
28
-
###Manually starting VMs
29
+
## Manually starting VMs
29
30
30
31
You can start all VMs in a lab by selecting the **Start all** button at the top of the page.
31
32
32
-
:::image type="content" source="./media/how-to-set-virtual-machine-passwords/start-all-vms-button.png" alt-text="Start your VMs":::
33
+
:::image type="content" source="./media/how-to-set-virtual-machine-passwords/start-all-vms-button.png" alt-text="Screenshot that shows the Virtual machine pool page and the Start all button is highlighted.":::
33
34
34
35
Individual VMs can be started by clicking the state toggle. The toggle will read **Starting** as the VM starts up, and then **Running** once the VM has started. You can also select multiple VMs using the checks to the left of the **Name** column. Once the VMs are checked, select the **Start** button at the top of the screen.
35
36
36
-
###Manually stopping VMs
37
+
## Manually stopping VMs
37
38
38
39
You can select the **Stop all** button to stop all of the VMs.
39
40
40
-
:::image type="content" source="./media/how-to-set-virtual-machine-passwords/stop-all-vms-button.png" alt-text="Stop your VMs":::
41
+
:::image type="content" source="./media/how-to-set-virtual-machine-passwords/stop-all-vms-button.png" alt-text="Screenshot that shows the Virtual machine pool page and the Stop all button is highlighted.":::
41
42
42
43
Individual VMs can be stopped by clicking the state toggle. The toggle will read **Stopping** as the VM shuts down, and then **Stopped** once the VM has shutdown. You can also select multiple VMs using the checks to the left of the **Name** column. Once the VMs are checked, select the **Stop** button at the top of the screen.
43
44
44
-
###Redeploy VMs
45
+
## Redeploy VMs
45
46
46
-
If students are facing difficulties accessing their VM, redeploying the VM may provide a resolution for the issue. Redeploying, unlike resetting, doesn't cause the data on the OS to be lost. When you [redeploy a VM](/azure/virtual-machines/redeploy-to-new-node-windows), Azure Lab Services will shut down the VM, move it to a new host, and restart it. You can think of it as a refresh of the underlying VM for the student’s machine. The student doesn’t need to re-register to the lab or do any other action. Any data you saved in the OS disk (usually C: drive) of the VM will still be available after the redeploy operation. Anything saved on the temporary disk (usually D: drive) will be lost.
47
+
If students are facing difficulties accessing their VM, redeploying the VM may provide a resolution for the issue. Redeploying, unlike resetting, doesn't cause the data on the OS to be lost. When you [redeploy a VM](/troubleshoot/azure/virtual-machines/redeploy-to-new-node-windows), Azure Lab Services will shut down the VM, move it to a new host, and restart it. You can think of it as a refresh of the underlying VM for the student’s machine. The student doesn’t need to re-register to the lab or do any other action. Any data you saved in the OS disk (usually C: drive) of the VM will still be available after the redeploy operation. Anything saved on the temporary disk (usually D: drive) will be lost.
47
48
48
49
Both lab owners and lab users can Redeploy a VM.
49
50
50
-
###Connect to VMs
51
+
## Connect to VMs
51
52
52
53
Instructors can connect to a student VM as long as it's turned on. Verify the student is *not* connected to the VM first. By connecting to the VM, you can access local files on the VM and help students troubleshoot issues.
53
54
54
55
To connect to the student VM, hover the mouse on the VM in the list and select the **Connect** button. For further instructions based on the operating system you're using, see [Connect to the VM](tutorial-connect-lab-virtual-machine.md).
55
56
56
-
###Set lab capacity
57
+
## Set lab capacity
57
58
58
-
To change the lab capacity (number of VMs in the lab), select **Lab capacity** on the toolbar and update number of VMs on the **Lab capacity** window on the right.
59
+
To change the lab capacity (number of VMs in the lab), select **Lab capacity** on the toolbar and update number of VMs on the **Lab capacity** window on the right.
59
60
60
-
:::image type="content" source="./media/how-to-manage-vm-pool/virtual-machine-pool-update-lab-capacity.png" alt-text="Set number of VMs available for the lab.":::
61
+
:::image type="content" source="./media/how-to-manage-vm-pool/virtual-machine-pool-update-lab-capacity.png" alt-text="Screenshot of Lab capacity window.":::
61
62
62
63
If using [Teams](how-to-manage-vm-pool-within-teams.md) or [Canvas](how-to-manage-vm-pool-within-canvas.md) integration, lab capacity will automatically be updated when Azure Lab Services syncs the user list.
Copy file name to clipboardExpand all lines: articles/lab-services/includes/lab-services-add-lab-creator.md
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ author: EMaher
3
3
ms.author: enewman
4
4
ms.date: 01/21/2022
5
5
ms.topic: include
6
+
ms.service: lab-services
6
7
---
7
8
8
9
To create or edit up a lab in the [Azure Lab Services portal](https://labs.azure.com), the instructor must be assigned the **Lab Creator** role on the lab plan. Assigning **Lab Creator** role on the lab plan's resource group will allow an instructor to use all lab plans in that resource group.
@@ -12,15 +13,15 @@ To create or edit up a lab in the [Azure Lab Services portal](https://labs.azure
12
13
13
14
1. On the **Overview** page for the lab plan, select **Add lab creators**.
14
15
15
-
:::image type="content" source="../media/lab-services-add-lab-creator/lab-plan-overview-add-lab-creators-focused.png" alt-text="Screenshot that the **Overview** page of the lab plan." lightbox="../media/lab-services-add-lab-creator/lab-plan-overview-add-lab-creators.png":::
16
+
:::image type="content" source="../media/lab-services-add-lab-creator/lab-plan-overview-add-lab-creators-focused.png" alt-text="Screenshot that shows the **Overview** page of the lab plan." lightbox="../media/lab-services-add-lab-creator/lab-plan-overview-add-lab-creators.png":::
16
17
17
18
1. From the **Access control (IAM)** page, select **Add** > **Add role assignment**.
18
19
19
-

20
+
:::image type="content" source="../../../includes/role-based-access-control/media/add-role-assignment-menu-generic.png" alt-text="Screenshot of the Access control (I A M) page with Add role assignment menu option highlighted.":::
20
21
21
22
1. On the **Role** tab, select the **Lab Creator** role.
22
23
23
-

24
+
:::image type="content" source="../../../includes/role-based-access-control/media/add-role-assignment-role-generic.png" alt-text="Screenshot of Add roll assignment page with Role tab selected.":::
24
25
25
26
1. On the **Members** tab, select the user you want to add to the **Lab Creators** role.
26
27
1. On the **Review + assign** tab, select **Review + assign** to assign the role.
Copy file name to clipboardExpand all lines: articles/lab-services/quick-create-lab-plan-portal.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,14 @@ To complete this quick start, make sure that you have:
23
23
- Azure subscription. If you don’t have one, [create a free account](https://azure.microsoft.com/free/) before you begin.
24
24
25
25
## Create a lab plan
26
+
26
27
The following steps show how to use the Azure portal to create a lab plan.
27
28
28
-
1. In the [Azure portal([https://portal.azure.com), select **Create a resource** at the top left of the screen.
29
+
1. In the [Azure portal](https://portal.azure.com), select **Create a resource** at the top left of the screen.
29
30
1. Select **All services** in the left menu. Search for **Lab plans**.
30
31
1. Select the **Lab plans (preview)** tile, select **Create**.
31
32
32
-
:::image type="content" source="./media/quick-create-lab-plan-portal/select-lab-plans-service.png" alt-text="Screenshot that shows the Lab plan tile for Azure Marketplace.":::
33
+
:::image type="content" source="./media/quick-create-lab-plan-portal/select-lab-plans-service.png" alt-text="Screenshot that shows the Lab plan tile for Azure Marketplace.":::
33
34
34
35
1. On the **Basics** tab of the **Create a lab plan** page:
35
36
1. For the **Subscription**, select the Azure subscription in which you want to create the lab plan.
@@ -38,29 +39,32 @@ The following steps show how to use the Azure portal to create a lab plan.
38
39
1. For **Region**, select the Azure region you want to create the lab plan. (Region for the lab plan is also the default region where your labs will be created.)
39
40
1. Select **Review + create**.
40
41
41
-
:::image type="content" source="./media/quick-create-lab-plan-portal/Create-lab-plan-basics-tab.png" alt-text="Screenshot that shows the Basics tab of the Create a new lab plan experience.":::
42
+
:::image type="content" source="./media/quick-create-lab-plan-portal/Create-lab-plan-basics-tab.png" alt-text="Screenshot that shows the Basics tab of the Create a new lab plan experience.":::
42
43
43
44
1. Review the summary and select **Create**.
44
45
45
-
:::image type="content" source="./media/quick-create-lab-plan-portal/Create-lab-plan-review-create-tab.png" alt-text="Screenshot that shows the Review and Create tab of the Create a new lab plan experience.":::
46
+
:::image type="content" source="./media/quick-create-lab-plan-portal/Create-lab-plan-review-create-tab.png" alt-text="Screenshot that shows the Review and Create tab of the Create a new lab plan experience.":::
46
47
47
48
1. When the deployment is complete, expand **Next steps**, and select **Go to resource**.
48
49
49
-
:::image type="content" source="./media/quick-create-lab-plan-portal/Create-lab-plan-deployment-complete.png" alt-text="Screenshot that the deployment of the lab plan resource is complete.":::
50
+
:::image type="content" source="./media/quick-create-lab-plan-portal/Create-lab-plan-deployment-complete.png" alt-text="Screenshot that the deployment of the lab plan resource is complete.":::
50
51
51
52
1. Confirm that you see the **Overview** page for *MyLabPlan*.
When no longer needed, you can delete the resource group, lab plan, and all related resources.
58
61
59
62
1. On the **Overview** page for the lab plan, select the **Resource group** link.
60
63
1. At the top of the page for the resource group, select **Delete** resource group.
61
64
1. A page will open warning you that you're about to delete resources. Type the name of the resource group and select **Delete** to finish deleting the resources and the resource group.
62
65
63
66
## Next steps
67
+
64
68
In this quickstart, you created a resource group and a lab plan. Advance to the next article to learn how to create a lab.
Copy file name to clipboardExpand all lines: articles/lab-services/quick-create-lab-portal.md
+11-8Lines changed: 11 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,30 +22,30 @@ The following steps show how to create a lab with Azure Lab Services.
22
22
23
23
1. Sign into the [Azure Lab Service portal](https://labs.azure.com).
24
24
1. Select **New lab**.
25
-
25
+
26
26
:::image type="content" source="./media/quick-create-lab-portal/new-lab-button.png" alt-text="Screenshot of Azure Lab Services portal. New lab button is highlighted.":::
27
27
28
28
1. In the **New Lab** window, choose the basic settings for the lab.
29
29
1. Set the **Name** to *Lab 101*.
30
30
1. Set the **Virtual machine image** to **Windows 11 Pro**.
31
31
1. Set the **Virtual machine size** to **Medium**.
32
-
33
-
:::image type="content" source="./media/quick-create-lab-portal/new-lab-window.png" alt-text="Screenshot of the New lab window for Azure Lab Services.":::
32
+
33
+
:::image type="content" source="./media/quick-create-lab-portal/new-lab-window.png" alt-text="Screenshot of the New lab window for Azure Lab Services.":::
34
34
35
35
1. On the **Virtual machine credentials** page, specify default administrator credentials for all VMs in the lab. Specify the **name** and the **password** for the administrator. By default all the student VMs will have the same password as the one specified here.
36
-
37
-
:::image type="content" source="./media/quick-create-lab-portal/new-lab-credentials.png" alt-text="Screenshot of the Virtual Machine credentials window for Azure Lab Services.":::
36
+
37
+
:::image type="content" source="./media/quick-create-lab-portal/new-lab-credentials.png" alt-text="Screenshot of the Virtual Machine credentials window for Azure Lab Services.":::
38
38
39
39
> [!IMPORTANT]
40
40
> Make a note of user name and password. They won't be shown again.
41
41
42
42
1. On the **Lab policies** page, leave the default selections and select **Next**.
43
43
44
-
:::image type="content" source="./media/quick-create-lab-portal/quota-for-each-user.png" alt-text="Screenshot of the Lab policy window when creating a new Azure Lab Services lab.":::
44
+
:::image type="content" source="./media/quick-create-lab-portal/quota-for-each-user.png" alt-text="Screenshot of the Lab policy window when creating a new Azure Lab Services lab.":::
45
45
46
46
1. On the **Template virtual machine settings** window, leave the selection on **Create a template virtual machine**.
47
47
48
-
:::image type="content" source="./media/quick-create-lab-portal/template-virtual-machine-settings.png" alt-text="Screenshot of the Template virtual machine settings windows when creating a new Azure Lab Services lab.":::
48
+
:::image type="content" source="./media/quick-create-lab-portal/template-virtual-machine-settings.png" alt-text="Screenshot of the Template virtual machine settings windows when creating a new Azure Lab Services lab.":::
49
49
50
50
1. You should see the following screen that shows the status of the template VM creation.
51
51
@@ -56,15 +56,18 @@ The following steps show how to create a lab with Azure Lab Services.
56
56
:::image type="content" source="./media/quick-create-lab-portal/lab-template-page.png" alt-text="Screenshot of Template page of a lab.":::
57
57
58
58
## Clean up resources
59
+
59
60
When no longer needed, you can delete the lab.
60
61
61
62
On the tile for the lab, select three dots (...) in the corner, and then select **Delete**.
:::image type="content" source="./media/how-to-manage-labs/delete-button.png" alt-text="Screenshot of My labs page with More menu then Delete menu item highlighted.":::
64
65
65
66
On the **Delete lab** dialog box, select **Delete** to continue with the deletion.
66
67
67
68
## Next steps
69
+
68
70
In this quickstart, you created a lab with Azure Lab Services. Advance to the next article to learn how to configure the template VM.
71
+
69
72
> [!div class="nextstepaction"]
70
73
> [Configure a template VM](how-to-create-manage-template.md)
Copy file name to clipboardExpand all lines: articles/lab-services/tutorial-setup-lab.md
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ In this tutorial, you set up a lab with virtual machines that are used by studen
20
20
21
21
## Prerequisites
22
22
23
-
- A lab plan. To create a lab plan, see [Tutorial: Create a lab plan with Azure Lab Services](tutorial-setup-lab-plan.md).
24
-
- Permission to create a lab. Uou must be a member of one of these roles in the lab plan: Owner, Lab Creator, or Contributor. For more information, see [Azure Lab Services built-in roles](administrator-guide.md#rbac-roles). The user account used to create a lab plan will already have the required permissions to create a lab.
23
+
* A lab plan. To create a lab plan, see [Tutorial: Create a lab plan with Azure Lab Services](tutorial-setup-lab-plan.md).
24
+
* Permission to create a lab. You must be a member of one of these roles in the lab plan: Owner, Lab Creator, or Contributor. For more information, see [Azure Lab Services built-in roles](administrator-guide.md#rbac-roles). The user account used to create a lab plan will already have the required permissions to create a lab.
25
25
26
26
Here's the typical workflow when using Azure Lab Services:
27
27
@@ -130,7 +130,6 @@ Create a scheduled event for the lab so that VMs in the lab are automatically st
130
130
131
131
For more information about creating and managing schedules for a class, see [Create and manage schedule for labs](how-to-create-schedules.md).
132
132
133
-
134
133
## Add users to the lab
135
134
136
135
In this section, you add students to the lab. Students can be added to a lab several ways including [manually by entering an email address](how-to-configure-student-usage.md#add-users-by-email-address), [uploading a CSV file with student information](how-to-configure-student-usage.md#add-users-by-uploading-a-csv-file), or [syncing to an Azure AD group](how-to-configure-student-usage.md#sync-users-with-azure-ad-group).
@@ -153,7 +152,6 @@ By default, the **Restrict access** option, found on the **Users** page, is turn
153
152
> [!NOTE]
154
153
> After the students are registered with the lab, the list displays their names. The name that's shown in the list is constructed by using the first and last names of the student's information from Azure AD or their Microsoft Account. For more information on supported account types, see [Student accounts](how-to-configure-student-usage.md#student-accounts).
155
154
156
-
157
155
## Send invitation emails to users
158
156
159
157
1. Switch to the **Users** view if you aren't on the page already, and select **Invite all** on the toolbar.
0 commit comments