Microsoft Introduces Custom Metrics for Enhanced Rolling Upgrades in Azure Virtual Machine Scale Sets

Posted by

Microsoft announces the general availability of custom metrics for rolling upgrades on Azure Virtual Machine Scale Sets. This new feature enables precise control over upgrade sequences, skipping specific VMs, and seamless integration with existing upgrade policies, enhancing upgrade flexibility and reliability. Unique :

Microsoft Rolls Out Custom Metrics for VM Scale Sets Rolling Upgrades

Microsoft just announced the general availability of custom metrics for rolling upgrades on Virtual Machine Scale Sets (VMSS). This new feature lets you fine-tune your upgrade process based on real-time application health data. For cloud architects and DevOps pros, this means smarter, safer, and more flexible upgrade workflows.

What’s New?

The key innovation here is the integration of the Application Health Extension with VMSS upgrades. It emits custom metrics that control the upgrade sequence and behavior. You can now:

  • Control upgrade order: Define the exact sequence in which your VMs get upgraded.
  • Skip specific instances: Exclude certain VMs from upgrades without affecting the rest.
  • Seamless integration: Works smoothly with rolling upgrade policies, automatic OS and extension upgrades, and MaxSurge.

How Does It Work?

The upgrade process is organized into phases, which are logical groups of VMs within your scale set. Each phase is tagged via custom metrics sent by the Application Health Extension. VMSS uses this metadata to assign VMs to phases and then upgrades them in batches based on update domains, fault domains, and zone info.

Another cool feature is skip upgrade. This lets you exclude individual VM instances from upgrades dynamically. Unlike instance protection, it ties directly into your application logic and upgrade workflow. When a rolling upgrade starts, VMSS checks if a VM’s custom metric has skipUpgrade set to true and skips it accordingly.

Why It Matters

This update is a game-changer for managing large-scale VM deployments. It gives you granular control over upgrades, reducing downtime and risk. Plus, it supports complex scenarios where some VMs need to stay untouched temporarily.

“Custom metrics for rolling upgrades empower you to tailor upgrade workflows based on real-time app health,” says Micah McKittrick from Microsoft.
“Skip upgrade integrates more seamlessly into rolling upgrades than instance protection, supporting instance-level application logic,” McKittrick adds.

Availability and Next Steps

The feature is now live in all public Azure regions. If you’re running VM Scale Sets, it’s worth exploring how custom metrics can optimize your upgrade strategy. Check out Microsoft’s official docs to get started.

In short, this update brings smarter automation and flexibility to VMSS upgrades, making your cloud infrastructure more resilient and easier to manage.

  • Define upgrade phases by grouping VMs using metadata from the Application Health Extension.
  • Upgrade batches are organized based on update domain, fault domain, and zone info within each phase.
  • Skip upgrade feature excludes individual VM instances from upgrades without affecting the rest.
  • Custom metrics integrate smoothly with rolling upgrade workflows and support instance-level application logic.
  • Feature is now available across all public Azure regions, improving upgrade management globally.
  • From the New blog articles in Microsoft Community Hub



    Related Posts
    Unlock New Possibilities with Windows Server Devices in Intune!

      Windows Server Devices Now Recognized as a New OS in Intune Microsoft has announced that Windows Server devices are Read more

    Unlock the Power of the Platform: Your Guide to Power Platform at Microsoft Ignite 2022

    Microsoft Power Platform is leading the way in AI-generated low-code app development. With the help of AI, users can quickly Read more

    Unlock the Power of Microsoft Intune with the 2210 October Edition!

    Microsoft Intune is an enterprise mobility management platform that helps organizations manage mobile devices, applications, and data. The October edition Read more

    Unlock the Power of Intune 2.211: What’s New for November!

    Microsoft Intune has released its November edition, featuring new updates to help IT admins better manage their organization’s mobile devices. Read more