Spot vs On-Demand Nodes
Feature | Spot Nodes | On-Demand Nodes | |
---|---|---|---|
1 | Pricing | Up to 90% cheaper than On-Demand nodes | Charged at regular hourly rate |
2 | Availability | Not guaranteed (can be interrupted anytime) | Always available unless capacity issues |
3 | Termination | Can be interrupted with short notice (e.g., 2 min in AWS) | Runs until terminated manually |
4 | Reliability | Less reliable, cloud provider can reclaim them | Highly reliable, runs without disruption |
5 | Scaling | Auto-scaling works, but nodes may be interrupted | Auto-scaling works smoothly |
6 | Workload Type | Best for stateless & distributed workloads | Suitable for stateful & critical workloads |
7 | Use Case: Stateful Workloads | ❌ Not recommended (risk of data loss) | ✅ Best for databases, persistent storage |
8 | Cost Savings | High cost savings for short-lived workloads | Predictable costs, no sudden termination |
9 | Environment Suitability | ✅ Ideal for non-critical environments (Dev, test) | ✅ Ideal for production environments |