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.
More on Compute and App Platforms
What are the main VM families and how do you pick one?BeginnerAvailability sets vs availability zones vs VMSS flexible orchestration.IntermediateWhat is a Virtual Machine Scale Set and how does autoscale work?BeginnerWhat are VMSS upgrade policies?IntermediateWhat are Spot VMs and where do they fit?IntermediateWhat is the temporary disk on a VM and why does it matter?Beginner