Auto Shutdown and Auto Start an Azure VM

In this video, we are going to have a look at how you can automatically start and stop an Azure VM using automation tasks. With automation tasks, Azure offers a simple way to manage a specific resource or resource group using automation task templates. These templates depend on the Azure resource. For example, for an Azure virtual machine, you can create an automation task that turns on or turns off that virtual machine on a predefined schedule or sends the resource's monthly cost. This can be especially helpful if you are trying to reduce the cost of your Azure VMs.

An automation task is actually a workflow that runs on the Azure Logic Apps service behind the scenes. Automation tasks are currently in preview and support sending monthly cost for all Azure resources and special templates for Azure virtual machines, Azure Storage accounts, and Azure Cosmos DB.


📄 Links


📺 Agenda
0:00 Intro
0:39 Azure VM in the Azure Portal
1:01 Auto-Shutdown Azure VM
1:53 Automation Tasks
2:19 Create Tasks from Start and Stop templates
5:18 Logic Apps
7:58 Wrap up


Thomas works as a Senior Cloud Advocate at Microsoft. He engages with the community and customers around the world to share his knowledge and collect feedback to improve the Azure cloud platform. Prior to joining the Azure engineering team (Cloud + AI), Thomas was a Lead Architect and Microsoft MVP, to help architect, implement and promote Microsoft cloud technology.
If you want to know more about Thomas, check out:

Website / blog
🐦 Twitter
📸 Instagram
💼 LinkedIn