For some time now when using DevTest Labs it has been possible to configure an automatic shutdown and start up for virtual machines. This has enabled developers to have ready to go environments as soon as they arrive in work, taking away the time waiting for virtual machines to start up. Having this ability to configure virtual machines this way also enables a business to keep development costs lower thanks to virtual machines only running when they are required.
This feature has only been available to businesses using DevTest Labs until very recently. It has been realised that the auto-shutdown feature was one of the most popular features used within DevTest Labs, this has led to Microsoft making the feature available for all ARM-based Azure virtual machines.
Now all users have the ability to configure an automatic shutdown time for virtual machines. This was previously only possible to do via PowerShell, now it is a built in Azure feature that can be accessed from the virtual machine blade.
The auto-shutdown feature can be configured by following the below steps:
- Navigate to a virtual machine blade within the Azure portal.
- Click Auto-shutdown in the resource menu on the left-side.
- You will see the auto-shutdown settings page appear on the right hand side, users have the ability to configure:
- A time
- Time zone
- Webhook URL
- Send a notification to a webhook 15 mins before shutdown