Azure VM Scale Sets allows users to configure a set of ubiquitous VMs in the Azure cloud that share configuration and are treated as a single unit from the logical perspective, e.g. they’re automatically load-balanced. VM Scale Sets is also the technology underneath Microsoft’s Azure Service Fabric and Azure Batch.
Netreo is a cloud monitoring and management tool, that provides powerful monitoring, automation and auto-scaling functionality for Azure VM Scale Sets, you can learn more about it here.
In this article, we’ll see
To automatically shutdown and reboot VM Scale Sets:
If you aren’t using Netreo yet, request a demo to have a sales representative, show you the view of an Azure subscription with VM Scale Sets. Learn more about the setup process here.
To simplify configuration Netreo comes with a set of monitoring templates that define popular metrics, alerts, and automation. Default template for VM Scale Sets already contains the “Daily Reboot” action that will reboot every VM in the set once per day. Tick the “Enabled” checkbox to activate the action. Rebooting of instances is done one-at-a-time, at the top of every hour, starting at UTC 0. Rebooting instances one at a time ensures that VM Scale Set continues to be up and running.
If your application running on VM Scale Sets is not needed during off hours, cost savings of shutting down the Scale Set can be substantial.
Technical consideration to note: when a VM in a ScaleSet is shut down, its IP is deallocated. When it is brought back up, it will get a new IP unless it is assigned an Azure Reserved IP.
To shutdown VM Scale Sets during off hours:
To activate VM Scale Sets during working hours:
In this article, we explained how to activate the “Daily Reboot” action and how to shut down/restart VM Scale Set according to a schedule. Netreo can also execute and auto-scale VM Scale Sets based on signals captured anywhere in the Azure environment, e.g. CPU and memory utilization, ASB queues lengths, etc. Learn more in this article.
Find Out how Netreo can help with all Azure monitoring needs. Request a Demo Today