Access a lab in Azure Lab Services

Before you can access a lab in Azure Lab Services, you need to first register to the lab. In this article, you learn how to register for a lab, connect to a lab virtual machine (VM), start and stop the lab VM, and how to monitor your quota hours.

Prerequisites

  • To register for a lab, you need a lab registration link.
  • To view, start, stop, and connect to a lab VM, you need to register for the lab and have an assigned lab VM.

Register to the lab

To get access to a lab and connect to the lab VM from the Azure Lab Services website, you first need to register for the lab by using a lab registration link. The lab creator can provide the registration link for the lab.

To register for a lab by using the registration link:

  1. Open the lab registration URL in a browser.

    After you complete the lab registration, you no longer need the registration link. Instead, you can navigate to the Azure Lab Services website (https://labs.azure.com) to access your labs.

    Screenshot of registration link for lab.

  2. Sign in to the service using your organizational or school account to complete the registration.

    Note

    You need a Microsoft account to use Azure Lab Services, unless you're using Canvas. If you try to use your non-Microsoft account, such as Yahoo or Google accounts, to sign in to the portal, follow the instructions to create a Microsoft account that's linked to your non-Microsoft account. Then, follow the steps to complete the lab registration process.

  3. After the registration finishes, confirm that you see the lab virtual machine in My virtual machines.

    Screenshot of My virtual machines page for Azure Lab Services.

View your lab virtual machines

You can view all your assigned lab virtual machines to you in the Azure Lab Services website. Alternately, if your organization uses Azure Lab Services with Microsoft Teams or Canvas, learn how you can access your lab VMs in Microsoft Teams or access your lab VMs in Canvas.

  1. Go to the Azure Lab Services website.

  2. The page has a tile for each lab VM that you have access to. The VM tile shows the VM details and provides access to functionality for controlling the lab VM:

    • In the top-left, notice the name of the lab. The lab creator specifies the lab name when creating the lab.
    • In the top-right, you can see an icon that represents the operating system (OS) of the VM.
    • In the center, you can see a progress bar that shows your quota hours consumption.
    • In the bottom-left, you can see the status of the lab VM and a control to start or stop the VM.
    • In the bottom-right, you have the control to connect to the lab VM with remote desktop (RDP) or secure shell (SSH).
    • Also in the bottom-right, you can reset or troubleshoot the lab VM, if you experience problems with the VM.

    Screenshot of My virtual machines page for Azure Lab Services, highlighting the VM tile sections.

Start or stop the VM

As a lab user, you can start or stop a lab VM from the Azure Lab Services website. Alternately, you can also stop a lab VM by using the operating system shutdown command from within the lab VM. The preferred method to stop a lab VM is to use the Azure Lab Services website to avoid incurring additional costs.

Tip

With the April 2022 Updates, Azure Lab Services will detect when a lab user shuts down their VM using the OS shutdown command. After a long delay to ensure the VM wasn't being restarted, the lab VM will be marked as stopped and billing will discontinue.

To start or stop a lab VM in the Azure Lab Services website:

  1. Go to the Azure Lab Services website.

  2. Use the toggle control in the bottom-left of the VM tile to start or stop the lab VM.

    Depending on the current status of the lab VM, the toggle control starts or stops the VM. When the VM is in progress of starting or stopping, the control is inactive.

    Starting or stopping the lab VM might take some time to complete.

    Screenshot of My virtual machines page for Azure Lab Services, highlighting the status toggle and status label on the VM tile.

  3. After the operation finishes, confirm that the lab VM status is correct.

    Screenshot of My virtual machines page for Azure Lab Services, highlighting the status label on the VM tile.

Connect to the VM

Depending on the lab VM operating system configuration, you can use remote desktop (RDP) or secure shell (SSH) to connect to your lab VM. Learn more about how to connect to a lab VM.

View quota hours

On the lab VM tile in the Azure Lab Services website, you can view your consumption of quota hours in the progress bar. Quota hours are the extra time allotted to you outside of the scheduled time for the lab. For example, the time outside of classroom time, to complete homework.

The color of the progress bar and the text under the progress bar changes depending on the scenario:

  • A class is in progress, according to the lab schedules: the progress bar is grayed out to represent that you didn't use quota hours.

    Screenshot of lab VM tile in Azure Lab Services when a schedule started the VM.

  • The lab has no quota (zero hours): the text Available during classes only shows in place of the progress bar.

    Screenshot of lab VM tile in Azure Lab Services when there's no quota.

  • You ran out of quota: the color of the progress bar is red.

    Screenshot of lab VM tile in Azure Lab Services when there's quota usage.

  • No class is in progress, according to the lab schedules: the color of the progress bar is blue to indicate that it's outside the scheduled time for the lab, and some of the quota time was used.

    Screenshot of lab VM tile in Azure Lab Services when quota has been partially used.

Next steps

See the following articles: