Forum Discussion
Jim Ehrenberg
Dec 29, 2019Copper Contributor
Newbee question on re: how billing works
I have 3 virtual machines and a virtual network. If I come in, work for 3 hours, and turn them all off I am only billed for 3 hours of work, correct?
- Be sure to deallocate the VM’s, not just shut them down in the OS. You will be charged for the managed disk even if the VM is reallocated.
8 Replies
Sort By
- ibnmbodjiSteel Contributor
Hi you will be charged for 3 hours but even if your vms are turned off the disks still take space and you are charged for this . Same for all services consumed by the Virtual machines like some networking services and unfortunately it is impossible to stop them. The good news is they don't cost a lot.
- Prashant SharmaBrass Contributor
Hello Jim,
If you Stop your VM so only the operating system is turned off. other resources are still working in the backend or you can say the resources occupy or the space-consuming charges in the Microsoft servers like VNet, Storage Account, NSG, Disks, etc. so you have to pay charges for the reserved space.
- Rahul_NemadeCopper Contributor
- Prashant SharmaBrass Contributor
Yes Rahul.
- Jim EhrenbergCopper Contributor
Prashant Sharma Thank you Prashant. Is there one button or powershell command I can run to turn everything off as you indicated above or do I need to do it individually each time? Thanks!
- Prashant SharmaBrass Contributor
Hello Jim,
I have a PowerShell script, but Using this Script you can only turn off the multiple VMs using a single click.
According to me, there is no procedure to shutdown other services, neither manually nor by Script. Because when the machine is stopped, so these services are also in the stopped state, but Services reserved charges are ongoing not using charges.
- TravisRobertsIron ContributorBe sure to deallocate the VM’s, not just shut them down in the OS. You will be charged for the managed disk even if the VM is reallocated.
- Jim EhrenbergCopper Contributor
TravisRoberts Thanks Travis!.