A few months ago I wrote this post https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/03/31/if-your-not-using-your-infras... and this post where I share the top 8 tips for saving your Azure Account $/£ see https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/07/07/tips-and-tricks-to-save-money...
In this post I just want to focus on the methods available to auto-shutdown VMs within Azure.
This is available to all the ARM-based Azure VMs.
With this feature, setting auto-shutdown can’t be easier simply select the auto-shutdown time and Time Zone in http://portal.azure.com
Azure automation by creating a PowerShell script which reads from the Azure metrics API. For more details see https://docs.microsoft.com/en-us/azure/automation/automation-scenario-start-stop-vm-wjson-tags ... At some point you would call the Virtual Machines API at the right time (and optionally send a notification) https://codehollow.com/2016/07/automatically-shutdown-virtual-machines-azure/
Demonstrates stopping all Microsoft Azure Virtual Machine in a specific Azure subscription. The script could be associated with the new Azure Automation Scheduler to stop Virtual Machines at specific time. Great for developers for saving on Azure Compute, if they forget to shut.
Please refer to the following articles for using JSON based templates for managing machines.
Azure Automation – Using JSON formatted tags to create a week schedule for virtual machine star...
Azure Automation scenario: Using JSON-formatted tags to create a schedule for Azure VM start-up...
Example from TechNet script gallery https://gallery.technet.microsoft.com/scriptcenter/Stop-Azure-Virtual-Machine-0b1fea97/view/Dis...
https://github.com/ratchetnclank/Invoke-Autoshutdown
If your interested in contributing to Open Source Projects the following may be of interest
https://github.com/blndev/azure-vm-costsaver
https://blogs.msdn.microsoft.com/uk_faculty_connection/2016/11/23/saving-your-azure-by-auto-shu...
https://blogs.msdn.microsoft.com/uk_faculty_connection/2016/09/09/utilising-microsoft-data-scie...
https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/03/31/if-your-not-using-your-infras...
https://blogs.msdn.microsoft.com/uk_faculty_connection/2017/07/07/tips-and-tricks-to-save-money...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.