Hi Ramon,
To automate the shutdown and auto-start of VMs in Azure at specific times (e.g., shutdown at 5:00 PM and start at 8:00 AM), you can use Azure Automation's Start/Stop VMs during off-hours feature. Here are the steps to achieve this:
- Access Azure Automation:
- Go to the Azure portal and open Azure Automation.
- Create Automation Account:
- If you don't already have one, create a new Azure Automation account.
- Deploy Start/Stop VMs Solution:
- Deploy the "Start/Stop VMs during off-hours" solution. This can be found under the Automation Account.
- Configure Schedules:
- Configure the schedules for starting and stopping the VMs. Specify the times (e.g., stop at 5:00 PM, start at 8:00 AM).
- Assign VMs to the Schedules:
- Assign the VMs to these schedules. You can target specific VMs or resource groups.
- Configure Runbooks:
- The solution includes preconfigured runbooks. You may customize them if needed for more specific control over the VMs.
Hope this helps!
Kindly if you find the provided information helpful and it resolves your query, please consider accepting the answer. Your feedback is valuable and helps ensure the quality and relevance of the responses.