Supposedly there is a way on Azure to deactivate a VM, not get billed for it, but be able to reactivate it and it retains its hard drive state, so new new setup is required.
Additional notes
Conversation w/ JH Azure infra team
Joe:
> It would be great if we could "toggle" this VM off and get $0 or close to $0/mon billed for it. And then be able to toggle it back on if we need it.
> But unfortunately this had some custom setup. Packages installed, multiple containers / processes manually set up to run, custom nginx, cronjobs.
> And I don't think we've 100% fully documented that setup.
> Is the only way to remove the monthly cost for this VM to delete it?
> And then we lose all of that setup and have to redo it from scratch at some point in the future?
Martin:
> I believe if the VM uses a managed disk for the os/data, you can shut it down without losing data. If it is only using temporary storage, you will lose the data.
Overview
While not in use, consider to deactivate.
Supposedly there is a way on Azure to deactivate a VM, not get billed for it, but be able to reactivate it and it retains its hard drive state, so new new setup is required.
Additional notes
Conversation w/ JH Azure infra team
Joe: > It would be great if we could "toggle" this VM off and get $0 or close to $0/mon billed for it. And then be able to toggle it back on if we need it. > But unfortunately this had some custom setup. Packages installed, multiple containers / processes manually set up to run, custom nginx, cronjobs. > And I don't think we've 100% fully documented that setup. > Is the only way to remove the monthly cost for this VM to delete it? > And then we lose all of that setup and have to redo it from scratch at some point in the future? Martin: > I believe if the VM uses a managed disk for the os/data, you can shut it down without losing data. If it is only using temporary storage, you will lose the data.