What are Spot VMs and where do they fit?
IntermediateConceptCompute and App Platforms
Answer
Spot VMs use spare capacity at up to around 90% discount and can be evicted with 30 seconds notice when Azure needs capacity back or the price exceeds your max. Eviction policy: Deallocate (keep disks, you pay storage) or Delete.
Good for: CI build agents, batch, stateless AKS user node pools with workloads that tolerate interruption (kubernetes.azure.com/scalesetpriority=spot:NoSchedule taint is added automatically). Never for system node pools, databases or anything without retry. Watch for eviction via Scheduled Events at http://169.254.169.254/metadata/scheduledevents.
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 is the temporary disk on a VM and why does it matter?BeginnerManaged disk types and when you pick each.Intermediate