michaelblouin.ca
Auto-Shutdown Azure Linux VM after Inactivity - Mike Blouin
If you develop on Azure, or have jumpbox VMs you know the tears your wallet cries when you accidentally leave your VMs on for a night/weekend/week/month. Faced with this same problem I wrote a simple script to deallocate my Azure VMs (so that I don’t pay for them) if I’m not logged into them. The …