Search code examples
azureazure-automationazure-vm

How to start an Azure VM automatically?


I have an Azure Windows VM configed with Auto-shutdown for the sake of costing saving. It works fine that every night it shuts down the machine as scheduled. But everyday I needs to go to Azure potal to starts it manually. Is there a way to start the Azure VM automatically on a scheduled time? Thanks.


Solution

  • One of the possible solutions to this problem is to use Azure Automation.

    Detailed instructions on how to start/stop VM on a pre-defined schedule is described in details here: https://learn.microsoft.com/en-us/azure/automation/automation-solution-vm-management#scenarios.