Start/Stop VM On Demand

Iron Contributor

I've gone down the Azure Automation route with the Start/Stop VM's v2 runbook but it requires a RunAs credential.  I don't want to have to deal with renewing certs every year.  It sounds like managed identities (as system) is an option but the runbook doesn't support it.

 

This would be an amazingly convenient and cost effective way for some of my users to user a VM without having to incur running all the time.  I realize I can schedule the start/stop easily but in this particular application, the users don't need the VM every day.   An "on demand" option would be amazing for them.

A webhook call via an Edge Bookmark would be ideal.  I've bing'd and google'd everything but I'm not finding any good resources for something that seems like it would be useful for many albeit not a profit generator for Microsoft.

 

Anyone been down this path and have a resource you could point me to?

 

Thanks in advance.

-dave

1 Reply
I would say PowerShell script with end user creds.