title | description | ms.topic | ms.date |
---|---|---|---|
Access a lab in Azure Lab Services | Microsoft Docs |
In this tutorial, students access virtual machines in a lab that's set up by an educator. |
tutorial |
01/04/2022 |
In this tutorial, you, as a student, connect to a virtual machine (VM) in a lab by completing the following actions in the Lab Services web portal: https://labs.azure.com:
[!div class="checklist"]
- Register to the lab
- Start the VM
- Connect to the VM
The tutorial applies to the Lab Services web portal (https://labs.azure.com) only. If using Teams, see Access a VM (student view) in Azure Lab from Teams. If using Canvas, see Access a VM (student view) in Azure Lab Services from Canvas.
-
Navigate to the registration URL that you received from the educator. You only have to use the registration URL once to complete the registration. Registration must be completed for each lab.
[!IMPORTANT] Registration must be completed for each lab.
:::image type="content" source="./media/tutorial-connect-vm-in-classroom-lab/register-lab.png" alt-text="Screenshot of browser with example registration link for Azure Lab Services. Registration link is highlighted.":::
-
Sign in using your school account to complete the registration.
[!NOTE] A Microsoft account is required for using Azure Lab Services. If you are trying to use your non-Microsoft account such as Yahoo or Google accounts to sign in to the portal, follow instructions to create a Microsoft account that will be linked to your non-Microsoft account email. Then, follow the steps to complete the registration process.
-
Once registered, confirm that you see the virtual machine for the lab you have access to. Now that you have registered, you can go directly to the Azure Lab Services portal at https://labs.azure.com in the future. :::image type="content" source="./media/tutorial-connect-vm-in-classroom-lab/accessible-vms.png" alt-text="Screenshot of My virtual machines page in Azure Lab Services portal.":::
-
Wait until the virtual machine is ready. On the VM tile, notice the following fields:
- At the top of the tile, you see the name of the lab.
- To its right, you see the icon representing the operating system (OS) of the VM. In this example, it's Windows.
- The progress bar on the tile shows the number of hours used against the number of quota hours assigned to you. Quota time is time you have in addition to the scheduled time for the lab.
- You see icons and buttons at the bottom of the tile to start, stop, and connect to the VM.
- To the right of the buttons, you see the status of the VM. Confirm that you see the status of the VM is Stopped. :::image type="content" source="./media/tutorial-connect-vm-in-classroom-lab/vm-in-stopped-state.png" alt-text="Screenshot of My virtual machines page in Azure Lab Services portal. VM state toggle with stopped label is highlighted.":::
- Start the VM by selecting the toggle button as shown in the following image. This process takes some time.
:::image type="content" source="./media/tutorial-connect-vm-in-classroom-lab/start-vm.png" alt-text="Screenshot of My virtual machines page in Azure Lab Services portal. VM state toggle with starting label is highlighted."::: - Confirm that the status of the VM is set to Running. :::image type="content" source="./media/tutorial-connect-vm-in-classroom-lab/vm-running.png" alt-text="Screenshot of My virtual machines page in Azure Lab Services portal. VM state toggle with running label is highlighted.":::
- Select the button in the lower right of the tile as shown in the following image to connect to the lab's VM. :::image type="content" source="./media/tutorial-connect-vm-in-classroom-lab/connect-vm.png" alt-text="Screenshot of My virtual machines page in Azure Lab Services portal. Connect VM button is highlighted.":::
- Do one of the following steps:
- For Windows virtual machines, open the RDP file once it has finished downloading. Use the username and password you get from your educator to sign in to the machine. For more information, see Connect to a Windows lab VM.
- For Linux virtual machines, you can use SSH or RDP (if it's enabled) to connect to them. For more information, see Connect to a Linux lab VM.
In this tutorial, you accessed a lab using the registration link you got from your educator. When done with the VM, stop the VM from the Azure Lab Services portal.
[!div class="nextstepaction"] Stop the VM