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
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ In this article, you learn how to create Azure DevTest Labs environments from [A
17
17
18
18
Resources in a DevTest Labs environment share the same lifecycle and you can manage them together. You can track the cost of lab environments and PaaS resources in the same way you track costs for individual lab VMs.
19
19
20
-
You can configure Azure DevTest Labs to use ARM templates from a public or private GitHub repository. The following diagram shows how to create an environment with DevTest Labs from an ARM template in a public or custom template repository. The [template repositories for labs](#environment-template-repositories) section describes this process in detail.
20
+
You can configure Azure DevTest Labs to use ARM templates from a public or private GitHub repository. The following diagram shows how to create an environment with DevTest Labs from an ARM template in a public or custom template repository. The [template repositories for labs](#explore-template-repositories) section describes this process in detail.
21
21
22
22
:::image type="content" source="./media/devtest-lab-create-environment-from-arm/devtest-labs-create-environment-with-arm.png" alt-text="Diagram that shows how to create an environment with DevTest Labs by using an ARM template in a template repository." border="false" lightbox="./media/devtest-lab-create-environment-from-arm/devtest-labs-create-environment-with-arm.png":::
23
23
@@ -29,7 +29,7 @@ You can configure Azure DevTest Labs to use ARM templates from a public or priva
29
29
30
30
There are a few limitations to keep in mind when you create labs from ARM templates in DevTest Labs:
31
31
32
-
- DevTest Labs doesn't support the [virtual machine (VM) Auto-Shutdown feature](/azure/virtual-machines/auto-shutdown-vm) for PaaS resources created from ARM templates.
32
+
- DevTest Labs doesn't support the virtual machine (VM) [auto-shutdown feature](/azure/virtual-machines/auto-shutdown-vm) for PaaS resources created from ARM templates.
33
33
34
34
- DevTest Labs doesn't evaluate all lab policies when you deploy ARM templates. The following policies aren't evaluated:
35
35
- Number of VMs per lab user
@@ -56,14 +56,14 @@ Create an environment from a template by following these steps:
56
56
57
57
1. On the **Add** pane, enter an **Environment name**, and configure the other parameter settings.
58
58
59
-
The type and number of parameters is unique for each ARM template, and a red asterisk (*) indicates a required setting. You must enter values for all required settings.
59
+
The type and number of parameters is unique for each ARM template. A red asterisk (*) indicates a required setting. You must enter values for all required settings.
60
60
61
-
Some parameter values in the ARM template file (_azuredeploy.parameters.json_) produce blank settings fields on the **Add** pane (no default value). These parameter values include `GEN-UNIQUE`, `GEN-UNIQUE-[N]`, `GEN-SSH-PUB-KEY`, and `GEN-PASSWORD`.
62
-
63
-
For _secure string_ parameters like passwords, you can use secrets from Azure Key Vault. To learn how to store secrets in a key vault and use them when you create lab resources, see [Store secrets in Azure Key Vault](devtest-lab-store-secrets-in-key-vault.md).
61
+
Some parameter values in the ARM template file (_azuredeploy.parameters.json_) produce blank setting fields on the **Add** pane (no default value). These parameter values include `GEN-UNIQUE`, `GEN-UNIQUE-[N]`, `GEN-SSH-PUB-KEY`, and `GEN-PASSWORD`.
64
62
65
63
:::image type="content" source="./media/devtest-lab-create-environment-from-arm/add-environment.png" alt-text="Screenshot that shows the Add pane with settings to configure for a SharePoint environment." lightbox="./media/devtest-lab-create-environment-from-arm/add-environment-large.png":::
66
64
65
+
For _secure string_ parameters like passwords, you can use secrets from Azure Key Vault. To learn how to store secrets in a key vault and use them when you create lab resources, see [Store secrets in Azure Key Vault](devtest-lab-store-secrets-in-key-vault.md).
66
+
67
67
1. Select **Add** to create the environment. The environment starts provisioning immediately.
68
68
69
69
> [!NOTE]
@@ -91,9 +91,9 @@ Create an environment from a template by following these steps:
91
91
92
92
The ARM templates for creating environments in DevTest Labs are available from two sources:
93
93
94
-
- DevTest Labs has a [public ARM template repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments) that includes preauthored environment templates for Azure Web Apps, an Azure Service Fabric cluster, and development SharePoint farms. The templates have minimal input parameters for a smooth getting-started experience with PaaS resources. You can use the public environment templates as-is or customize them to suit your needs. You can also suggest revisions or additions to a public template by submitting a pull request against the open-source [GitHub public template repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments).
94
+
- DevTest Labs has a [public ARM template repository](https://github.com/Azure/azure-devtestlab/tree/master/Environments) that includes preauthored environment templates for Azure Web Apps, an Azure Service Fabric cluster, and development SharePoint farms. The templates have minimal input parameters for a smooth getting-started experience with PaaS resources. You can use the public environment templates as-is or customize them to suit your needs. You can also suggest revisions or additions to a public template by submitting a pull request against the GitHub public template repository.
95
95
96
-
- You can [store environment templates in your own public or private GitHub 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.
96
+
- You can [store environment templates in your own public or private GitHub repositories](devtest-lab-use-resource-manager-template.md#store-arm-templates-in-git-repositories), and [add 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.
97
97
98
98
## Configure public environment settings
99
99
@@ -111,17 +111,17 @@ Configure public environment repository access for a new lab by following these
111
111
112
112
### Set public environment access for existing labs
113
113
114
-
For existing labs, or labs that you create with an ARM template, public environments might not be enabled.
114
+
For existing labs, or labs that you create with an ARM template, public environments might not be enabled. You can control access to public environment repositories for any existing lab with the **Enable Public Environments for this lab** option.
115
115
116
-
Enable or disable the public environment repository access for any existing lab with these steps:
116
+
Follow these steps to enable or disable the public environment repository access for any existing lab:
117
117
118
118
1. In the [Azure portal](https://portal.azure.com), go to your DevTest Labs lab resource where you want to set public environment access.
119
119
120
120
1. On your lab **Overview** page, expand the **Settings** section in the left menu, and select **Configuration and policies**.
121
121
122
122
1. On the **Configuration and policies** page, expand the **Virtual machine bases** section in the left menu, and select **Public environments**.
123
123
124
-
1. On the **Public environments** page, set the **Enable Public Environments for this lab** option to enable (**Yes**):
124
+
1. On the **Public environments** page, set the **Enable Public Environments for this lab** option to **Yes**:
125
125
126
126
:::image type="content" source="media/devtest-lab-create-environment-from-arm/enable-public-environments.png" alt-text="Screenshot that shows how to enable all public environment repositories for an existing lab resource." lightbox="media/devtest-lab-create-environment-from-arm/enable-public-environments-large.png":::
127
127
@@ -133,17 +133,17 @@ When you set the **Enable Public Environments for this lab** option to control a
133
133
134
134
Follow these steps to allow access to only specific environments for the lab:
135
135
136
-
1. On the **Public environments** page, set the **Enable Public Environments for this lab** option to **Yes** for access to all environments.
136
+
1. On the **Public environments** page, set the **Enable Public Environments for this lab** option to **Yes**.
137
137
138
138
1. Deselect specific environments in the list to make them unavailable to lab users:
139
139
140
-
:::image type="content" source="media/devtest-lab-create-environment-from-arm/select-public-environments.png" alt-text="Screenshot that shows how to deselect public repository environments for a lab to disable access for users." lightbox="media/devtest-lab-create-environment-from-arm/select-public-environments-large.png":::
140
+
:::image type="content" source="media/devtest-lab-create-environment-from-arm/select-public-environments.png" alt-text="Screenshot that shows how to deselect public environment repositories for a lab to disable access for users." lightbox="media/devtest-lab-create-environment-from-arm/select-public-environments-large.png":::
141
141
142
142
1. Select **Save**.
143
143
144
144
### Configure environment user rights
145
145
146
-
By default, lab users are assigned the **Reader** role in public repository environments. They can't change environment resources, and they can't stop or start resources.
146
+
By default, lab users are assigned the **Reader** role in public environment repositories. They can't change environment resources, and they can't stop or start resources.
147
147
148
148
Use the following steps to give lab users the **Contributor** role and allow them to edit environment resources:
149
149
@@ -169,9 +169,9 @@ Lab owners and administrators can use Azure PowerShell to create VMs and environ
169
169
170
170
Automate ARM environment template deployment with Azure PowerShell with these steps:
171
171
172
-
1.[Commit an ARM environment template into a GitHub repository](devtest-lab-use-resource-manager-template.md#configure-your-own-template-repositories).
172
+
1.[Store the ARM environment template into a GitHub repository](devtest-lab-use-resource-manager-template.md#configure-your-own-template-repositories).
173
173
174
-
1.[Add the GitHub repository to your lab](devtest-lab-use-resource-manager-template.md#add-template-repositories-to-labs).
174
+
1.[Add the GitHub ARM template repository to your lab](devtest-lab-use-resource-manager-template.md#add-template-repositories-to-labs).
175
175
176
176
1. Save the following PowerShell script to your computer with the filename _deployenv.ps1_. This script calls the ARM template to create the environment in the lab.
0 commit comments