Skip to content

Commit be1b4ed

Browse files
committed
edits
1 parent 4cc988d commit be1b4ed

19 files changed

+75
-78
lines changed

articles/devtest-labs/devtest-lab-create-template.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ description: Use the Azure portal to create an Azure DevTest Labs virtual machin
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 03/28/2025
7+
ms.date: 03/31/2025
88
ms.custom: UpdateFrequency2
99

10-
#customer intent: As a lab user, I want to create lab VM custom images by using VHD files, so I can easily provide a variety of images to lab users for creating VMs.
10+
#customer intent: As a lab user, I want to create lab VM custom images by using VHD files, so I can provide a variety of images to lab users for creating VMs.
1111

1212
---
1313

14-
# Create a custom image for Azure DevTest Labs virtual machines from VHD files
14+
# Create a custom image for an Azure DevTest Labs virtual machine from a VHD file
1515

1616
[!INCLUDE [devtest-lab-create-custom-image-from-vhd-selector](../../includes/devtest-lab-create-custom-image-from-vhd-selector.md)]
1717

@@ -41,13 +41,13 @@ To create a custom image for DevTest Labs from a VHD or VHDX file, follow these
4141
- If you choose **Linux**, select the checkbox if you ran **deprovision** on the machine when you created the VHD file.
4242
- **VHD Generation**: Select whether you have a **V1** (VHD) or **V2** (VHDX) file.
4343
- **VHD**: Select the uploaded VHD file for the custom image from the dropdown menu.
44-
- **Plan name,** **Plan offer**, and **Plan publisher**: If the VHD isn't a licensed image published by Microsoft, optionally enter the name of the Marketplace image or SKU used to create the VHD, product or offer name, and plan publisher. If the image is a licensed image, these fields are prepopulated with the plan information.
44+
- **Plan name,** **Plan offer**, and **Plan publisher**: If the VHD isn't a licensed image published by Microsoft, optionally enter the name of the Marketplace image or SKU used to create the VHD, a product or offer name, and the plan publisher. If the image is a licensed image, these fields are prepopulated with the plan information.
4545

4646
1. Select **OK**.
4747

4848
:::image type="content" source="media/devtest-lab-create-template/create-custom-image.png" alt-text="Screenshot that shows the Custom image page.":::
4949

50-
After creation, the custom image is stored in the lab's storage account, and appears in the list of VM base images for the lab. Lab users can create new VMs based on the custom image.
50+
After creation, the custom image is stored in the lab's storage account. The image appears on the lab **Custom images** page and on the list of VM base images for the lab. Lab users can create new VMs based on the custom image.
5151

5252
:::image type="content" source="media/devtest-lab-create-template/custom-image-available-as-base.png" alt-text="Screenshot that shows the Custom images available in the list of base images.":::
5353

articles/devtest-labs/devtest-lab-set-lab-policy.md

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to define lab policies such as VM sizes, maximum VMs per
44
ms.topic: how-to
55
ms.author: rosemalcolm
66
author: RoseHJM
7-
ms.date: 03/28/2025
7+
ms.date: 03/31/2025
88
ms.custom: UpdateFrequency2
99

1010
#customer intent: As a lab administrator, I want to be able to set policies like allowed numbers of VMs per user and shutdown schedules, so I can control lab costs and improve manageability.
@@ -14,43 +14,45 @@ ms.custom: UpdateFrequency2
1414

1515
This article describes how Azure DevTest Labs administrators can manage lab policies to control lab costs, minimize waste, and improve manageability. Lab policies you can set include:
1616

