Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e45223b

Browse files
committedDec 31, 2021
fixes changes
1 parent 2164711 commit e45223b

8 files changed

+24
-18
lines changed
 

‎articles/devtest-labs/devtest-lab-create-environment-from-arm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 12/20/2021
99

1010
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.
1111

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.
1313

1414
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.
1515

@@ -208,5 +208,5 @@ To automate ARM environment template deployment with Azure PowerShell:
208208

209209
## Next steps
210210

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)
212212
- [Azure quickstart template gallery](https://github.com/Azure/azure-quickstart-templates)

‎articles/devtest-labs/devtest-lab-use-arm-and-powershell-for-lab-resources.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,43 @@ ms.date: 01/03/2022
99

1010
There are several ways to use Azure Resource Manager (ARM) templates in Azure DevTest Labs:
1111

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+
1416
- 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.
1619

1720
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.
1821

1922
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.
2023

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.
2225

2326
## Multi-VM vs. single-VM ARM templates
2427

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.
2629

2730
### Microsoft.Compute/virtualmachines
2831

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.
3033

31-
![Screenshot that shows V Ms in an environment in the My environments list.](./media/devtest-lab-use-arm-template/devtestlab-lab-vm-single-environment.png)
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.":::
3235

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).
3437

3538
### Microsoft.DevTestLab/labs/virtualmachines
3639

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.
3841

39-
![Screenshot that shows the list of single V Ms in the DevTest Labs virtual machines list.](./media/devtest-lab-use-arm-template/devtestlab-lab-vm-single-item.png)
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.":::
4043

41-
## Use a quickstart template
44+
## ARM quickstart templates
4245

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:
4449

4550
1. Search for and select **Deploy a custom template**.
4651

@@ -50,9 +55,10 @@ To use an ARM template to quickly create a DevTest Labs lab with a Windows Serve
5055

5156
1. Select **Select template**. You can also select **Edit template** to modify the template.
5257

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:
5461

55-
1. Enter or select the following values:
5662
- **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.
5763
- **Region**: If you created a new resource group, select a location for the resource group and lab.
5864
- **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
6268

6369
1. Select **Review + create**, and when validation passes, select **Create**. Deployment, especially creating a VM, takes a while.
6470

65-
## Use ARM templates with Azure PowerShell or Azure CLI automation
71+
## ARM templates with Azure PowerShell or Azure CLI
6672

6773
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
6874

‎articles/devtest-labs/devtest-lab-use-resource-manager-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can customize and use an ARM template from any Azure VM base to deploy more
2727

2828
1. If you want to create an instance of the VM now, on the **Basic Settings** tab, select **Create**.
2929

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).
3131

3232
### Set VM expiration date
3333

0 commit comments

Comments
 (0)
Please sign in to comment.