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-environment-from-arm.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.date: 12/20/2021
9
9
10
10
Multi-tier web apps or SharePoint farms have multiple virtual machines (VMs) with platform-as-a-service (PaaS) resources installed. You can provision these PaaS resources and infrastructure-as-a-service (IaaS) VMs in Azure DevTest Labs by using [Azure Resource Manager (ARM)](../azure-resource-manager/templates/syntax.md) environment templates.
11
11
12
-
An ARM environment template defines a solution's infrastructure and configuration. Lab users can use the template to easily and consistently deploy multiple VMs with preinstalled resources as a single environment.
12
+
An ARM environment template defines a solution's infrastructure and configuration. Multi-VM ARM environment templates use the [Microsoft.Compute/virtualmachines](/azure/templates/microsoft.compute/virtualmachines) resource type. Lab users can use the templates to easily and consistently deploy multiple VMs with preinstalled resources as a single environment.
13
13
14
14
You can configure DevTest Labs to load ARM templates directly from public or private Git source control repositories. Lab users can then create environments by selecting an environment template in the Azure portal, just as they can select individual [VM base images](devtest-lab-comparing-vm-base-image-types.md) to create VMs.
15
15
@@ -208,5 +208,5 @@ To automate ARM environment template deployment with Azure PowerShell:
208
208
209
209
## Next steps
210
210
211
-
-[Public ARM environment template repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments
211
+
-[Public ARM environment template repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments)
Copy file name to clipboardExpand all lines: articles/devtest-labs/devtest-lab-use-arm-and-powershell-for-lab-resources.md
+21-15Lines changed: 21 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -9,38 +9,43 @@ ms.date: 01/03/2022
9
9
10
10
There are several ways to use Azure Resource Manager (ARM) templates in Azure DevTest Labs:
11
11
12
-
-[Use an ARM quickstart template](#use-a-quickstart-template} in the Azure portal to create a lab or a lab with a virtual machine (VM).
13
-
- Save an ARM template from any available Azure virtual machine (VM) base image, edit the template to meet your needs, and use it to create more VMs or custom images. For more information and instructions, see [Create Azure virtual machines from ARM templates](devtest-lab-use-resource-manager-template.md).
12
+
-[Use an ARM quickstart template](#arm-quickstart-templates) in the Azure portal to create a lab or a lab with a virtual machine (VM).
13
+
14
+
- Save an ARM template from any available Azure virtual machine (VM) base image, edit it to meet your needs, and use it to create more VMs or custom images. For more information and instructions, see [Create Azure virtual machines from ARM templates](devtest-lab-use-resource-manager-template.md).
15
+
14
16
- Use ARM environment templates to create multi-VM infrastructure-as-a-service (IaaS) and platform-as-a-service (PaaS) DevTest Labs environments. For more information and instructions, see [Use ARM templates to create DevTest Labs environments](devtest-lab-create-environment-from-arm.md).
15
-
-[Use ARM templates with Azure PowerShell or Azure CLI automation](#use-arm-templates-with-azure-powershell-or-azure-cli-automation) to create, deploy, and manage labs and VMs.
17
+
18
+
-[Use ARM templates with Azure PowerShell or Azure CLI automation](#arm-templates-with-azure-powershell-or-azure-cli) to create, deploy, and manage labs and VMs.
16
19
17
20
The public [DevTest Labs GitHub repository](https://github.com/Azure/azure-devtestlab) has preconfigured [ARM templates](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/QuickStartTemplates) and [scripts](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/Scripts) for many DevTest Labs tasks. You can use these templates and scripts as-is, or customize them to meet your needs.
18
21
19
22
To create your own ARM templates, follow the steps at [Create your first Azure Resource Manager template](../azure-resource-manager/templates/quickstart-create-templates-use-the-portal.md), and modify the templates for your needs. [Best practices for creating Azure Resource Manager templates](../azure-resource-manager/templates/best-practices.md) has many guidelines and suggestions for creating reliable, easy to use ARM templates.
20
23
21
-
You can make the public template repository or your own private template repository available in DevTest Labs so your lab users can create and manage their own resources and environments.
24
+
You can connect public and private template repositories to DevTest Labs, so lab users can use the templates to create and manage their own resources and environments.
22
25
23
26
## Multi-VM vs. single-VM ARM templates
24
27
25
-
ARM templates are commonly used in DevTest Labs for creating VMs. There are two methods for creating VMs in DevTest Labs. Each method is used for different scenarios and requires different permissions. The ARM template's `resource` property declares the method to use.
28
+
ARM templates are often used in DevTest Labs for creating VMs. There are two methods for creating VMs in DevTest Labs. Each method is used for different scenarios and requires different permissions. The ARM template's `resource` property declares the method to use.
26
29
27
30
### Microsoft.Compute/virtualmachines
28
31
29
-
ARM templates use the [Microsoft.Compute/virtualmachines](/azure/templates/microsoft.compute/virtualmachines) resource type to provision multiple lab VMs and platform-as-a-service (PaaS) resources in a single environment, such as a SharePoint farm. Lab users can use these templates to create multi-VM environments. VMs created with this resource type appear under the environments in the lab's **My environments** list.
32
+
ARM templates use the [Microsoft.Compute/virtualmachines](/azure/templates/microsoft.compute/virtualmachines) resource type to provision multiple lab VMs and PaaS resources in a single environment, such as a SharePoint farm. Lab users can use these templates to create multi-VM environments. VMs created with this resource type appear under the environments in the lab's **My environments** list.
30
33
31
-

34
+
:::image type="content" source="./media/devtest-lab-use-arm-and-powershell-for-lab-resources/devtestlab-lab-vm-single-environment.png" alt-text="Screenshot that shows V Ms in an environment in the My environments list.":::
32
35
33
-
For more information and instructions for configuring and using environment templates and environments, see [Use ARM templates to create DevTest Labs environments](devtest-lab-create-environment-from-arm.md).
36
+
For more information and instructions for configuring and using environment templates, see [Use ARM templates to create DevTest Labs environments](devtest-lab-create-environment-from-arm.md).
34
37
35
38
### Microsoft.DevTestLab/labs/virtualmachines
36
39
37
-
To provision individual VM configurations, ARM templates use a[Microsoft.DevTestLab/labs/virtualmachines](/azure/templates/microsoft.devtestlab/2018-09-15/labs/virtualmachines) resource type. Each VM created with this resource type appears as a separate item in the DevTest Labs **My virtual machines** list. You can deploy VMs of this resource type by using a quickstart template from the Azure portal, creating and using a custom image, or automating deployment with Azure PowerShell or Azure CLI.
40
+
To provision individual VM configurations, ARM templates use the[Microsoft.DevTestLab/labs/virtualmachines](/azure/templates/microsoft.devtestlab/2018-09-15/labs/virtualmachines) resource type. Each VM created with this resource type appears as a separate item in the DevTest Labs **My virtual machines** list. You can deploy VMs of this resource type with a quickstart template from the Azure portal, or automate deployment with Azure PowerShell or Azure CLI.
38
41
39
-

42
+
:::image type="content" source="./media/devtest-lab-use-arm-and-powershell-for-lab-resources/devtestlab-lab-vm-single-item.png" alt-text="Screenshot that shows the list of single V Ms in the DevTest Labs virtual machines list.":::
40
43
41
-
## Use a quickstart template
44
+
## ARM quickstart templates
42
45
43
-
To use an ARM template to quickly create a DevTest Labs lab with a Windows Server VM, follow the instructions at [Quickstart: Use an ARM template to create a lab in DevTest Labs](create-lab-windows-vm-template.md). Or, from the Azure portal:
46
+
To use an ARM template to quickly create a DevTest Labs lab with a Windows Server VM, follow the instructions at [Quickstart: Use an ARM template to create a lab in DevTest Labs](create-lab-windows-vm-template.md).
47
+
48
+
Or, from the Azure portal:
44
49
45
50
1. Search for and select **Deploy a custom template**.
46
51
@@ -50,9 +55,10 @@ To use an ARM template to quickly create a DevTest Labs lab with a Windows Serve
50
55
51
56
1. Select **Select template**. You can also select **Edit template** to modify the template.
52
57
53
-
:::image type="content" source="./media/create-lab-windows-vm-template/custom-deployment.png" alt-text="Screenshot of selecting the template on the Custom deployment page.":::
58
+
:::image type="content" source="./media/devtest-lab-use-arm-and-powershell-for-lab-resources/custom-deployment.png" alt-text="Screenshot of selecting the template on the Custom deployment page.":::
59
+
60
+
1. On the **Creates a lab in Azure DevTest Labs with a claimed VM** screen, complete the following items:
54
61
55
-
1. Enter or select the following values:
56
62
-**Resource group**: Select an existing resource group from the dropdown list, or create a new resource group so it's easy to clean up later.
57
63
-**Region**: If you created a new resource group, select a location for the resource group and lab.
58
64
-**Lab Name**: Enter a name for the new lab.
@@ -62,7 +68,7 @@ To use an ARM template to quickly create a DevTest Labs lab with a Windows Serve
62
68
63
69
1. Select **Review + create**, and when validation passes, select **Create**. Deployment, especially creating a VM, takes a while.
64
70
65
-
## Use ARM templates with Azure PowerShell or Azure CLI automation
71
+
## ARM templates with Azure PowerShell or Azure CLI
Copy file name to clipboardExpand all lines: articles/devtest-labs/devtest-lab-use-resource-manager-template.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ You can customize and use an ARM template from any Azure VM base to deploy more
27
27
28
28
1. If you want to create an instance of the VM now, on the **Basic Settings** tab, select **Create**.
29
29
30
-
You can also create your own ARM templates. For guidelines and suggestions to help you create reliable, easy-to-use ARM templates, see [Best practices for creating Azure Resource Manager templates](../azure-resource-manager/templates/best-practices.md).
30
+
You can also create your own DevTest Lab ARM templates. Single-VM ARM templates use the [Microsoft.DevTestLab/labs/virtualmachines](/azure/templates/microsoft.devtestlab/2018-09-15/labs/virtualmachines) resource type. For guidelines and suggestions to help you create reliable, easy-to-use ARM templates, see [Best practices for creating Azure Resource Manager templates](../azure-resource-manager/templates/best-practices.md).
0 commit comments