What are VMSS upgrade policies?
IntermediateConceptCompute and App Platforms
Answer
When the scale set model changes (new image, new extension config):
- Manual: existing instances keep the old model until you run
az vmss update-instances. - Automatic: all instances are updated at once (no batching control). Risky.
- Rolling: update in batches (
maxBatchInstancePercent), wait for health (pauseTimeBetweenBatches), stop if too many unhealthy. Needs a health probe or Application Health extension.
Separately, automatic OS image upgrade rolls new platform image versions in safe batches. Production VMSS use Rolling with health signals.
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 Spot VMs and where do they fit?IntermediateWhat is the temporary disk on a VM and why does it matter?BeginnerManaged disk types and when you pick each.Intermediate