Automatically start lab VMs with auto-start in Azure DevTest Labs

This article shows how to configure and apply an auto-start policy for Azure DevTest Labs virtual machines (VMs). Auto-start automatically starts up lab VMs at specified times and days.

To implement auto-start, you configure an auto-start policy for the lab first. Then, you can enable the policy for individual lab VMs. Requiring individual VMs to enable auto-start helps prevent unnecessary startups that could increase costs.

You can also configure auto-shutdown policies for lab VMs. For more information, see Manage auto shutdown policies for a lab in Azure DevTest Labs.

Configure auto-start for the lab

To configure auto-start policy for a lab, follow these steps. After configuring the policy, enable auto-start for each VM that you want to auto-start.

  1. On your lab Overview page, select Configuration and policies under Settings in the left navigation.

    Screenshot that shows selecting Configuration and policies in the left navigation menu.

  2. On the Configuration and policies page, select Auto-start under Schedules in the left navigation.

  3. Select Yes for Allow auto-start.

    Screenshot of Auto-start option under Schedules.

  4. Enter a Scheduled start time, select a Time zone, and select the checkboxes next to the Days of the week that you want to apply the schedule.

  5. Select Save.

    Screenshot of auto-start schedule settings.

Add VMs to the auto-start schedule

After you configure the auto-start policy, follow these steps for each VM that you want to auto-start.

  1. On your lab Overview page, select the VM under My virtual machines.

    Screenshot of selecting a VM from the list under My virtual machines.

  2. On the VM's Overview page, select Auto-start under Operations in the left navigation.

  3. On the Auto-start page, select Yes for Allow this virtual machine to be scheduled for automatic start, and then select Save.

    Screenshot of selecting Yes on the Auto-start page.

Next steps