Menu

Spot Instances for CI: Why Your Tests Fail at Random and What It Really Costs
📰

Spot Instances for CI: Why Your Tests Fail at Random and What It Really Costs

DEV Community: cicd·Aniket Maurya·3 days ago
#blX0SmYM
#devtocicd#devto#dev#spot#jobs
Long article (1279 words) — no AI summary yet.
Reading 0:00
15s threshold

This article was prepared with AI assistance. Originally published on the Celesto blog .

A 2% EC2 Spot interruption rate sounds harmless in a spreadsheet. On a 10-job GitHub Actions matrix with independent interruptions and no retries, a 2% per-job reclaim rate interrupts 18.3% of first attempts ( 1 - 0.98^10 ). Bump the reclaim rate to 5% in the model, and 40.1% of first attempts have at least one interruption.

Teams put CI runners on EC2 Spot instances because Spot compute looks 60% to 75% cheaper than On-Demand. The hidden catch is that CI jobs cannot checkpoint and move when AWS takes the VM back.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.