What is spot instance pricing and when should you use it?

Spot instance pricing lets you access spare cloud computing capacity at significantly lower rates than standard on-demand pricing, often between 70% and 90% cheaper. The trade-off is availability: cloud providers can reclaim that capacity with short notice when demand rises. Spot instances work best for workloads that can tolerate interruption, making them a powerful tool for teams focused on cloud cost optimization. This article unpacks how spot pricing works, when to use it, and how to protect yourself from the risks.

How does spot instance pricing actually work?

Spot instance pricing reflects the real-time supply and demand for unused cloud capacity in a provider’s data centers. When demand for on-demand instances is low, providers make that spare capacity available at a steep discount. The price fluctuates based on availability, region, and instance type, and you pay the current spot price for every hour your instance runs.

On AWS, for example, you specify a maximum price you are willing to pay (or accept the current spot price as your cap). If the current spot price stays below your maximum, your instance runs. If the spot price rises above it, your instance gets interrupted. Azure and Google Cloud operate similar models under different names: Azure Spot VMs and Google Cloud Preemptible or Spot VMs.

The discount is the main draw. Spot prices are typically 70% to 90% lower than equivalent on-demand rates. For compute-heavy workloads, this can translate into very significant cost reductions, especially at scale. The key is understanding that you are purchasing capacity that the provider can take back, not capacity that is guaranteed to stay available.

Why can spot instances be interrupted mid-workload?

Spot instances can be interrupted because you are using capacity that the cloud provider has not committed to you. When other customers launch on-demand or reserved instances, the provider needs that physical capacity back. With AWS, you typically receive a two-minute warning before interruption. Azure and Google Cloud offer similar short notice periods.

This is not a bug; it is the fundamental design of the spot model. The low price reflects the risk you accept: the provider can reclaim the hardware at short notice. The interruption rate varies by instance type, availability zone, and time of day. Some instance types are interrupted very rarely; others see frequent reclamation depending on regional demand patterns.

Understanding interruption frequency is important before committing a workload to spot. Cloud providers publish historical interruption rate data by instance type and region, which helps you choose configurations with lower reclamation risk. Spreading workloads across multiple instance types and availability zones also reduces the practical impact of any single interruption.

What workloads are best suited for spot instances?

The workloads best suited for spot instances are those that are stateless, fault-tolerant, or designed to checkpoint and resume. If a workload can be interrupted and restarted without losing meaningful progress or causing downstream failures, spot instances are a strong fit. Batch processing, data analysis pipelines, and machine learning training jobs are the most common examples.

Here are workload types that work well with spot instances:

  • Batch and data processing jobs that process files or records in chunks and can resume from a checkpoint
  • Machine learning model training that saves intermediate checkpoints to persistent storage
  • Rendering and media transcoding where individual tasks are independent of each other
  • CI/CD pipelines and automated testing that can simply restart a failed job
  • Big data analytics using frameworks like Apache Spark, which handle node failures natively
  • Web crawlers and scraping jobs that process URLs independently
  • Auto-scaled stateless web tiers where individual instance loss is handled by the load balancer

The common thread is that none of these workloads depend on a single instance staying alive for the full duration. If your workload fits this pattern, spot instances can dramatically reduce your cloud compute costs.

What’s the difference between spot, on-demand, and reserved instances?

The key distinction is the trade-off between cost, commitment, and availability. On-demand instances give you full availability with no commitment at the highest price. Reserved instances offer significant discounts in exchange for a one- or three-year commitment. Spot instances offer the deepest discounts but with no availability guarantee and the risk of interruption.

On-demand instances

On-demand pricing is the standard rate you pay for compute capacity with no upfront commitment. You start and stop instances whenever you want, and you pay only for what you use. This is the right choice for unpredictable workloads, short-term projects, or anything where interruption is not acceptable. The flexibility comes at the highest per-hour cost.

Reserved instances

