What are Azure Spot VMs?
Azure Spot Virtual Machines use unused Azure capacity at significantly reduced prices of up to 90% below regular pay-as-you-go pricing. In return, Spot VMs can be terminated with short notice (30 seconds) when Azure needs the capacity for regular customers.
Spot VMs are ideal for fault-tolerant, interruptible workloads such as batch processing, rendering, big data analytics, dev/test environments, or stateless container workloads.
Core Features
- Up to 90% cost savings compared to regular VMs
- All VM sizes and regions available
- Eviction policy configurable (Stop/Deallocate or Delete)
- Integration with Virtual Machine Scale Sets for auto-scaling
- Max price setting for cost control
Typical Use Cases
- Batch processing for rendering, encoding, or scientific computations
- CI/CD build agents with automatic recovery on eviction
- Big data analytics with Spark or Hadoop on low-cost infrastructure
Benefits
- Massive cost savings for suitable workloads
- Identical performance to regular VMs
- Flexibly combinable with on-demand VMs in VMSS
- 30 seconds advance notice before eviction via Metadata Service
Frequently Asked Questions
How much do I save with Spot VMs?
Depending on VM size and region, 60-90% compared to pay-as-you-go. Prices vary based on supply and demand and can be viewed in the Azure portal.
When are Spot VMs interrupted?
When Azure needs capacity for regular customers or when the current spot price exceeds your max price. You receive 30 seconds notice via the Metadata Service.
Can I use Spot VMs for production?
Only for fault-tolerant workloads. Not suitable for business-critical applications without redundancy. Combine with on-demand VMs for baseline capacity.
How do I receive eviction notifications?
Via the Azure Instance Metadata Service (IMDS) or Scheduled Events API. Implement graceful shutdown logic in your application.
Integration with innFactory
As a Microsoft Solutions Partner, innFactory supports you in implementing cost-optimized compute strategies with Spot VMs.
Contact us for a non-binding consultation on Azure cost optimization.
