Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Automatically start lab VMs with autostart in Azure DevTest Labs

Feedback

In this article

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

To implement autostart, you first configure an autostart policy for the lab. You can then enable the policy for individual lab VMs. Requiring individual VMs to enable autostart helps prevent unnecessary startups that could increase costs.

You can also configure autoshutdown policies for lab VMs. For more information, seeConfigure autoshutdown for lab VMs in DevTest Labs.

Prerequisites

None

Configure autostart for the lab

To configure an autostart policy for a lab, complete these steps. After you configure the policy,enable autostart for each VM that you want to start automatically.

  1. On your labOverview page, selectConfiguration and policies underSettings in the left navigation.

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

  2. On theConfiguration and policies page, selectAuto-start underSchedules in the left navigation.

  3. SelectYes forAllow auto-start.

    Screenshot of Auto-start option under Schedules.

  4. Enter aScheduled start time, select aTime zone, and select the checkboxes next to theDays of the week that you want to add to the schedule.

  5. SelectSave.

    Screenshot of autostart schedule settings.

Add VMs to the autostart schedule

After you configure the autostart policy, complete these steps for each VM that you want to start automatically.

  1. On your labOverview page, select the VM underMy virtual machines.

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

  2. On the VM'sOverview page, selectAuto-start underOperations in the left navigation.

  3. On theAuto-start page, selectYes forAllow this virtual machine to be scheduled for automatic start, and then selectSave.

    Screenshot of selecting Yes on the Auto-start page.

  4. On the VM Overview page, your VM showsOpted-in status for autostart.

    Screenshot showing a VM with opted-in status for autostart checked.

    You can also see the autostart status for the VM on the lab Overview page.

    Screenshot showing the lab overview page, with VM auto-start set to Yes.

Related content


Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?