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/devtest-labs/devtest-lab-create-lab.md
+16-15Lines changed: 16 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to quickly create a lab in Azure DevTest Labs by using th
4
4
ms.topic: quickstart
5
5
ms.author: rosemalcolm
6
6
author: RoseHJM
7
-
ms.date: 09/30/2023
7
+
ms.date: 03/03/2025
8
8
ms.custom: mode-ui, UpdateFrequency2
9
9
---
10
10
@@ -14,7 +14,7 @@ This quickstart walks you through creating a lab in Azure DevTest Labs by using
14
14
15
15
## Prerequisite
16
16
17
-
- At least [Contributor](../role-based-access-control/built-in-roles.md#contributor) access to an Azure subscription. If you don't have an Azure account, [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
17
+
- At least [Contributor](/azure/role-based-access-control/built-in-roles#contributor) access to an Azure subscription. If you don't have an Azure account, [create one for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
18
18
19
19
## Create a lab
20
20
@@ -23,24 +23,25 @@ This quickstart walks you through creating a lab in Azure DevTest Labs by using
23
23
1. On the **Basic Settings** tab, provide the following information:
24
24
-**Subscription**: Change the subscription if you want to use a different subscription for the lab.
25
25
-**Resource group**: Select an existing resource group from the dropdown list, or select **Create new** to create a new resource group so it's easy to delete later.
26
-
-**Lab Name**: Enter a name for the lab.
27
-
-**Location**: If you're creating a new resource group, select an Azure region for the resource group and lab.
28
-
-**Artifacts storage account access**: You can configure whether the lab uses a User-assigned Managed Identity or a Shared Key to access the lab storage account. To use a User-assigned Managed Identity, select the appropriate managed identity from the list, otherwise select the Storage Account Shared Key option from the list.
29
-
-**Public environments**: Leave **On** for access to the [DevTest Labs public environment repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments). Set to **Off** to disable access. For more information, see [Enable public environments when you create a lab](devtest-lab-create-environment-from-arm.md#set-public-environment-access-for-new-lab).
26
+
-**Lab name**: Enter a name for the lab.
27
+
-**Location**: Change the location if you want to use a different Azure region for the lab.
28
+
-**Artifacts storage account access**: If you have a user-assigned managed identity, you can select whether the lab uses a managed identity or a shared key to access the lab storage account. To use a user-assigned managed identity, select it from the dropdown list. Otherwise, keep the option set to **Storage account Shared Key**.
29
+
-**Public environments**: Leave **On** for access to the [DevTest Labs public environment repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments), or set to **Off** to disable access. For more information, see [Enable public environments when you create a lab](devtest-lab-create-environment-from-arm.md#set-public-environment-access-for-new-lab).
30
30
31
31
:::image type="content" source="./media/devtest-lab-create-lab/portal-create-basic-settings-managed-identity.png" alt-text="Screenshot of the Basic Settings tab in the Create DevTest Labs form.":::
32
32
33
-
1. Optionally, select each tab at the top of the page, and customize those settings
34
-
-[**Auto-shutdown**](#auto-shutdown-tab)
35
-
-[**Networking**](#networking-tab)
36
-
-[**Tags**](#tags-tab)
33
+
1. Optionally, select **Next** or select the other tabs at the top of the page to customize the following settings:
34
+
35
+
-[Auto-shutdown](#auto-shutdown-tab)
36
+
-[Networking](#networking-tab)
37
+
-[Tags](#tags-tab)
37
38
38
39
You can also apply or change most of these settings after lab creation.
39
-
1. After you complete all settings, select **Review + create** at the bottom of the page.
40
-
1.If the settings are valid, **Succeeded** appears at the top of the **Review + create** page. Review the settings, and then select **Create**.
40
+
1. After you complete all settings, select **Review + create** at the top or bottom of the page.
41
+
1.Once **Succeeded** appears at the top of the **Review + create** page, review the settings and then select **Create**.
41
42
42
43
> [!TIP]
43
-
> Select **Download a template for automation** at the bottom of the page to view and download the lab configuration as an Azure Resource Manager (ARM) template. You can use the ARM template to create more labs.
44
+
> Select **Download a template for automation** at the bottom of the page to view and download the lab configuration as an Azure Resource Manager (ARM) template. You can use the ARM template to create more labs. For more information, see [Create VMs by using ARM templates](devtest-lab-use-resource-manager-template.md).
44
45
45
46
### Auto-shutdown tab
46
47
@@ -57,7 +58,7 @@ Auto-shutdown helps save lab costs by shutting down all lab VMs at a certain tim
57
58
58
59
### Networking tab
59
60
60
-
Azure DevTest Labs creates a new default virtual network for each lab. If you have another virtual network, you can choose to use it for the new lab instead of the default. For more information, see [Add a virtual network in Azure DevTest Labs](devtest-lab-configure-vnet.md).
61
+
Azure DevTest Labs creates a new default virtual network for each lab. You can choose to use another virtual network for the new lab instead of the default. For more information, see [Add a virtual network in Azure DevTest Labs](devtest-lab-configure-vnet.md).
61
62
62
63
To configure networking:
63
64
@@ -108,7 +109,7 @@ If you created a resource group for the lab, you can now delete the resource gro
108
109
1. At the top of the page, select **Delete resource group**.
109
110
1. On the **Are you sure you want to delete "\<resource group name>"** page, enter the resource group name, and then select **Delete**.
110
111
111
-
## Next steps
112
+
## Related content
112
113
113
114
To learn how to add VMs to your lab, go on to the next article:
Copy file name to clipboardExpand all lines: articles/devtest-labs/devtest-lab-guidance-get-started.md
+35-28Lines changed: 35 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
-
title: Popular scenarios for using Azure DevTest Labs
2
+
title: Azure DevTest Labs scenarios
3
3
description: This article describes primary Azure DevTest Labs scenarios, and how an organization can begin exploring DevTest Labs.
4
4
ms.topic: conceptual
5
5
ms.author: rosemalcolm
6
6
author: RoseHJM
7
-
ms.date: 09/30/2023
7
+
ms.date: 03/03/2025
8
8
ms.reviewer: christianreddington,anthdela,juselph
9
9
ms.custom: UpdateFrequency2
10
10
---
@@ -24,27 +24,29 @@ The following sections describe how DevTest Labs supports these scenarios, while
24
24
Labs are the starting point in DevTest Labs. After you create a lab, you can:
25
25
26
26
- Add lab users.
27
-
- Create preconfigured VMs that any lab user can claim.
27
+
- Create preconfigured VMs that any lab users can claim.
28
28
- Define images, formulas, and templates for lab users to quickly create their own VMs and environments.
29
29
- Use [configuration and policies](devtest-lab-set-lab-policy.md) to manage the lab and control costs.
30
30
-[Integrate with Azure DevOps](devtest-lab-dev-ops.md) to support DevOps scenarios.
31
-
- Link to public and private Git repositories for access to artifacts and ARM templates.
31
+
- Link to public and private Git repositories for access to artifacts and Azure Resource Manager (ARM) templates.
32
32
33
33
The following diagram shows how lab owners can configure policies and provide resources for lab users:
34
34
35
35

36
36
37
-
To create a lab in the Azure portal, see [Create a lab in Azure DevTest Labs](devtest-lab-create-lab.md).
37
+
To create a lab in Azure DevTest Labs, you can use any of the following methods:
38
38
39
-
You can also automate lab creation, including custom settings, with a reusable *Azure Resource Manager (ARM) template*. For more information, refer to [Azure Resource Manager (ARM) templates in Azure DevTest Labs](devtest-lab-use-arm-and-powershell-for-lab-resources.md)
You can also automate lab creation, including custom settings, with a reusable ARM template. For more information, see [ARM templates in Azure DevTest Labs](devtest-lab-use-arm-and-powershell-for-lab-resources.md).
40
42
41
43
### Add a virtual network to a lab
42
44
43
-
DevTest Labs creates a new virtual network for each lab. If you have another virtual network configured with Azure ExpressRoute or site-to-site VPN, you can add it to your lab. You can then use that virtual network for creating lab VMs. For more information, see [Configure a virtual network in Azure DevTest Labs](devtest-lab-configure-vnet.md).
45
+
DevTest Labs creates a new virtual network for each lab. If you have another virtual network configured with Azure ExpressRoute or site-to-site virtual private networking (VPN), you can add it to your lab and create lab VMs in that virtual network. For more information, see [Configure a virtual network in Azure DevTest Labs](devtest-lab-configure-vnet.md).
44
46
45
47
### Add users to labs
46
48
47
-
Lab owners can add users to labs by using the Azure portal or a PowerShell script. For more information, see [Add lab owners, contributors, and users in Azure DevTest Labs](devtest-lab-add-devtest-user.md). Lab users don't need an Azure account, as long as they have a Microsoft account.
49
+
Lab owners can add users to labs by using the Azure portal or a PowerShell script. For more information, see [Add lab owners, contributors, and users in Azure DevTest Labs](devtest-lab-add-devtest-user.md). Lab users don't need to have an Azure account as long as they have a Microsoft account.
48
50
49
51
Lab users can view all lab resources, such as VMs, policies, and virtual networks. Lab users can't modify policies, or access VMs that other users create or claim.
50
52
@@ -53,13 +55,13 @@ Lab users can view all lab resources, such as VMs, policies, and virtual network
53
55
To monitor and control costs, lab administrators and owners can:
54
56
55
57
-[Limit the number of VMs each user can create or claim](devtest-lab-set-lab-policy.md#set-virtual-machines-per-user).
56
-
- Allow only certain [VM sizes](devtest-lab-set-lab-policy.md#set-allowed-virtual-machine-sizes) in the lab.
57
-
- Configure [auto-shutdown](devtest-lab-set-lab-policy.md#set-auto-shutdown) and auto-start policies to stop and restart all VMs at particular times of day. VM auto-shutdown doesn't apply to PaaS resources in environments.
58
-
- Use [Azure Cost Management](devtest-lab-configure-cost-management.md) to track costs of environments.
58
+
-[Allow only certain VM sizes](devtest-lab-set-lab-policy.md#set-allowed-virtual-machine-sizes) in the lab.
59
+
-[Configure auto-shutdown](devtest-lab-set-lab-policy.md#set-auto-shutdown) and auto-start policies to stop and restart all VMs at particular times of day. VM auto-shutdown doesn't apply to platform-as-a-service (PaaS) resources in environments.
60
+
-[Use Azure Cost Management](devtest-lab-configure-cost-management.md) to track environment costs.
59
61
60
62
## Development and test VMs
61
63
62
-
Developers and testers might need many identical VMs for performance or load testing, or need different types of VMs for different projects or iterations. DevTest Labs users can create, configure, and access VMs on demand to meet their needs. Starting with common VM images promotes consistency across teams.
64
+
Developers and testers might need many identical VMs for performance or load testing, or might need different types of VMs for different projects or iterations. DevTest Labs users can create, configure, and access VMs on demand to meet their needs. Starting with common VM images promotes consistency across teams.
63
65
64
66
In DevTest Labs, developers can:
65
67
@@ -88,13 +90,13 @@ Lab users can add *artifacts* to configure their lab VMs. Artifacts can be:
88
90
- Actions to run on the VM, like cloning a repo.
89
91
- Applications to test.
90
92
91
-
Many artifacts are available out-of-the-box. You can also create *custom artifacts* if you need more customization. You store custom artifacts in a private Git repo you connect to your lab, so all lab users can add the artifacts to their VMs. For more information, see [Create custom artifacts for DevTest Labs](devtest-lab-artifact-author.md) and [Add an artifact repository to a lab](add-artifact-repository.md).
93
+
Many artifacts are available out of thebox. You can also create *custom artifacts* if you need more customization. You store custom artifacts in a private Git repository you connect to your lab, so all lab users can add the artifacts to their VMs. For more information, see [Create custom artifacts for DevTest Labs](devtest-lab-artifact-author.md) and [Add an artifact repository to a lab](add-artifact-repository.md).
92
94
93
95
You can add an Active Directory domain-join artifact to join VMs to an Active Directory domain at creation. This artifact applies only to domains.
94
96
95
97
## Multi-VM environments
96
98
97
-
Many development and test scenarios require multi-VM *environments* equipped with platform-as-a-service (PaaS) resources. Examples include Azure Web Apps, SharePoint farms, and Service Fabric clusters. Creating and managing environments across an enterprise can require significant effort.
99
+
Many development and test scenarios require multi-VM *environments* equipped with PaaS resources. Examples include Azure Web Apps, SharePoint farms, and Service Fabric clusters. Creating and managing environments across an enterprise can require significant effort.
98
100
99
101
With DevTest Labs, teams can easily create, update, or duplicate multi-VM environments. Developers can use fully configured environments to develop and test the latest versions of their apps. DevTest Labs environments ensure consistency across teams.
100
102
@@ -106,11 +108,11 @@ By using ARM templates to deploy environments, you can:
106
108
107
109
For more information, see [Use ARM templates to create DevTest Labs environments](devtest-lab-create-environment-from-arm.md).
108
110
109
-
### Give users Contributor rights to environment resources
111
+
### Give users Contributor rights to environments
110
112
111
-
By default, DevTest Labs creates environments in their own resource groups, and DevTest Labs users get only read access to those environments. With read-only access, users can't add or change resources in their environments. But developers often need to investigate different technologies or infrastructure designs.
113
+
By default, DevTest Labs creates environments in their own resource groups, and DevTest Labs users get read access to those environments. With read-only access, users can't add or change resources in those environments. But developers often need to investigate different technologies or infrastructure designs.
112
114
113
-
Lab owners can allow users more control by giving them Contributor rights to the environments they create. Contributors can add or change Azure resources as necessary in their development or test environments. For more information, see [Configure environment user rights](devtest-lab-create-environment-from-arm.md#configure-environment-user-rights).
115
+
Lab owners can allow users more control by giving them Contributor rights to environments. Contributors can add or change Azure resources as necessary in their own development or test environments. For more information, see [Configure environment user rights](devtest-lab-create-environment-from-arm.md#configure-environment-user-rights).
114
116
115
117
## Classroom, training, and hackathon labs
116
118
@@ -124,19 +126,11 @@ DevTest Labs is well-suited for transient activities like workshops, hands-on la
124
126
- Setting VM expiration dates.
125
127
- Deleting VMs and labs when the activity is over.
126
128
127
-
### Delete labs and VMs
128
-
129
-
Lab owners can manage costs by deleting labs and VMs when they're no longer needed.
130
-
131
-
- Set [expiration dates](devtest-lab-use-resource-manager-template.md#set-vm-expiration-date) on VMs.
132
-
-[Delete labs](devtest-lab-delete-lab-vm.md#delete-a-lab) and all related resources.
133
-
-[Delete all lab VMs by running a single PowerShell script](devtest-lab-delete-lab-vm.md#automate-the-process-of-deleting-all-the-vms-in-a-lab).
134
-
135
129
## Proof of concept and scaled deployments
136
130
137
131
To start exploring DevTest Labs, organizations can use [proof of concept](deliver-proof-concept.md) and [scaled deployments](devtest-lab-guidance-scale.md).
138
132
139
-
- Proof of concept uses a concentrated effort from a single team to establish organizational value.
133
+
- Proof of concept uses concentrated efforts from single teams to establish organizational value.
140
134
- A scaled deployment uses weeks or months of reviewing and planning to deploy DevTest Labs to an enterprise with hundreds or thousands of developers.
141
135
142
136
While an immediate scaled deployment sounds tempting, this approach often fails without a proof of concept. It's best to start small, learn from a single team, repeat the same approach with a few more teams, and then plan a scaled deployment based on the knowledge gained.
@@ -148,9 +142,22 @@ For a successful proof of concept:
148
142
1. Document current use cases.
149
143
1. Deploy DevTest Labs to fulfill the teams' scenarios and use cases.
150
144
151
-
## Next steps
145
+
## Lab and VM deletion
152
146
147
+
Lab owners can manage costs by deleting labs and VMs when they're no longer needed.
148
+
149
+
- Set [expiration dates](devtest-lab-use-resource-manager-template.md#set-vm-expiration-date) on VMs.
150
+
-[Delete labs](devtest-lab-delete-lab-vm.md#delete-a-lab) and all related resources.
151
+
-[Delete all lab VMs by running a single PowerShell script](devtest-lab-delete-lab-vm.md#automate-the-process-of-deleting-all-the-vms-in-a-lab).
152
+
153
+
## Related content
154
+
155
+
156
+
-[DevTest Labs overview](devtest-lab-overview.md)
153
157
-[DevTest Labs concepts](devtest-lab-concepts.md)
154
158
159
+
If you have an Azure account, you can get started with Azure DevTest Labs in minutes:
160
+
161
+
> [!div class="nextstepaction"]
162
+
> [Create your first lab](https://go.microsoft.com/fwlink/?LinkID=627034&clcid=0x409)
0 commit comments