Skip to content

Commit 3287f04

Browse files
committedOct 21, 2021
Freshness4
1 parent 63d6452 commit 3287f04

File tree

6 files changed

+42
-29
lines changed

6 files changed

+42
-29
lines changed
 
Lines changed: 42 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,62 @@
11
---
2-
title: Configure autostart settings for a VM
2+
title: Configure auto-start settings for a VM
33
description: Learn how to configure autostart settings for VMs in a lab. This setting allows VMs in the lab to be automatically started on a schedule.
44
ms.topic: how-to
5-
ms.date: 06/26/2020
5+
ms.date: 10/21/2021
66
---
77

8-
# Auto startup lab virtual machines
9-
Azure DevTest Labs allows you to configure virtual machines in your lab to be automatically started and shutdown based on a schedule. For information on configuring autoshutdown settings, see [Manage autoshutdown policies for a lab in Azure DevTest Labs](devtest-lab-auto-shutdown.md).
8+
# Auto startup lab virtual machines
109

11-
Unlike autoshutdown, where all the VMs are included when the policy is turned on, the autostart policy requires a lab user to explicitly select a VM and opt in to this schedule. That way, you won't easily run into the situation where unwanted VMs are accidentally auto started and cause unexpected spending.
10+
Auto-start allows you to automatically start virtual machines (VMs) in a lab at a scheduled time each day. You first need to create an auto-start policy. Then you must select which VMs to follow the policy. The extra step of affirmatively selecting VMs to auto-start is meant to prevent the unintentional starting of VMs that result in increased costs.
1211

13-
This article shows you how to configure autostart policy for a lab.
12+
This article shows you how to configure an auto-start policy for a lab. For information on configuring auto-shutdown settings, see [Manage autoshutdown policies for a lab in Azure DevTest Labs](devtest-lab-auto-shutdown.md).
1413

15-
## Configure autostart settings for a lab
16-
1. Navigate to the home page for your lab.
17-
2. Select **Configuration and policies** on the left menu.
14+
## Configure auto-start settings for a lab
1815

19-
![Screenshot that shows the "Configuration and policies" menu in the DevTest Lab.](./media/devtest-lab-auto-startup-vm/configuration-policies-menu.png)
20-
3. On the **Configuration and policies** page, do the following steps:
21-
22-
1. Select **On** for **Allow virtual machines to be scheduled for automatic start** to enable the autostart feature for this lab.
23-
2. Select a start time (for example: 8:00:00 AM) for the **Schedule start** field.
24-
3. Select a **time zone** to be used.
25-
4. Select **days of the week** on which VMs need to be automatically started.
26-
5. Then, select **Save** on the toolbar to save the settings.
16+
The policy doesn't automatically apply auto-start to any VMs in the lab. After configuring the policy, follow the steps from [Enable auto-start for a VM in the lab](#enable-auto-start-for-a-VM-in-the-lab).
2717

28-
![Autostart settings](./media/devtest-lab-auto-startup-vm/auto-start-configuration.png)
18+
1. Sign in to the [Azure portal](https://portal.azure.com/).
2919

30-
> [!IMPORTANT]
31-
> This policy does not automatically apply auto-start to any virtual machines in the lab. To **opt in** individual virtual machines, go to the virtual machine page and enable **auto-start** for that VM.
20+
1. Navigate to your lab in **DevTest Labs**.
3221

33-
## Enable autostart for a VM in the lab
34-
The following procedure provides you with steps for opting in a VM into the autostart policy of the lab.
22+
1. Under **Settings**, select **Configuration and policies**.
3523

36-
1. On the home page for your lab, select the **VM** in the **My virtual machines** list.
24+
:::image type="content" source="./media/devtest-lab-auto-startup-vm/configuration-policies-menu.png" alt-text="Screenshot that shows the "Configuration and policies" menu in the DevTest Labs.":::
3725

38-
![Configuration and policies menu](./media/devtest-lab-auto-startup-vm/select-vm.png)
39-
2. On the **Virtual machine** page, select **Autostart** on the left menu or in the **Schedules** list.
26+
1. On the **Configuration and policies** page, under **Schedules**, select **Auto-start**.
4027

41-
![Select autostart menu](./media/devtest-lab-auto-startup-vm/select-auto-start.png)
42-
3. On the **Autostart** page, select **On** for the **Allow this virtual machine to be scheduled for automatic start** option.
28+
1. For **Allow auto-start**, select **Yes**. Scheduling information will then appear.
4329

44-
![Enable autostart for the VM](./media/devtest-lab-auto-startup-vm/auto-start-vm.png)
45-
4. Then, select **Save** on the toolbar to save the setting.
30+
:::image type="content" source="./media/devtest-lab-auto-startup-vm/portal-lab-auto-start.png" alt-text="Auto-start option under Schedules.":::
31+
32+
1. Provide the following scheduling information:
4633

34+
|Property | Description |
35+
|---|---|
36+
|Scheduled start| Enter a start time.|
37+
|Time zone| Select a time zone from the drop-down list.|
38+
|Days of the week| Select each box next to the day you want the schedule to be applied.|
39+
40+
:::image type="content" source="./media/devtest-lab-auto-startup-vm/auto-start-configuration.png" alt-text="Autostart schedule settings.":::
41+
42+
1. Select **Save**.
43+
44+
## Enable auto-start for a VM in the lab
45+
46+
These steps continue from the prior section. Now that an auto-start policy has been created, select the VMs to apply the policy against.
47+
48+
1. Close the **Configuration and policies** page to return to the **DevTest Labs** page.
49+
50+
1. Under **My virtual machines**, select a VM.
51+
52+
:::image type="content" source="./media/devtest-lab-auto-startup-vm/select-vm.png" alt-text="Select VM from list under My virtual machines.":::
53+
54+
1. On the **virtual machine** page, under **Operations**, select **Auto-start**.
55+
56+
1. On the **Auto-start** page, select **Yes**, and then **Save**.
57+
58+
:::image type="content" source="./media/devtest-lab-auto-startup-vm/select-auto-start.png" alt-text="Select autostart menu.":::
4759

4860
## Next steps
61+
4962
To learn about configuration autoshutdown policy for a lab, see [Manage autoshutdown policies for a lab in Azure DevTest Labs](devtest-lab-auto-shutdown.md)
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.