17-
- Allowed virtual machine (VM) sizes
18-
- Maximum VMs per user
19-
- Maximum VMs per lab
20-
- Autoshutdown
21-
- Autostart
22-
- Autoshutdown policy
17+
- [Allowed virtual machine (VM) sizes](#allowed-virtual-machine-sizes)
18+
- [Maximum VMs per user](#virtual-machines-per-user)
19+
- [Maximum VMs per lab](#virtual-machines-per-lab)
20+
- [Autoshutdown schedule](#autoshutdown)
21+
- [Autostart schedule](#autostart)
22+
- [Autoshutdown policy](#autoshutdown-policy)
2323

2424
## Prerequisites
2525

2626
**Contributor** or **Owner** level permissions in the lab.
2727

2828
## Set lab policies
2929

30-
To set lab policies, on your lab page in the [Azure portal](https://go.microsoft.com/fwlink/p/?LinkID=525040), select **Configuration and policies** from the left navigation.
30+
To set lab policies:
3131

32-
:::image type="content" source="./media/devtest-lab-set-lab-policy/configuration-policies-menu.png" alt-text="Screenshot that shows the Configuration and policies menu for a lab.":::
32+
1. On your lab page in the [Azure portal](https://go.microsoft.com/fwlink/p/?LinkID=525040), select **Configuration and policies** from the left navigation.
3333

34-
On the **Configuration and policies** page, select the policy you want to configure from the **Settings** and **Schedules** sections of the left navigation.
34+
:::image type="content" source="./media/devtest-lab-set-lab-policy/configuration-policies-menu.png" alt-text="Screenshot that shows the Configuration and policies menu for a lab.":::
3535

36-
:::image type="content" source="./media/devtest-lab-set-lab-policy/policies-menu.png" alt-text="Screenshot that shows a lab's Configuration and Policies options.":::
36+
1. On the **Configuration and policies** page, select the policy you want to configure from the **Settings** and **Schedules** sections of the left navigation.
37+
38+
:::image type="content" source="./media/devtest-lab-set-lab-policy/policies-menu.png" alt-text="Screenshot that shows a lab's Configuration and Policies options.":::
3739

3840
<a name="set-allowed-virtual-machine-sizes"></a>
3941
### Allowed virtual machine sizes
4042

41-
This policy specifies the VM sizes that users can create in the lab.
43+
This policy limits the VM sizes that users can create in the lab. The default policy setting is **All sizes**.
4244

4345
1. On the lab's **Configuration and policies** page, select **Allowed virtual machines sizes** from the left navigation.
4446
1. On the **Allowed virtual machines sizes** page, select **All sizes** or **Selected sizes**.
4547
1. If you select **Selected sizes**, select the VM sizes to allow users to create in the lab.
4648
1. Select **Save**.
4749

48-
:::image type="content" source="./media/devtest-lab-set-lab-policy/allowed-vm-sizes.png" alt-text="Screenshot showing Allowed VM sizes.":::
50+
:::image type="content" source="./media/devtest-lab-set-lab-policy/allowed-vm-sizes.png" alt-text="Screenshot showing Allowed VM sizes.":::
4951

5052
<a name="set-virtual-machines-per-user"></a>
5153
### Virtual machines per user
5254

53-
This policy specifies the maximum number of VMs that an individual lab user can claim or create.
55+
This policy specifies the maximum number of VMs and VMs using premium disks that an individual lab user can claim or create. The default policy setting is **Off**.
5456

5557
1. On the lab's **Configuration and policies** page, select **Virtual machines per user** from the left navigation.
5658
1. On the **Virtual machines per user** page, under **Limit the number of virtual machines**, select **On** or **Off** to enable or disable the policy.
@@ -59,15 +61,15 @@ This policy specifies the maximum number of VMs that an individual lab user can
5961
1. If you select **On**, enter the maximum number of VMs using premium solid-state disks (SSDs) that a user can claim or create. This number applies only to Premium SSDs, not Standard SSDs.
6062
1. Select **Save**.
6163

62-
:::image type="content" source="./media/devtest-lab-set-lab-policy/max-vms-per-user.png" alt-text="Screenshot showing Virtual machines per user.":::
64+
:::image type="content" source="./media/devtest-lab-set-lab-policy/max-vms-per-user.png" alt-text="Screenshot showing Virtual machines per user.":::
6365

6466
If a user tries to create or claim a VM after the user limit is met, an error message indicates that the user can't exceed their VM limit.
6567

6668
:::image type="content" source="./media/devtest-lab-set-lab-policy/error.png" alt-text="Screenshot showing the error that the user can't exceed their VM limit.":::
6769

6870
### Virtual machines per lab
6971

70-
This policy specifies the maximum number of VMs that all users can create in the current lab.
72+
This policy specifies the maximum number of VMs that all users can create in the current lab. The default policy setting is **Off**.
7173

7274
1. On the lab's **Configuration and policies** page, select **Virtual machines per lab** from the left navigation.
7375
1. On the **Virtual machines per lab** page, under **Limit the number of virtual machines**, select **On** or **Off** to enable or disable the policy.
@@ -76,14 +78,14 @@ This policy specifies the maximum number of VMs that all users can create in the
7678
1. If you selected **On**, enter the maximum number of VMs in the lab that can use premium SSDs.
7779
1. Select **Save**.
7880

79-
:::image type="content" source="./media/devtest-lab-set-lab-policy/max-vms-per-lab.png" alt-text="Screenshot showing VMs per lab.":::
81+
:::image type="content" source="./media/devtest-lab-set-lab-policy/max-vms-per-lab.png" alt-text="Screenshot showing VMs per lab.":::
8082

8183
If a user tries to create or claim a VM after the lab limit is met, an error message indicates that the VM can't be created or claimed.
8284

8385
<a name="set-auto-shutdown"></a>
8486
### Autoshutdown
8587

86-
Autoshutdown helps minimize lab waste by shutting down lab VMs at a specific time of day.
88+
Autoshutdown helps minimize lab waste by shutting down lab VMs at a specific time of day. The default policy setting is **Off**.
8789

8890
1. On the lab's **Configuration and policies** page, select **Auto-shutdown** from the left navigation.
8991
1. On the **Auto-shutdown** page, select **On** or **Off** to enable or disable the policy.
@@ -92,9 +94,9 @@ Autoshutdown helps minimize lab waste by shutting down lab VMs at a specific tim
9294
1. If you choose **Yes**, enter a webhook URL endpoint under **Webhook URL** or semicolon-separated email addresses under **Email address** to post or send the notification.
9395
1. Select **Save**.
9496

95-
:::image type="content" source="./media/devtest-lab-set-lab-policy/auto-shutdown.png" alt-text="Screenshot showing Auto shutdown.":::
97+
:::image type="content" source="./media/devtest-lab-set-lab-policy/auto-shutdown.png" alt-text="Screenshot showing Auto shutdown.":::
9698

97-
By default, autoshutdown applies to all lab VMs. If allowed by [autoshutdown policy](#autoshutdown-policy), lab users can override lab autoshutdown settings for their own lab VMs as follows:
99+
By default, autoshutdown applies to all lab VMs. If allowed by [autoshutdown policy](#autoshutdown-policy), lab users can override lab autoshutdown settings for their own individual lab VMs as follows:
98100

99101
1. Select the VM from **My virtual machines** on the lab **Overview** page.
100102
1. On the home page for the VM, select **Auto-shutdown** from the **Operations** section of the left navigation.
@@ -104,33 +106,33 @@ For more information about autoshutdown and sending notifications, see [Configur
104106
<a name="set-autostart"></a>
105107
### Autostart
106108

107-
Autostart policy helps you minimize waste by specifying a specific time of day and days of the week to start up lab VMs.
109+
Autostart policy helps you minimize waste by specifying a specific time of day and days of the week to start up lab VMs. The default policy setting is **No**.
108110

109-
> [!NOTE]
111+
> [!IMPORTANT]
110112
> This policy isn't automatically applied to lab VMs. To apply this setting to VMs, open the VM's page and change its **Auto-start** setting.
111113
112114
1. On the lab's **Configuration and policies** page, select **Auto-start** from the left navigation.
113115
1. Select **Yes** or **No** to enable or disable the policy.
114116
1. If you select **Yes**, specify the **Scheduled start**, **Time zone**, and **Days of the week** to start up the lab VMs.
115117
1. Select **Save**.
116118

117-
:::image type="content" source="./media/devtest-lab-set-lab-policy/auto-start.png" alt-text="Screenshot showing the Autostart selection.":::
119+
:::image type="content" source="./media/devtest-lab-set-lab-policy/auto-start.png" alt-text="Screenshot showing the Autostart selection.":::
118120

119121
For more information and details about autostart policy, see [Start up lab virtual machines automatically](devtest-lab-auto-startup-vm.yml).
120122

121123
<a name="set-auto-shutdown-policy"></a>
122124
### Autoshutdown policy
123125

124-
If you set autoshutdown for lab VMs, you can also set a policy to let lab users override the lab autoshutdown settings for their own VMs. You can set autoshutdown policy to allow lab users full control, partial control, or no control over their own VMs' autoshutdown activity.
126+
If you set an autoshutdown schedule for lab VMs, you can also set a policy to let lab users override the lab autoshutdown settings for their own VMs. You can set autoshutdown policy to allow lab users full control, partial control, or no control over their own VMs' autoshutdown activity.
125127

126128
> [!IMPORTANT]
127129
> Autoshutdown policy changes apply only to new lab VMs, not to already-existing VMs.
128130
129131
1. On the lab's **Configuration and policies** page, select **Auto shutdown policy** from the left navigation.
130132
1. Select one of the following options:
131133

132-
- **User sets a schedule and can opt out**: Lab users can override or opt out of lab autoshutdown. Lab users can override the lab schedule, and they don't have to set any autoshutdown for their VMs. This setting is the default.
133-
- **User sets a schedule and cannot opt out**: Lab users can override the lab schedule for their VMs, but they can't opt out of autoshutdown. This option ensures that every VM in the lab is on some autoshutdown schedule.
134+
- **User sets a schedule and can opt out**: Lab users can override or opt out of lab autoshutdown. Lab users can override the lab schedule times, and they don't have to set any autoshutdown for their VMs. This setting is the default.
135+
- **User sets a schedule and cannot opt out**: Lab users can override the lab shutdown schedule for their VMs, but they can't opt out of autoshutdown. This option ensures that every VM in the lab is on some autoshutdown schedule.
134136
- **User has no control over the schedule set by lab administrator**: Lab users can't override or opt out of the lab autoshutdown schedule. They can set up autoshutdown notifications for their own VMs.
135137

136138
1. Select **Save**.
536 Bytes
Loading
685 Bytes
Loading
586 Bytes
Loading
957 Bytes
Loading
670 Bytes
Loading
417 Bytes
Loading
724 Bytes
Loading
-4.05 KB
Loading

0 commit comments

Comments
 (0)