How to start and stop your Azure VMs on a schedule using Start Stop V2 (2021)

Starting and stopping your Azure Virtual Machines on a schedule can be a quick and easy way to save money on your cloud hosting.

This video will show you how to install and configure the new free and open source Start Stop V2 solution.

Feel free to reach out to me here, or YouTube for questions.

Here’s the link to GitHub: https://github.com/microsoft/startstopv2-deployments/blob/main/README.md

Sample payloads which are referenced in the video:

{
  "Sequenced": false,
  "Action": "stop",
  "EnableClassic": false,
  "RequestScopes": {
    "Subscriptions": [],
    "ResourceGroups": [],
    "VMLists": [],
    "ExcludedVMLists": []
  }
}

Same payload with some comments:

{
    // Specifies if this orchestration request is sequenced.
    "Sequenced": false,
    // The action to be carried out for this request.
    "Action": "stop",
    // Specifies if classic resources are in scope for this request.
    "EnableClassic": false,
    // The scopes to be acted on in this request.
    "RequestScopes": {
        // ARM Id of azure subscriptions in scope.
	"Subscriptions": [],
        // ARM Id of azure resource groups in scope.
	"ResourceGroups": [],
        // ARM Id of azure virtual machines in scope.
	"VMLists": [],
        // ARM Id of azure virtual machines out scope.
	"ExcludedVMLists": []
    }
}

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.