Microsoft released in February 2019 a new service called Azure Lab service. With Azure Lab Services, you can easily set up and provide on-demand access to preconfigured virtual machines. Thanks to a dashboard, you can also keep your budget in check by controlling exactly how many hours your lab users can use the virtual machines.

Azure lab Service is interesting to deploy the following scenarios:

  • Professional training or school classes
  • Hackathons
  • Hands-on labs
  • Environments for demo
  • Machines for development and test environments

In the Lab Account configuration you can also specify whether the resources created in the lab are connected to a specific virtual network. It is nice if you need to connect two labs between them.

This article shows how to enable and configure the service and explores the main features of the solution.

Creating the lab account

Open the Azure Portal and navigate to Azure Lab Services. Click “Add” to create a new lab account.

Azure Lab Services

Enter the following information:

  1. The Lab Account name
  2. Select the subscription
  3. Select a Resource Group or create a new one
  4. The location where the lab account will be located
  5. A peer Virtual Network

Lab account info

When the Lab Account is created, you must add the Lab Creator role to an existing Azure AD user. If you don’t have an existing account, you must create a new one.

Add the Lab Creator role In this article, I created a sample user named ”The Professor”

Add role assignment

In the lab configuration, you can specify which of the Azure Marketplace images you can make available. The Lab Creator user will be able to create a template based on these images. To enable an image, you just need to select the image and click “Enable selected images”

Enable selected images

Creating the lab

When the lab account is created and configured in the Azure portal, you have to create the lab from the following website:

Log in with the account created previously (e.g “The_Professor”) and click “Add” to create a new lab, setting its name and the maximum number of VMs. The limit can be increased later to suit your needs.

Set new lab's name and the maximum number of VMs

Click “Save” and select the Virtual Machine specifications:

  • Core
  • RAM
  • VM Image

Click “Save” and select the Virtual Machine specifications  Virtual Machine specifications

At this step you must specify the credentials to access the virtual machines. It is very interesting in order to create the same administrator account in all Virtual Machines.

Specify the credentials to access the virtual machines Wait until the template is created

Wait until the template is created

At the end of this creation process you can make changes to the virtual machine template, by directly connecting via Remote Desktop, such as the installation and configuration of additional software.

Remote Desktop When you are happy with your template, you can proceed with the template publication. By clicking ”Publish”

Proceed with the template publication

Wait a few moment …

Template was published

When the template is published, you can see the following dashboard:

  • Manage your Virtual Machines
  • Set lab schedules
  • Add users to lab

Manage your Virtual Machines You can allow user to use the lab during specific schedules.


To finish, click “Users” in order to register a user in the Lab :

To finish, click “Users”

VSAN from StarWind is software-defined storage (SDS) solution created with restricted budgets and maximum output in mind. It pulls close to 100% of IOPS from existing hardware, ensures high uptime and fault tolerance starting with just two nodes. StarWind VSAN is hypervisor and hardware agnostic, allowing you to forget about hardware restrictions and crazy expensive physical shared storage.

Build your infrastructure with off-the-shelf hardware, scale however you like, increase return on investment (ROI) and enjoy Enterprise-grade virtualization features and benefits at SMB price today!


The user can access to the Azure Lab Services site and use the lab environment virtual machine assigned to him.

Note that users don’t need Azure subscriptions to use the service.

You can confirm that your lab is ready to be used in the Azure Portal by clicking “Labs”

You can confirm that your lab is ready


Azure Lab Services is in General Availability, so I advise you to try Azure Lab Services. Note that you can make suggestions or vote on priorities on the UserVoice feedback forum.

Back to blog