What are the cost trade-offs of running spot instances for CI?
IntermediateProductionMetrics, Performance and Cost
Answer
Spot saves 60–90% but can be reclaimed with two minutes' notice, killing a running job. That is acceptable for idempotent CI jobs with retry-on-interruption (GitLab retry: when: runner_system_failure, Jenkins retry), but not for long deployments or stateful steps. Run deploy and release jobs on on-demand capacity, diversify instance types to reduce interruptions, and keep pipelines short so a retry costs little.
More on Metrics, Performance and Cost
How do you measure DORA metrics in practice?IntermediateWhat do the DORA performance levels look like, and how do you use them?IntermediateWhat are common ways DORA metrics get gamed or misread?AdvancedWhich pipeline metrics do you monitor for the CI platform itself?IntermediateHow do you cut CI cost without hurting developer speed?IntermediateHow do you use a remote build cache (Gradle, Bazel, Turborepo, Nx)?Advanced