Spot Instances Cheat Sheet

  • Spare capacity sold at lowest possible price
  • Instances may get terminated if capacity is needed by other customers paying market price
    • Instances will receive a 2-minute warning signal so it can wrap up tasks
  • Good for tasks that are
    • Stateless, every instance runs and stops independently
    • Flexible, supports scaling up and down
    • Fault-tolerant, can handle interruptions gracefully
    • Loosely coupled, tasks are not dependent or follows certain order
  • Use cases
    • Big data
    • CI / CD
    • HPC