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-reference-architecture.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ This DevTest Labs enterprise reference architecture has the following components
25
25
26
26
- VMs and other software-as-a-service (SaaS), infrastructure-as-a-service (IaaS), and PaaS resources.
27
27
28
-
DevTest Labs instances contain VMs and other Azure resources like PaaS environments and VM artifacts. Artifacts are tools, actions, or software to add to lab VMs.
28
+
DevTest Labs instances contain VMs and other Azure resources like PaaS environments and VM artifacts. Artifacts are actions to take or tools and software to add to lab VMs.
29
29
30
30
-[Azure Active Directory (Azure AD)](/azure/active-directory/fundamentals/active-directory-whatis) for identity management.
31
31
@@ -63,15 +63,15 @@ DevTest Labs has no built-in quotas or limits, but other Azure resources that la
63
63
Two strategies can help you stay under resource group limits:
64
64
65
65
-[All VMs go in the same resource group](resource-group-control.md). This strategy helps you meet the resource group limit, but it affects the resource-type-per-resource-group limit.
66
-
-[Use shared Public IPs](devtest-lab-shared-ip.md). If VMs are allowed to have public IP addresses, put all VMs of the same size and region into the same resource group. This configuration helps meet both resource group quotas and resource-type-per-resource-group quotas.
66
+
-[Use shared public IPs](devtest-lab-shared-ip.md). If VMs are allowed to have public IP addresses, put all VMs of the same size and region into the same resource group. This configuration helps meet both resource group quotas and resource-type-per-resource-group quotas.
67
67
68
68
- Resources per resource group per resource type. The default limit for [resources per resource group per resource type is 800](../azure-resource-manager/management/azure-subscription-service-limits.md#resource-group-limits). Putting all VMs in the same resource group hits this limit much sooner, especially if the VMs have many extra disks.
69
69
70
70
- Storage accounts. Every lab in DevTest Labs comes with a storage account. The Azure quota for [number of storage accounts per region per subscription is 250](../azure-resource-manager/management/azure-subscription-service-limits.md#storage-limits). So the maximum number of DevTest Labs in one region is also 250.
71
71
72
72
- Role assignments. A role assignment gives a user or principal access to a resource. Azure has a limit of [2,000 role assignments per subscription](../azure-resource-manager/management/azure-subscription-service-limits.md#azure-rbac-limits).
73
73
74
-
By default, DevTest Labs creates a resource group for each VM. The VM creator gets *owner* permission for the VM and *reader* permission to the resource group. So each new VM uses two role assignments. Granting user permissions to the lab also uses role assignments.
74
+
By default, DevTest Labs creates a resource group for each lab VM. The VM creator gets *owner* permission for the VM and *reader* permission to the resource group. So each lab VM uses two role assignments. Granting user permissions to the lab also uses role assignments.
75
75
76
76
- API reads/writes. You can automate Azure and DevTest Labs by using REST APIs, PowerShell, Azure CLI, and Azure SDK. Each Azure subscription allows up to [12,000 read requests and 1,200 write requests per hour](../azure-resource-manager/management/request-limits-and-throttling.md). By automating DevTest Labs, you might hit the limit on API requests.
Copy file name to clipboardExpand all lines: articles/devtest-labs/devtest-lab-vm-powershell.md
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -112,18 +112,17 @@ Save the preceding script in a file named *Create-LabVirtualMachine.ps1*. Run th
112
112
113
113
This section shows how to get the specific properties for the type of VM you want to create. You can get the properties from an Azure Resource Manager (ARM) template in the Azure portal, or by calling the DevTest Labs Azure REST API.
114
114
115
-
### Get properties from the Azure portal
115
+
### Get VM properties from the Azure portal
116
116
117
-
Creating a VM in the Azure portal generates an Azure Resource Manager (ARM) template that shows the VM's properties. Once you choose a VM base, you can see the ARM template and get the properties without actually creating the VM. This is the easiest way to get the JSON VM description if you don't already have a lab VM of that type.
117
+
Creating a VM in the Azure portal generates an Azure Resource Manager (ARM) template that shows the VM's properties. Once you choose a VM base, you can see the ARM template and get the properties without actually creating the VM. This method is the easiest way to get the JSON VM description if you don't already have a lab VM of that type.
118
118
119
119
1. In the [Azure portal](https://portal.azure.com), on the **Overview** page for your lab, select **Add** on the top toolbar.
120
120
1. On the **Choose a base** page, select the VM type you want. Depending on lab settings, the VM base can be an Azure Marketplace image, a custom image, a formula, or an environment.
121
-
1. On the **Create lab resource** page:
122
-
- Optionally, add artifacts and configure any other settings you want on the **Basic settings** and **Advanced settings** tabs.
123
-
- On the **Advanced settings** tab, select **View ARM template** at the bottom of the page.
124
-
1. On the **View Azure Resource Manager template** page, review the JSON template for creating the VM. The **resources** section has the VM properties to use in the PowerShell script.
121
+
1. On the **Create lab resource** page, optionally [add artifacts](add-artifact-vm.md) and configure any other settings you want on the **Basic settings** and **Advanced settings** tabs.
122
+
1. On the **Advanced settings** tab, select **View ARM template** at the bottom of the page.
123
+
1. On the **View Azure Resource Manager template** page, review the JSON template for creating the VM. The **resources** section has the VM properties.
125
124
126
-
For example, the following snippet shows the properties for a Windows Server 2022 Datacenter VM:
125
+
For example, the following `resources` section has the properties for a Windows Server 2022 Datacenter VM:
127
126
```json
128
127
"resources": [
129
128
{
@@ -164,7 +163,7 @@ Creating a VM in the Azure portal generates an Azure Resource Manager (ARM) temp
164
163
],
165
164
```
166
165
167
-
1. Copy and save the template to use in future PowerShell automation, and transfer the needed properties to the PowerShell VM creation script.
166
+
1. Copy and save the template to use in future PowerShell automation, and transfer the properties to the PowerShell VM creation script.
168
167
169
168
170
169
@@ -178,11 +177,11 @@ You can also call the DevTest Labs REST API to get the properties of existing la
178
177
- Under **labResourceGroup**, enter the lab resource group name.
179
178
- Under **subscriptionId**, select the lab's Azure subscription.
180
179
1. Select **Run**.
181
-
1. In the **Response** section under **Body**, view the properties for all the VMs in the lab.
180
+
1. In the **Response** section under **Body**, view the properties for all the existing VMs in the lab.
182
181
183
182
## Set VM expiration date
184
183
185
-
In training, demo, and trial scenarios, you can avoid unnecessary costs by deleting VMs automatically after a certain time. You can set the VM `expirationDate` property when you create a VM. The PowerShell VM creation script earlier in this article sets an expiration date under `properties`:
184
+
In training, demo, and trial scenarios, you can avoid unnecessary costs by deleting VMs automatically on a certain date. You can set the VM `expirationDate` property when you create a VM. The PowerShell VM creation script earlier in this article sets an expiration date under `properties`:
Copy file name to clipboardExpand all lines: articles/devtest-labs/encrypt-storage.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ The following rule sets a 90-day expiration specifically for artifact results:
76
76
77
77
Azure Storage automatically encrypts all data in the lab storage account. Azure Storage encryption protects your data and helps meet organizational security and compliance commitments. For more information, see [Azure Storage encryption for data at rest](../storage/common/storage-service-encryption.md).
78
78
79
-
Azure Storage encrypts lab data with a Microsoft-managed key. Optionally, you can manage encryption with your own keys. If you choose to manage lab storage account encryption with your own keys, you can specify a customer-managed key with Azure Key Vault to use for encrypting and decrypting data.
79
+
Azure Storage encrypts lab data with a Microsoft-managed key. Optionally, you can manage encryption with your own keys. If you choose to manage lab storage account encryption with your own key, you can use Azure Key Vault to specify a customer-managed key for encrypting and decrypting data.
80
80
81
81
For more information and instructions on configuring customer-managed keys for Azure Storage encryption, see:
0 commit comments