Economics

The economics of an automated runbook

Chandni Singh · Founder, Aizen · 7 min read

Most cost-of-downtime conversations start with an industry survey number and end with hand-waving. Here is a specific, finance-grade calculation for a single automated runbook at a hypothetical mid-market enterprise. The numbers are easier to argue with than the hand-waving.

I've been in too many meetings where someone quoted "$300K an hour" as the cost of downtime and the conversation moved on. Where did the number come from? ITIC's survey of over 1,000 firms, mostly. Is it the right number for your business? Almost certainly not — but the alternative, doing the calculation properly, is tedious enough that nobody does it.

Let me do it properly for one example. Pick a real recurring incident, walk through the engineering cost, the business cost, and what an automated runbook would save. The method generalises to your case, which is the part that matters.

The scenario

Imagine a mid-market e-commerce company. 800 employees, roughly $300M in annual revenue. Several hundred engineers, of whom about 40 work on the platform team. They run on Kubernetes on AWS. Their stack is typical: a monitoring platform, PagerDuty for alerting, GitHub Actions for deploys, Confluence for runbooks.

Their recurring incident: every few weeks, a particular service's memory usage creeps up over hours, eventually triggering OOM kills that cascade into degraded checkout performance. The root cause is a known memory leak in a third-party library they can't easily replace. The fix is straightforward — restart the affected pods before they OOM. They've done it 23 times in the past year.

Everything below is a constructed example. The company is invented, the numbers are illustrative, and the point is the method rather than the totals.

Engineering cost per incident

Each occurrence pages two engineers on average: the on-call, and the senior who gets escalated when the on-call is unsure. The senior is, predictably, one of the same two or three people every time.

Time spent per incident is about 45 minutes from page to resolution. Of that, roughly 30 minutes is investigation — because despite this happening 23 times, the on-call rotates and newer on-calls don't recognise the pattern immediately. 15 minutes is the actual fix.

On-call engineer · 45 min × $110/hr$82.50
Senior engineer · 30 min × $150/hr$75.00
Per incident~$158
Annual, 23 incidents~$3,634

That's the direct cost, and it's small. This is part of why these incidents never make it onto a sprint — the line item looks negligible. Now the part nobody was counting.

Business cost per incident

The OOM-kill cascade degrades checkout for about 12 minutes per incident before the restart resolves things. Checkout p95 latency goes from 280ms to 2.4s during the degradation window. Cart abandonment spikes. Roughly 22% of in-progress checkouts fail to complete.

Average order value is $84. They process about 180 checkouts during a 12-minute window at typical traffic. With 22% failing, that's about 40 lost checkouts per incident.

Lost orders per incident40
Average order value$84
Lost revenue per incident~$3,360
Annual, 23 incidents~$77,280

Note what just happened. The engineering cost was $3,634 a year. The business cost was 22 times that.

The reason this incident never made the priority list is that nobody on the engineering side was looking at the business impact, and nobody on the business side knew the engineering side could fix it.

The engineering cost was $3,634 a year. The actual business cost was 22x that. Nobody was adding them up.

What an automated runbook saves

Now imagine the same pattern with an autonomous system in place. The runbook to restart the affected pods exists; the engineering team has reviewed and approved it. When the incident fires, the system matches it against the library, executes the restart, verifies memory returned to baseline, and logs the action.

Detection-to-action latency is on the order of 90 seconds rather than 45 minutes. The restart is rolling, so customer-facing impact is close to zero. Engineering involvement is zero, because a pod restart sits in the low-risk tier.

The saving is the per-incident total: roughly $3,518, or about $80,000 a year. From one runbook, at one mid-market company.

Triggering on a leading indicator — restarting pods when memory crosses a threshold, before OOM kills happen — is work in progress for us, not something we ship today. The calculation above assumes resolution after the incident fires, which is what the system does now.

And that's before the things that don't show up in a spreadsheet. The senior engineer who isn't woken up. The on-call who doesn't lose trust in their own monitoring. The customer who didn't experience a slow checkout and didn't go elsewhere. The reputational value of consistent reliability is real but hard to measure, so it stays out of the model. It still matters.

Scaling this up

This is one runbook. Most enterprises have ten to twenty recurring incidents that could be automated the same way.

If you multiply this example by fifteen similar candidates you get roughly $1.2M a year. That is arithmetic, not a forecast — it assumes every recurring incident carries the same business impact, and in practice most will be cheaper. Some will be far more expensive. The number is worth calculating for your own incidents rather than extrapolating from someone else's.

Run the same numbers on your most frequent recurring incident. Multiply by your annual count. Add the lost-revenue side using your actual order metrics. I'd bet the result surprises you.

If you do the calculation and want a second pair of eyes on the model, send it over. We'll review it with you — free, no strings. The better the math is, the easier our conversation gets.

Send us your numbers and we'll send back a model — hello@aizenops.ai