Razorpay
Cost and speed

CI Doesn’t Need On-Demand: Moving Our Build Pipelines to Spot Instances

Our short summary of Razorpay’s engineering write-up. The full story, with all the detail, is on their blog.

Read the full write-up on engineering.razorpay.com (opens in a new tab)

Problem

CI pipelines were too expensive or unreliable when using cheap spot instances.

Solution

Created a self‑healing Kubernetes layer for GitHub Actions that runs most jobs on spot instances, detects terminations, retries jobs and cleans up pods automatically.

99.2% job success, 70–90% cost reduction

Tags

Want the architecture, code and numbers? They’re in the original post.

Read the full write-up on engineering.razorpay.com (opens in a new tab)

More from Cost and speed

All Cost and speed write-ups