Forum Discussion

Sagar_Lad's avatar
Sagar_Lad
Brass Contributor
Jan 02, 2021
Solved

Azure Dev Test Lab subscription for Auto shutdown VMs

Hi All,   I would like to know why Azure Dev Test lab subscription is required to enable auto shutdown feature for Azure VMs ?
  • pazdedav's avatar
    Jan 04, 2021

    Hi Sagar_Lad ,

     

    This is not entirely correct. You don't need to create a DevTest lab resource to enable auto-shutdown for Azure VMs, but you need to provision a 'microsoft.devtestlab/schedules' resource that will enable this functionality.

     

    As you can see, the schedule is coming from devtestlabs RP, so the only "dependency" is that this RP must be registered in your subscription and this service must be available in the region, where you deploy your VMs in Azure. You can then for instance extend your ARM template, like it is described in many places, for example here.

     

Resources