Bitzu

SAA-C03 ยท Cost-optimized compute

Spot Instances: cheap spare capacity that can be taken back

Spot pricing and two-minute interruption notice, fault-tolerant workloads that fit Spot, mixed-instance Auto Scaling groups and allocation strategies.

Key points

  • Spot: spare EC2 capacity at a steep discount.
  • Price set by AWS, moves gradually; no bidding.
  • Reclaimed (stop, hibernate, terminate) after a two-minute notice (EventBridge, instance metadata), often after a rebalance recommendation.
  • For fault-tolerant work: batch, CI, analytics, stateless web.
  • Auto Scaling: mix On-Demand and Spot, many types and AZs, price-capacity-optimized.
  • Savings Plans do not cover Spot.

Source: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-spot-instances.html

Practice questions

Single choice

How much warning does the Spot Instance interruption notice normally give before EC2 stops or terminates the instance?

  1. Thirty seconds
  2. Two minutes
  3. Fifteen minutes
  4. One hour
Show answer

Answer: B. Two minutes

The interruption notice arrives two minutes before the stop or termination. The only exception is hibernation as the interruption behavior, which starts immediately without the two-minute lead.

Select all that apply

Which workloads are good candidates for Spot Instances?

  1. CI/CD build agents that pick jobs from a queue
  2. Stateless web servers behind a load balancer in a mixed group
  3. Nightly batch jobs that checkpoint progress to Amazon S3
  4. The single primary database instance, with no replica
  5. A license server that must stay reachable around the clock
Show answer

Answer: A. CI/CD build agents that pick jobs from a queue, B. Stateless web servers behind a load balancer in a mixed group, C. Nightly batch jobs that checkpoint progress to Amazon S3

CI build agents, stateless web servers in a mixed Auto Scaling group and checkpointed batch jobs all tolerate losing an instance. A single primary database with no replica, or a license server that must stay up around the clock, would suffer real outages when reclaimed.

True or false

To get a Spot Instance you must outbid other customers, and the Spot price jumps minute by minute with those bids.

Show answer

Answer: False

False. EC2 sets the Spot price for each instance type and AZ and adjusts it gradually based on long-term supply and demand. Your instance runs while capacity is available; interruptions are driven by capacity, not by other customers' bids.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More SAA-C03 topics in this module