Interview Prep/Azure/Compute and App Platforms

How do you patch VMs at scale in Azure?

IntermediateConceptCompute and App Platforms
Answer

Azure Update Manager assesses and installs OS updates for Azure VMs and Arc-enabled servers, with maintenance configurations (schedules, classifications, pre/post scripts) assigned by dynamic scope (subscription, tags). It replaced Automation Update Management.

For scale sets, prefer immutable updates: bake a new image with Azure Image Builder or Packer into an Azure Compute Gallery, then roll it out with a rolling upgrade. For VMSS on platform images, enable automatic OS image upgrades. Guest patching via patchMode: AutomaticByPlatform gives health-aware, zone-by-zone patching.

Azure All Azure questions Roadmap: Azure core services

More on Compute and App Platforms