Applies to: Nerdio Manager for MSP (NMM) v3.0+
Virtual machines are the basic building blocks for your deployments. While VMs offer scalability on demand, if not used judiciously, you may end up paying hefty amounts for unused resources. If you accidentally leave VMs running or forget to turn off Global or Desktop Images, you will higher than expected costs on your Azure bills. Let us consider an example, by leaving a non-production VM running 24x7 when it is used only 12 hours a day on weekdays, you are wasting 65% of the costs. Simply by turning off resources when not in use, you can significantly reduce your Azure bills.
You can start saving costs on your VMs from the minute you start creating them. To save costs on unused images:
- NMM allows you to schedule auto-shutdown of an image after X hours of powering on the image
- NMM displays a warning message when an image is left powered on for an extended period of time
- When global/desktop images are powered off, NMM automatically changes the OS disk configuration to standard HDD which is the most cost-effective storage option available. When they are powered back ON from the NMM portal, the OS disk size is reverted back to its original configuration
Scheduling auto-shutdown of an image
Login to your account and navigate to "Desktop images" tab. Select an image that you want to auto-shutdown and click "Power on" button as shown below:
The following pop-up opens up. Select "Schedule power off" checkbox. Enter time (in hours) in "Power off after" textbox and and click "OK" button:
This operation will automatically shutdown the selected image after the preset duration.
Once you configure the auto-shutdown, you will see a "clock" icon next to the image. On clicking the "clock" icon, you will see the scheduled auto-shutdown time:
When the image has been auto-powered off at the preset time, you will also see a "Stop desktop image" task under "Desktop images tasks" section:
Click "Details" option to view detailed logs for the "Stop desktop image" task:
Viewing warning messages on your images
If one or more images have been left running for more than eight hours, NMM portal will notify you by showing a warning message at the top of the screen:
When you see this warning message, you need to look for all active desktop images in your account(s) and manually power them off. Alternately, if you do wish to keep any images running for more than 8 hours, you need to click "Mute for 7 days" button on the warning message to stop seeing the warning for the next 7 days. You will automatically begin to see the warning message from the 8th day.
Similarly, you can configure auto-shutdown of global images:
If the image has been left running for more than 8 hours, you will see the following warning message:
Click "Mute for 7 days" button on the warning message to stop seeing the warning for the next 7 days. Otherwise the image will be automatically powered off:
Click "Details" button to view the job details for "Stop global image" task: