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 cbdd543

Browse files
committedJan 4, 2022
changes
1 parent e61fee6 commit cbdd543

File tree

6 files changed

+32
-36
lines changed

6 files changed

+32
-36
lines changed
 

‎articles/devtest-labs/TOC.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
items:
99
- name: Create a lab - Portal
1010
href: devtest-lab-create-lab.md
11-
- name: Create a lab - Resource Manager template
11+
- name: Create a lab - ARM template
1212
displayName: Resource Manager
1313
href: create-lab-windows-vm-template.md
1414
- name: Create a lab - REST API
@@ -21,7 +21,7 @@
2121
href: tutorial-use-custom-lab.md
2222
- name: Samples
2323
items:
24-
- name: Resource Manager templates
24+
- name: Quickstart ARM templates
2525
href: https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/QuickStartTemplates
2626
- name: Azure PowerShell
2727
href: samples-powershell.md
@@ -77,7 +77,7 @@
7777
items:
7878
- name: Create a network isolated lab
7979
href: network-isolation.md
80-
- name: Create or modify labs using Resource Manager template
80+
- name: Create and manage labs by using ARM templates
8181
href: devtest-lab-use-arm-and-powershell-for-lab-resources.md
8282
- name: Specify resource group for lab virtual machines
8383
href: resource-group-control.md
@@ -137,7 +137,7 @@
137137
href: devtest-lab-vm-powershell.md
138138
- name: Azure CLI
139139
href: devtest-lab-vmcli.md
140-
- name: Resource Manager template
140+
- name: ARM template
141141
href: devtest-lab-use-resource-manager-template.md
142142
- name: Create a VM using an image from shared image gallery
143143
href: add-vm-use-shared-image.md
@@ -173,16 +173,12 @@
173173
href: enable-managed-identities-lab-vms.md
174174
- name: Use environments in a lab
175175
items:
176-
- name: Create an environment
176+
- name: Create and configure environments
177177
href: devtest-lab-create-environment-from-arm.md
178178
- name: Use Platform-as-a-Service (PaaS) services
179179
href: use-paas-services.md
180-
- name: Public environments
181-
items:
182-
- name: Configure and use public environments
183-
href: devtest-lab-configure-use-public-environments.md
184-
- name: Create an environment with Service Fabric cluster
185-
href: create-environment-service-fabric-cluster.md
180+
- name: Create a Service Fabric cluster environment
181+
href: create-environment-service-fabric-cluster.md
186182
- name: Connect an environment to your lab's virtual network
187183
href: connect-environment-lab-virtual-network.md
188184
- name: Configure test environments with nested templates
@@ -197,10 +193,8 @@
197193
items:
198194
- name: Custom images vs. formulas
199195
href: devtest-lab-comparing-vm-base-image-types.md
200-
- name: Manage environment templates
201-
items:
202-
- name: Add a Git repository for artifacts and templates
203-
href: devtest-lab-add-artifact-repo.md
196+
- name: Add a Git repository for artifacts and templates
197+
href: devtest-lab-add-artifact-repo.md
204198
- name: Manage custom images
205199
items:
206200
- name: Create custom image from a VM

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Azure multi-tier web apps or SharePoint farms use multiple virtual machines (VMs
1313

1414
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. The VMs created with this resource type appear under their environments in the lab's **My environments** list.
1515

16-
You can configure DevTest Labs to load ARM environment templates directly from public or private Git source control repositories. Lab users can then create environments by selecting the templates in the Azure portal, just as they can select individual [VM base images](devtest-lab-comparing-vm-base-image-types.md) to create VMs.
16+
![Screenshot that shows V Ms in an environment.](./media/devtest-lab-create-environment-from-arm/environment.png)
17+
18+
You can configure DevTest Labs to load ARM environment templates directly from public or private Git source control repositories. Lab users can then create environments by selecting the templates in the Azure portal, just as they select individual [VM base images](devtest-lab-comparing-vm-base-image-types.md) to create VMs.
1719

1820
VMs in the same environment share the same lifecycle, and lab users can manage the VMs together. You can track the cost of lab environments and PaaS resources, just as you track costs for individual lab VMs.
1921

@@ -33,7 +35,7 @@ Azure DevTest Labs has a [public ARM template repository](https://github.com/Azu
3335

3436
You can use the public environment templates as-is, or customize them to suit your needs. To suggest revisions or additions to the public templates, submit pull requests against the open-source [GitHub public template repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments)
3537

36-
You can also [store environment templates in your own Git repositories](devtest-lab-use-resource-manager-template.md#store-arm-templates-in-git-repositories), and [connect those repositories to your lab](devtest-lab-use-resource-manager-template.md#add-template-repositories-to-labs) to make your templates available to all lab users. For instructions, see [Create Azure virtual machines by using ARM templates](devtest-lab-use-resource-manager-template.md).
38+
You can also [store environment templates in your own Git repositories](devtest-lab-use-resource-manager-template.md#store-arm-templates-in-git-repositories), and [connect those repositories to your lab](devtest-lab-use-resource-manager-template.md#add-template-repositories-to-labs) to make your templates available to all lab users.
3739

3840
## Enable and configure public environments
3941

@@ -105,7 +107,7 @@ By default, lab users have **Reader** role in environments, so they can't change
105107

106108
If you need to create multiple environments for development or testing scenarios, you can automate environment deployment with Azure PowerShell or Azure CLI.
107109

108-
Lab users can automate VM creation by using the Azure CLI commands [az lab vm create](/cli/azure/lab/vm#az_lab_vm_create) and [az deployment group create](/cli/azure/deployment/group#az_deployment_group_create). For more information, see [Deploy resources with Resource Manager templates and Azure CLI](../azure-resource-manager/templates/deploy-cli.md).
110+
You can use the Azure CLI command [az deployment group create](/cli/azure/deployment/group#az_deployment_group_create) to create environments. For more information, see [Deploy resources with Resource Manager templates and Azure CLI](../azure-resource-manager/templates/deploy-cli.md).
109111

110112
Lab owners and administrators can use Azure PowerShell to create VMs and environments from ARM templates.
111113

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,29 @@ In DevTest Labs, you can:
2727

2828
- [Use ARM templates with Azure PowerShell or Azure CLI automation](#arm-template-automation) to create, deploy, and manage labs, environments, and VMs.
2929

30-
## Multi-VM vs. single-VM ARM templates
30+
## Single-VM and environment templates
3131

3232
DevTest Labs often uses ARM templates to create 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.
3333

34-
### Microsoft.Compute/virtualmachines
34+
### Microsoft.Compute/virtualmachines environment templates
3535

36-
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.
36+
ARM templates that use the [Microsoft.Compute/virtualmachines](/azure/templates/microsoft.compute/virtualmachines) resource type provision multiple lab VMs and PaaS resources in a single environment, such as a SharePoint farm. Lab users can use these templates to create multiple-VM environments. VMs created with this resource type appear under the environments in the lab's **My environments** list.
3737

3838
:::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.":::
3939

4040
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).
4141

42-
### Microsoft.DevTestLab/labs/virtualmachines
42+
### Microsoft.DevTestLab/labs/virtualmachines single-VM templates
4343

44-
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 lab's **My virtual machines** list. To create and deploy these VMs, you can [use a quickstart template](#arm-quickstart-templates) from the Azure portal. You can also use ARM templates with Azure PowerShell or Azure CLI to [automate VM deployment](#arm-template-automation).
44+
ARM templates that use the [Microsoft.DevTestLab/labs/virtualmachines](/azure/templates/microsoft.devtestlab/2018-09-15/labs/virtualmachines) resource type provision individual VM configurations. Each VM created with this resource type appears as a separate item in the lab's **My virtual machines** list. To create and deploy VMs with these templates, you can [use a quickstart template](#arm-quickstart-templates) from the Azure portal. You can also [automate VM deployment](#arm-template-automation) with Azure PowerShell or Azure CLI.
4545

4646
:::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.":::
4747

4848
## ARM quickstart templates
4949

5050
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).
5151

52-
Or, to access DevTest Labs quickstart template from the Azure portal:
52+
Or to access DevTest Labs quickstart template from the Azure portal:
5353

5454
1. In the Azure portal, search for and select **Deploy a custom template**.
5555
1. On the **Custom deployment** screen, make sure **Quickstart template** is selected, and select the dropdown arrow next to **Quickstart template (disclaimer)**.
@@ -62,26 +62,26 @@ Or, to access DevTest Labs quickstart template from the Azure portal:
6262

6363
Lab administrators can deploy ARM templates with Azure CLI or Azure PowerShell to automate VM creation and management.
6464

65-
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
66-
67-
Use the Azure CLI commands [az lab vm create](/cli/azure/lab/vm#az_lab_vm_create) and [az deployment group create](/cli/azure/deployment/group#az_deployment_group_create) to automate VM creation with ARM templates. For more information and instructions, see [Deploy resources with Resource Manager templates and Azure CLI](../azure-resource-manager/templates/deploy-cli.md).
65+
In Azure CLI, use the commands [az lab vm create](/cli/azure/lab/vm#az_lab_vm_create) and [az deployment group create](/cli/azure/deployment/group#az_deployment_group_create) to automate VM creation with ARM templates. For more information and instructions, see [Deploy resources with Resource Manager templates and Azure CLI](../azure-resource-manager/templates/deploy-cli.md).
6866

69-
Use the Azure PowerShell commands [New-AzResource](/powershell/module/az.resources/new-azresource) and [New-AzResourceGroupDeployment](/powershell/module/az.resources/new-azresourcegroupdeployment) to provision VMs with ARM templates.
67+
In Azure PowerShell, use [New-AzResource](/powershell/module/az.resources/new-azresource) and [New-AzResourceGroupDeployment](/powershell/module/az.resources/new-azresourcegroupdeployment) to provision VMs with ARM templates.
7068

71-
Provisioning VMs with PowerShell requires administrator permissions. Lab administrators can deploy ARM templates to create claimable lab VMs or image factory golden images. Lab users can then use the custom images to create VM instances. For more information and instructions, see [Create a DevTest Labs VM with Azure PowerShell](devtest-lab-vm-powershell.md).
69+
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
7270

73-
Administrators can also automate ARM environment template deployment to fully manage development and test environments. For information and instructions, see [Automate environment creation with PowerShell](devtest-lab-create-environment-from-arm.md#automate-environment-creation).
71+
Lab administrators can deploy ARM templates to create claimable lab VMs or image factory golden images. Provisioning VMs with PowerShell requires administrator permissions. Lab users can then use the custom images to create VM instances. For more information and instructions, see [Create a DevTest Labs VM with Azure PowerShell](devtest-lab-vm-powershell.md).
7472

75-
You can automate several other common tasks by using ARM templates with PowerShell:
73+
You can automate several other common DevTest Labs tasks by using ARM templates with PowerShell:
7674

7775
- [Create a custom image from a VHD file using PowerShell](devtest-lab-create-custom-image-from-vhd-using-powershell.md)
7876
- [Upload a VHD file to a lab's storage account using PowerShell](devtest-lab-upload-vhd-using-powershell.md)
7977
- [Add an external user to a lab using PowerShell](devtest-lab-add-devtest-user.md#add-an-external-user-to-a-lab-using-powershell)
8078
- [Create a lab custom role using PowerShell](devtest-lab-grant-user-permissions-to-specific-lab-policies.md#creating-a-lab-custom-role-using-powershell)
8179

80+
Lab administrators can also automate ARM environment template deployment, to fully manage development and test environments. For information and instructions, see [Automate environment creation](devtest-lab-create-environment-from-arm.md#automate-environment-creation).
81+
8282
## Next steps
8383

84-
- [Best practices for creating Azure Resource Manager templates](../azure-resource-manager/templates/best-practices.md) has guidelines and suggestions for creating reliable, easy to use ARM templates.
84+
- [Best practices for creating Azure Resource Manager templates](../azure-resource-manager/templates/best-practices.md) has guidelines and suggestions for creating reliable, easy-to-use ARM templates.
8585
- [Deploy resources with Resource Manager templates and Azure PowerShell](../azure-resource-manager/templates/deploy-powershell.md) has general information about using Azure PowerShell with ARM templates.
8686
- The public [DevTest Labs GitHub repository](https://github.com/Azure/azure-devtestlab) has preconfigured [quickstart ARM templates](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/QuickStartTemplates), [PowerShell scripts](https://github.com/Azure/azure-devtestlab/tree/master/samples/DevTestLabs/Scripts), [artifacts](https://github.com/Azure/azure-devtestlab/tree/master/Artifacts), and [environments](https://github.com/Azure/azure-devtestlab/tree/master/Environments) that you can use as-is or customize for your needs.
87-
- Explore the ARM templates in the [Azure Quickstart template gallery](https://github.com/Azure/azure-quickstart-templates).
87+
- You can explore more ARM templates in the [Azure Quickstart template gallery](https://github.com/Azure/azure-quickstart-templates).

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ ms.topic: how-to
55
ms.date: 01/03/2022
66
---
77

8-
# Create Azure virtual machines by using ARM templates
8+
# Use ARM templates to create DevTest Labs virtual machines
99

1010
You can use Azure Resource Manager (ARM) templates to create preconfigured Azure virtual machines (VMs) in Azure DevTest Labs.
1111

1212
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
1313

1414
Single-VM 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 lab's **My virtual machines** list.
1515

16-
You can create your own single-VM ARM templates, access the public [DevTest Labs GitHub repository](https://github.com/Azure/azure-devtestlab) for preconfigured templates, or modify existing ARM templates to meet your needs.
16+
You can create your own single-VM ARM templates, access the public [DevTest Labs GitHub repository](https://github.com/Azure/azure-devtestlab) for preconfigured templates, or modify existing ARM templates to meet your needs. Lab users can use your ARM templates to create and deploy Azure VMs.
1717

1818
This article describes how to:
1919

@@ -96,7 +96,7 @@ Add your template repositories to your lab so all lab users can access the templ
9696

9797
![Screenshot that shows adding a new template repository to a lab.](./media/devtest-lab-create-environment-from-arm/repo-values.png)
9898

99-
The repository now appears in the **Repositories** list for the lab. Users can now use the repository templates to [create multi-VM DevTest Labs environments](devtest-lab-create-environment-from-arm.md). Lab administrators can use the templates to [automate lab deployment and management tasks](devtest-lab-use-arm-and-powershell-for-lab-resources#arm-template-automation).
99+
The repository now appears in the **Repositories** list for the lab. Users can now use the repository templates to [create multi-VM DevTest Labs environments](devtest-lab-create-environment-from-arm.md). Lab administrators can use the templates to [automate lab deployment and management tasks](devtest-lab-use-arm-and-powershell-for-lab-resources.md#arm-template-automation).
100100

101101
### Next steps
102102

Loading
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.