Interview Prep/CI/CD/Metrics, Performance and Cost

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.

All CI/CD questions

More on Metrics, Performance and Cost