AWS & Cloud Engineering
Spot interruption handling
Explain how Spot interruptions happen, how the two-minute notice reaches an instance through metadata and EventBridge, and how workers should save progress before a reclaim.
What you will be able to do
- Explain the two-minute Spot notice and where the instance can read it.
- Decide how to checkpoint a job so a reclaim does not restart it from zero.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AWS & Cloud Engineering
- Instance profilesAdvanced · 4 min
Explain how an instance profile passes a role's temporary credentials to an EC2 instance through instance metadata, so no access key needs to be stored on the instance.
- EC2 capacity modelsAdvanced · 4 min
Explain the main EC2 purchasing options, how Savings Plans differ from capacity reservations, and why a discount alone does not guarantee that a launch succeeds.
- ASG scaling policiesAdvanced · 4 min
Explain how target tracking scaling holds one metric near a target value, why the metric must change in proportion to group size, and how warm-up affects scaling…
- ALB target groupsAdvanced · 4 min
Explain how a target group routes to healthy targets, how a removed target drains through the deregistration delay, and how that delay protects in-flight requests…
- NLB versus ALBAdvanced · 4 min
Explain how application and network load balancers route traffic at different depths, how a network balancer's flow hash keeps a connection on one target, and how their…
- Route53 routing policiesAdvanced · 4 min
Explain how Route 53 routing policies answer DNS queries, how failover uses health checks on the primary and secondary records, and how TTL sets how fast clients see a…