Cost-Optimized CI Runner Fleet

Designing CI runner fleets with spot/preemptible instances, warm pools, and cross-region spot arbitrage to minimize cost while handling burst.

Overview

Overview

CI runner cost is dominated by two things: idle capacity during off-hours and cold-start latency during burst. The answer is a hybrid fleet of reserved and spot machines, with a warm pool in front and handling for spot interruptions behind.

Interview questions

  • How do you design a cost-optimized CI runner fleet that scales to burst capacity during business hours but minimizes cost overnight?
  • What strategies prevent CI flakiness from blocking trunk in a trunk-based development model?

Sign up free to read the full topic

More DevOps topics

Start free on Cariara · Coding problems · System design studio