Tutorial: Set up a lab account with Azure Lab Services
For greater performance gains, we recommend that you use the August 2022 Update.
As part of the August 2022 update, Azure Lab Services Lab Plans replace lab accounts. For new customers, learn how you can get started by creating a lab plan. For existing lab account customers we recommend that you transition from lab accounts to lab plans.
Beginning February 21st, 2023, you won't be able to create a Lab Account to use the service. If you have a new subscription, you will instead be able to create a Lab plan to use the service.
If you already have a Lab account, you can continue to use it and if you need additional lab accounts, as an exception, you can submit an Azure support ticket.
In Azure Lab Services, a lab account serves as the central resource in which you manage your organization's labs. In your lab account, give permission to others to create labs, and set policies that apply to all labs under the lab account. In this tutorial, learn how to create a lab account by using the Azure portal.
In this tutorial, you do the following actions:
- Create a lab account
- Add a user to the Lab Creator role
- An Azure account with an active subscription. If you don't have an Azure subscription, create a free account before you begin.
Create a lab account
The following steps illustrate how to use the Azure portal to create a lab account with Azure Lab Services.
Sign in to the Azure portal.
Select Create a resource in the upper left-hand corner of the Azure portal.
Search for lab account. (Lab account can also be found under the DevOps category.)
On the Lab account tile, select Create > Lab account.
On the Basics tab of the Create a lab account page, provide the following information:
Field Description Subscription Select the Azure subscription that you want to use to create the resource. Resource group Select an existing resource group or select Create new, and enter a name for the new resource group. Name Enter a unique lab account name.
For more information about naming restrictions, see Microsoft.LabServices resource name rules.
Region Select a geographic location to host your lab account.
After you're finished configuring the resource, select Review + Create.
Review all the configuration settings and select Create to start the deployment of the lab account.
To view the new resource, select Go to resource.
Confirm that you see the lab account Overview page.
You've now successfully created a lab account by using the Azure portal. To let others create labs in the lab account, you assign them the Lab Creator role.
Add a user to the Lab Creator role
To set up a lab in a lab account, you must be a member of the Lab Creator role in the lab account. To grant people the permission to create labs, add them to the Lab Creator role.
Follow these steps to assign Azure roles using the Azure portal.
Azure Lab Services automatically assign the Lab Creator role to the Azure account you use to create the lab account. If you plan to use the same user account to create a lab in this tutorial, skip this step.
On the Lab Account page, select Access control (IAM).
From the Access control (IAM) page, select Add > Add role assignment.
On the Role tab, select the Lab Creator role.
On the Members tab, select the user you want to add to the Lab Creators role.
On the Review + assign tab, select Review + assign to assign the role.
In this tutorial, you created a lab account and granted lab creation permissions to another user. To learn about how to create a lab, advance to the next tutorial:
Submit and view feedback for