Amazon Web Services Introduction to EC2 Spot Instances (original) (raw)

Last Updated : 11 Jun, 2026

Amazon EC2 Spot Instances let you use unused EC2 capacity at steep discounts compared to On-Demand pricing. Because AWS can reclaim that capacity at any time, understanding which workloads qualify is essential before adopting them.

instance types

Profiling Workloads for Spot Instances

Before adopting Spot Instances, evaluate whether your workload can tolerate interruption. Key indicators of spot-readiness include:

The key qualifying question is: what would happen if a server were taken away?

Advantages of Spot Instances

2056958282

**Note: Spot Instances are not suitable for workloads that cannot tolerate interruptions, such as real-time applications, critical production systems, or stateful databases.

When to Use

Spot Instances are the best fit for workloads with variable schedules and a tolerance for interruption — batch processing, testing, large data processing pipelines, and traffic spike scenarios where paused work can be resumed when capacity returns.

Spot Instance Interruptions

A Spot Instance interruption occurs when AWS needs to reclaim capacity. The instance is terminated with a two-minute warning, halting any running workloads.

Select the pricing

Spot Instance Pricing

**1. How AWS Determines Spot Prices

**Note: Setting a bid higher than the On-Demand price does not guarantee immunity from interruption or provide additional benefits.

**2. Checking Spot Instance Price History

Use the AWS Management Console to view historical Spot pricing for any instance type and region.

Spot instance pricing

AWS Spot Fleet

AWS Spot Fleet automatically requests and manages a collection of Spot Instances (and optionally On-Demand Instances) to meet a specified target capacity, performance, and availability requirement.

EC2 Spot Instances vs On-Demand Instances

**Aspect **EC2 Spot Instances **On-Demand Instances
**Pricing **Variable; prices adjust gradually based on long-term supply/demand. **Fixed; set by AWS for specific instance types/regions.
**Pricing Model Market-based; typically **70-90% discount off On-Demand. **Pay-as-you-go; no upfront commitment or bidding.
**Interruptions **Yes; AWS can reclaim capacity with a **2-minute notice. **No; instances remain active until you stop or terminate them.
**Availability **Dynamic; depends on unused AWS capacity in a specific pool. **High; designed for immediate, reliable access.
**Use Cases Fault-tolerant, stateless, or distributed workloads (e.g., Big Data). Long-running, stateful, or mission-critical applications.
**Cost Savings **High (up to 90%); best for reducing "burn rate." **None (baseline); use Reserved Instances or Savings Plans for discounts.
**Best Workloads CI/CD, batch processing, rendering, and containerized microservices. Primary databases, core web servers, and production environments.