AWSCloud Visual Academy

Cloud concept / AWS purchasing and pricing

EC2 Spot Instances

Use spare EC2 capacity at a discount for work that can be interrupted.

Try a scenarioRecall card

How it works

AWS can reclaim capacity, generally with a two-minute interruption notice before stop or termination; hibernation starts without that lead time. Select flexible instance types and AZs where possible, checkpoint work, and retry failed jobs. A mixed fleet can preserve critical baseline service with non-Spot capacity.

Exam keywords

spare capacity
interruption notice
checkpointing
batch
flexible fleet

Picture this

Take a standby seat for less, knowing you might have to continue later.

Spot is spare and interruptible.

When to use it

A rendering queue can restart failed jobs from checkpoints and move between instance types as long as all jobs finish by morning.

When not to use it

Do not use one Spot instance as the sole host of a critical stateful service. The interruption notice is not a guarantee of capacity.

Amazon EC2 — On-demand virtual machines with control over the operating system, instance type, and network placement.
EC2 On-Demand Instances — Pay for consumed instance time without a one- or three-year commitment and without Spot interruptions.
Load balancing — Distribute incoming traffic across healthy targets instead of sending all requests to one server.
Elasticity — Match provisioned capacity to changing demand and release it when demand drops.

On the exam

AWS Certified Cloud Practitioner (CLF-C02) · Domain 4: Billing, Pricing & Support · Task 4.1