Explain Spot vs Reserved vs On-Demand Instances.

Spot, reserved, and on-demand instances are cloud pricing models where on-demand offers pay-as-you-go, reserved provides long-term discounts for commitment, and spot leverages spare capacity at the lowest cost but with interruption risks.

When to Use

  • On-Demand: Prototyping, unpredictable workloads, or short-term projects.
  • Reserved: Long-running, steady-state apps like databases or APIs.
  • Spot: Batch jobs, ML model training, ETL, and workloads tolerant to interruption.

Example

A startup runs its web API on reserved instances, adds on-demand during traffic spikes, and executes nightly data ETL on spot instances.

Want to master trade-offs like these for interviews?

Explore Grokking System Design Fundamentals, Grokking the Coding Interview, and sharpen your skills with Mock Interviews with ex-FAANG engineers.

Why Is It Important

Picking the right mix can reduce costs by 40–70% while ensuring flexibility, reliability, and scalability.

Interview Tips

  • Start with clear definitions.
  • Suggest a blended strategy (reserved baseline + on-demand spikes + spot for batch).
  • Mention interruption handling with retries, queues, or checkpointing.

Trade-offs

  • On-Demand: Flexibility but higher cost.
  • Reserved: Big savings but lock-in.
  • Spot: Lowest price but risk of termination.

Pitfalls

  • Running critical stateful apps on spot.
  • Overcommitting to reserved beyond baseline needs.
  • Ignoring autoscaling, budgets, or regional differences.
TAGS
System Design Interview
System Design Fundamentals
CONTRIBUTOR
Design Gurus Team
-

GET YOUR FREE

Coding Questions Catalog

Design Gurus Newsletter - Latest from our Blog
Boost your coding skills with our essential coding questions catalog.
Take a step towards a better tech career now!
Explore Answers
Techniques to demonstrate both breadth and depth of knowledge
How to pass an Oracle interview?
Which field will be in demand in 2030?
Adopting incremental hint usage strategies in mock sessions
What are the cloud storage levels?
Does Zscaler pay well?
Related Courses
Course image
Grokking the Coding Interview: Patterns for Coding Questions
Grokking the Coding Interview Patterns in Java, Python, JS, C++, C#, and Go. The most comprehensive course with 476 Lessons.
4.6
Discounted price for Your Region

$197

Course image
Grokking Modern AI Fundamentals
Master the fundamentals of AI today to lead the tech revolution of tomorrow.
3.9
Discounted price for Your Region

$78

Course image
Grokking Data Structures & Algorithms for Coding Interviews
Unlock Coding Interview Success: Dive Deep into Data Structures and Algorithms.
4
Discounted price for Your Region

$78

Image
One-Stop Portal For Tech Interviews.
Copyright © 2026 Design Gurus, LLC. All rights reserved.