Skip to content

Commit 754e0b6

Browse files
authored
Merge pull request #97704 from spelluru/labs1203
auto-start article
2 parents 81cedb0 + d6b3875 commit 754e0b6

File tree

7 files changed

+63
-0
lines changed

7 files changed

+63
-0
lines changed

articles/lab-services/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
href: devtest-lab-configure-cost-management.md
6969
- name: Send autoshutdown notifications
7070
href: devtest-lab-auto-shutdown.md
71+
- name: Set auto startup for lab virtual machines
72+
href: devtest-lab-auto-startup-vm.md
7173
- name: Scale your lab
7274
href: devtest-lab-scale-lab.md
7375
- name: Manage virtual machine bases
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Configure autostart settings for a VM in Azure DevTest Labs | Microsoft Docs
3+
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.
4+
services: devtest-lab,lab-services
5+
documentationcenter: na
6+
author: spelluru
7+
editor: ''
8+
9+
ms.assetid:
10+
ms.service: lab-services
11+
ms.workload: na
12+
ms.tgt_pltfrm: na
13+
ms.devlang: na
14+
ms.topic: article
15+
ms.date: 12/03/2019
16+
ms.author: spelluru
17+
18+
---
19+
20+
# Auto startup lab virtual machines
21+
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).
22+
23+
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.
24+
25+
This article shows you how to configure autostart policy for a lab.
26+
27+
## Configure autostart settings for a lab
28+
1. Navigate to the home page for your lab.
29+
2. Select **Configuration and policies** on the left menu.
30+
31+
![Configuration and policies menu](./media/devtest-lab-auto-startup-vm/configuration-policies-menu.png)
32+
3. On the **Configuration and policies** page, do the following steps:
33+
34+
1. Select **On** for **Allow virtual machines to be scheduled for automatic start** to enable the autostart feature for this lab.
35+
2. Select a start time (for example: 8:00:00 AM) for the **Schedule start** field.
36+
3. Select a **time zone** to be used.
37+
4. Select **days of the week** on which VMs need to be automatically started.
38+
5. Then, select **Save** on the toolbar to save the settings.
39+
40+
![Autostart settings](./media/devtest-lab-auto-startup-vm/auto-start-configuration.png)
41+
42+
> [!IMPORTANT]
43+
> 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.
44+
45+
## Enable autostart for a VM in the lab
46+
The following procedure provides you with steps for opting in a VM into the autostart policy of the lab.
47+
48+
1. On the home page for your lab, select the **VM** in the **My virtual machines** list.
49+
50+
![Configuration and policies menu](./media/devtest-lab-auto-startup-vm/select-vm.png)
51+
2. On the **Virtual machine** page, select **Autostart** on the left menu or in the **Schedules** list.
52+
53+
![Select autostart menu](./media/devtest-lab-auto-startup-vm/select-auto-start.png)
54+
3. On the **Autostart** page, select **On** for the **Allow this virtual machine to be scheduled for automatic start** option.
55+
56+
![Enable autostart for the VM](./media/devtest-lab-auto-startup-vm/auto-start-vm.png)
57+
4. Then, select **Save** on the toolbar to save the setting.
58+
59+
60+
## Next steps
61+
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)
84.4 KB
Loading
38.2 KB
Loading
55.2 KB
Loading
66.5 KB
Loading
59.2 KB
Loading

0 commit comments

Comments
 (0)