Content Deep Dive
Retrying CI/CD steps when Spot Instances terminate
Blog post from Buildkite
Post Details
Company
Date Published
Author
Daniel Oakley
Word Count
1,479
Language
English
Hacker News Points
-
Summary
Spot Instances are a cost-effective way to run CI/CD workloads, offering up to 90% discount on usual compute costs. However, they can be interrupted at any time with a two-minute notice. To mitigate the risks of using Spot Instances in your CI/CD infrastructure, strategies such as reducing job times, creating checkpoints, and ensuring retries happen are essential. Buildkite Pipelines is a CI/CD tool that makes it easy to use Spot Instances with its hybrid architecture separating compute infrastructure from the control plane. Automatic retry options can also help handle cases other than Spot termination, improving the overall resilience and reliability of your CI/CD pipelines.