Reserved instances (or savings plans on AWS) commit you to a specific amount of compute usage over one or three years. In exchange, you receive discounts typically ranging from 30% to 60% compared to on-demand rates. Reserved capacity is well suited for stable, predictable workloads like production databases, core application servers, or anything running continuously. The risk is underutilizing your commitment if your usage patterns change.

Spot instances

Spot instances sit at the opposite end of the commitment spectrum. No commitment, the deepest discounts, but availability is not guaranteed. The right strategy for most organizations is to combine all three: reserved instances for stable baseline workloads, on-demand for predictable but variable needs, and spot for flexible, fault-tolerant compute. This layered approach is a core principle in FinOps practice and helps you optimize cloud spend without sacrificing reliability where it matters.

How can you reduce the risk of spot instance interruptions?

You can reduce the risk of spot instance interruptions by diversifying across multiple instance types and availability zones, using interruption notices to checkpoint workloads, and designing applications to handle restarts gracefully. No single technique eliminates interruption risk entirely, but combining these approaches makes spot instances reliable enough for many production-adjacent workloads.

Practical steps to reduce interruption impact:

  1. Use instance flexibility: Request a pool of multiple instance types with similar compute profiles. If one type becomes unavailable, your workload can land on another.
  2. Spread across availability zones: Interruptions are zone-specific. Running across multiple zones means a capacity crunch in one zone does not take down your entire workload.
  3. Implement checkpointing: Save progress to persistent storage (S3, Azure Blob, GCS) at regular intervals so interrupted jobs can resume rather than restart from zero.
  4. Use managed spot services: AWS Spot Fleet, AWS EC2 Auto Scaling with mixed instance policies, and Azure Spot VM scale sets handle interruption and replacement automatically.
  5. Monitor interruption notices: Cloud providers give two-minute warnings before reclaiming a spot instance. Use this window to drain connections, save state, or trigger a replacement.
  6. Choose low-interruption instance types: Review provider-published interruption frequency data and prioritize instance types with historically low reclamation rates in your target region.

When should you avoid using spot instances?

You should avoid spot instances for any workload where interruption causes data loss, service downtime, or cascading failures. If restarting a job from scratch is expensive, if the workload holds state in memory, or if end users depend on continuous availability, spot instances are not the right choice. Reliability requirements should always take priority over cost savings.

Specific workload types to keep off spot instances:

  • Production databases where instance loss risks data corruption or availability gaps
  • Stateful application servers that hold session data or in-memory state
  • Long-running jobs without checkpointing where interruption means restarting hours of work
  • Real-time user-facing services where even a brief outage causes visible degradation
  • Compliance-sensitive workloads where availability SLAs are contractually required

The broader principle is that cost optimization should never come at the expense of reliability for workloads where reliability is the product. Spot instances are a tool for reducing spend on the right workloads, not a universal cost-cutting shortcut.

How we help you optimize spot instance usage

Getting the most out of spot instance pricing requires more than switching a setting in your cloud console. It requires a clear view of which workloads are interruptible, how your costs are allocated across instance types, and how spot fits into your broader cloud financial strategy.

Our FinOps services help you build exactly that capability:

  • Workload classification: We help you identify which of your workloads are genuinely spot-compatible and where the interruption risk is too high to accept.
  • Instance rightsizing and mix optimization: We analyze your current compute usage across AWS, Azure, and GCP and recommend the right blend of spot, reserved, and on-demand instances to reduce costs without sacrificing reliability.
  • Cost allocation and visibility: We set up full cost allocation so you can see exactly what spot usage is saving you and where further optimization is possible.
  • FinOps governance: We help your finance, IT, and engineering teams align on cloud spending decisions so that spot instance strategies are adopted consistently and tracked against real business outcomes.
  • FinOps Maturity Assessment: If you are not sure where your organization stands on cloud financial management, we offer an assessment to identify your current maturity and the highest-value improvements you can make.

If you want to turn spot instance savings from a one-off win into a repeatable, governed practice, get in touch with us to discuss how we can help.

It's Value
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.