Volume I · Free online edition

Introduction

Timothy O’Brien 17 min read Free online

One of the first managers I worked for who understood this job offered it to me with a warning:

One of the worst jobs in IT, it’s the equivalent of passing the Kobayashi Maru test every week.

There are better ways to recruit someone. Having done the job, I can confirm the description. You spend a fair amount of time talking about limits to people who would prefer that there weren’t any. The advice makes it sound easy enough. Get the requirements, measure the workload, forecast demand, acquire the capacity. In a good week you might even get to do those things in that order.

In Star Trek, the Kobayashi Maru is a training exercise. A ship is in distress. If you go to its aid, your crew faces overwhelming opposition. If you leave, you abandon the people who need rescuing. The exercise is supposed to show how a commander responds when every option is bad. Kirk reprograms the simulation so he can rescue the ship.1

On a difficult week, the business wants an ambitious launch, engineering is still working on the design, the site reliability engineering (SRE) team has made a promise to keep the service up, and Finance has less money to spend. All of them can be right. There can still be a shortage on Tuesday.

My manager understood that I would have to find out which conditions could move. Does the customer need everyone on the new service at once? Is the deadline a little less fixed than it sounded in the meeting? Can we spend enough now to keep a better option open? Sometimes you have to place a small order before the architecture is final or before the teams who will use it can commit. The calculation tells you what each option buys. You still have to find somebody who can say yes.

This is the phrase I keep coming back to:

Cloud Capacity and Cost is less something to be managed as it is a challenge that will manage you if you approach it from the wrong angle.

An estimate made early gives you more time to act, provided somebody keeps checking what it assumes. The team doing the build can be right on schedule while a customer brings a migration forward or an experiment becomes an executive priority overnight. You can be working from a perfectly sound estimate of a plan nobody is following anymore.

Generative AI has made all of this more urgent and more expensive. For the ten years before it arrived, AI work had its own special license to do whatever it wanted, because it wasn’t a large part of the footprint. Somebody needs 10 A100s to do something for image search? Go ahead. Four years later, somebody needs billions of dollars for a series of racks of the rarest sort of computer on the face of the earth, not yet being manufactured, and the funds have to be committed now, with the plan to follow. A lot of companies are in that situation. What we did not build before generative AI was real discipline and accuracy in assessing AI workloads: what they would consume, what return they would earn, and how to make sure we weren’t about to misspend the money. If I were starting again in 2016, I would begin building analytical muscle around how AI works then, while it was steadily more expensive but not yet the most significant part of the job.

You can build a feature that calls a model in days. Give it a longer prompt or let its agent take more steps and you can multiply its consumption without adding a user. The dedicated model capacity or GPUs may take much longer to secure. By the time the supplier can fill the order, the team may be running a different workload.

Cost and capacity in the context of capability

Suppose we have enough money to rent more servers. Can we get them ready in time, and will they do the work the business needs? Cost is what we pay and owe. Capacity is the work our supply can handle under the conditions we care about. Capability is what the business needs to be able to do, whether that’s answering a customer quickly or staying open when part of the system fails. If those questions go to three different meetings, we can leave each meeting with a good answer and still make a bad decision.

Later in this introduction I’ll describe a Cassandra cluster that looked nearly idle and kept a business running. The CPU reading was real. The mistake was drawing a conclusion about what the business could afford to give up.

The best picture of this I know is on the cover of Douglas Hofstadter’s Gödel, Escher, Bach. Hofstadter cut two blocks of redwood so that each casts three different letters as shadows: from one direction a block’s shadow is a G, from another an E, and from the third a B. Three shadows, one object.2 Cost, capacity, and capability are shadows like that. Most organizations give each one to a different team, a split Chapter 3 examines, and each team can study its own shadow with great care and still not know the shape of the thing casting it.

I think of this work at three levels. The bill and the chart tell us what happened. Then we have to find out what made it happen: which customers came, what changed in the product, which systems were duplicating work through a migration, or why an agent started calling a model more often. Once we understand that, we can ask whether an intervention would change next month’s bill or leave us with a cheaper way to produce the same problem.

The record producer Rick Rubin is my favorite model for that craft. His first album credit, on LL Cool J’s debut, Radio, read “Reduced by Rick Rubin.” Years later he began recording Johnny Cash, then in his sixties, and took away the arrangements and the studio polish until all that remained was Cash’s voice and his guitar, recorded in Rubin’s living room and in Cash’s cabin. That album, American Recordings, won a Grammy.3 Rubin’s test is to “notice how many pieces you can remove before the work you’re making ceases to be the work you’re making.”4 I like that test for a capacity review. When somebody proposes removing a piece of the system, I want to know which part of the work it was doing and whether we can still do that work without it.

Three levels of the work. Observation asks what we spent and what the chart says; understanding asks what is being consumed, by whom, and why it is changing; shaping asks which interventions change how the system behaves. All three rest on the systems that drive consumption.Open full-size diagram

The demonstration was last week

An engineering team demonstrates a new feature on top of an existing service. Within a week, the business wants to know when every customer can have it. By the time the capacity team sees the request, the demonstration has turned into an expectation.

We’ll follow that case in both volumes. The company and the numbers are invented. About four-fifths of its modeled resource cost comes from public cloud providers, and the rest from a private data center it operates itself. The route to more supply depends on where the work runs.

The service at the center of the case has enough capacity for its current customers, and enough for the rollout too, provided nothing fails. What it lacks is the capacity to take on the new work while keeping a promise already made to existing customers: that the service will stay up if part of it goes down. The additional capacity cannot simply be bought on the day it is needed. In the cloud it depends on quota, on the provider having the instance type available in that region, and on qualifying the new workers before they carry traffic. Quota is permission to deploy; it is not evidence that the capacity exists.5 In the data center it would wait on hardware. Either way, it will not be ready before the launch date.

Each group at the table sees a different problem. Finance asks why the existing resources can’t work harder. Engineering asks whether the platform can scale, and the operations team asks what happens when part of it is unavailable. The business, reasonably, wants to know how a promising demonstration turned into an infrastructure discussion. Every one of those questions is legitimate, and a meeting can spend its entire hour agreeing that each one matters and still end with exactly the shortage it started with.

The way forward comes from two conversations. Some batch work can wait, and the rollout can start with fewer customers. Either change depends on somebody who understands what a delay would cost. Chapter 4 works through the proposal, and Volume II follows what happens when its deadlines move.

If the launch is already promised, a lecture on how the request should have arrived can wait. I would start by finding out whether the business can change the rollout and how much time the batch owner can lend us. Then we can show what those choices cost and take the decision to the people who can make it.

Relationships are part of the information system

When I say demand intelligence, I mean information about work that hasn’t happened yet. I want to know who told us, when it reached us, and what still has to happen before their plan goes ahead. You get that information by learning enough about somebody else’s work to hear the difference between a quiet service and a service waiting for its first big customer.

Telemetry will tell you that a workload has been quiet. Someone on a customer team may know that several operations are about to move onto it. The billing export will show the old environment still running, but the person managing the migration can explain why it cannot be retired next month. If you only speak to engineering, you may miss the people who already have a sophisticated view of demand, expressed in units that have nothing to do with processors or requests per second.

When I ran capacity, I held a monthly meeting with each of the ten largest consumers of capacity, usually with the team’s leader or a senior technical lead: the people running the massive systems. Some teams didn’t want a monthly meeting, because their story didn’t change very often; we kept the cadence anyway. Formally, the meeting went through the plan: this was the traffic last year, this is the traffic this year, and this is what you expect to do. The most important question was never said out loud: is there anything we need to know about right now? The meeting worked a little like a therapy session for the project, a place to talk about new things the team was working on.

A lot of what mattered was in how people said things. A leader of a big search-and-indexing system said something like this: “The executives are really excited about this feature. We’re still trying to convince them how to do it in a way that’s more efficient. Here are the things they put forward.” I heard two things in that. There might be a disagreement over the implementation, and the design was heading somewhere that would cost a lot of capacity. The meetings also showed me who would be direct and who was shifting facts to fit a model. One of the most important things you can do when running capacity is identify who’s going to give you the truth without a filter.

I am an engineer. I know how easy it is to assume that if a plan matters, it will find its way into the engineering system. A customer pipeline may include deals nobody has announced. A revenue projection may contain numbers nobody has approved. If the last estimate someone gave me turned into a commitment in my PowerPoint, why would they tell me the next one?

The way I know to earn the next conversation is to make the first one useful. Help someone see what their plan would require and keep their estimate provisional for as long as it is. A model can use that information once we have it. It has no way to tell us what somebody chose to keep to themselves.

What changes at scale

I have had a version of the same conversation with people at several large companies. You mention a well-known book about how their company works, and the reply begins with something like “Oh, right, you read that book. Well… it’s not that simple.” Then they explain the variations in approach you could not have inferred from the book. A published account describes what one group built and learned; the trouble starts when a reader takes it for the operating manual of an entire company, and this book deserves the same caution.

What you learn is that a large company rarely manages capacity in just one way. A central strategy helps, and I am not proposing that every team invent its own method, but a company that supports different businesses, markets, technologies, and customer obligations needs some variation. It might sensibly automate most resource decisions for thousands of small applications while keeping a close planning relationship with the few customers whose requirements can determine the next major capacity purchase. A single process for both would either bury the small applications in planning meetings or leave the largest customers to an automated rule telling them that no capacity is available.

I am an ally of the FinOps community, and this book owes it a real debt. J.R. Storment and Mike Fuller’s Cloud FinOps gave this work a shared language, and the FinOps Foundation’s framework connects engineering, finance, and the business through a flexible, non-prescriptive framework whose scope now reaches past public cloud to SaaS, data centers, and AI.6 I see FinOps as an essential part of a larger function, one that treats capacity planning and cost management as a single discipline, because what a system costs is hard to separate from how much of it you buy, when you buy it, and what you have promised to keep running when part of it fails.

Dollars let an executive put the storage bill and the GPU bill on the same page. To do anything about either one, we need the detail the total leaves out. A slower recovery, a different memory requirement, or a power constraint can make two purchases with the same price do quite different things.

Visibility is one place where scale changes the answer. The FinOps principles call for cost data that is accessible and timely at every level of the organization, with engineers owning their costs from architecture design through operations. That openness is valuable when the people receiving the data can act on it. A team that has deployed a small application onto a shared platform controls neither the platform’s architecture nor its commercial arrangements, while the platform team may be able to make an improvement across thousands of applications that none of their owners could make individually. The same principles already centralize rate, commitment, and discount decisions to take advantage of economies of scale, and I would extend that reasoning to some usage decisions.7 Central management can be the right choice, and Chapter 3 takes up when.

Efficiency needs the same flexibility. A measured, stateless workload may respond well to a fairly simple CPU-oriented calculation. Apply that calculation to a database without understanding its data, its recovery requirements, or the maintenance it must complete, and you can make a very confident mistake. I was involved in a system where somebody judged that a very large Cassandra database was not being used, because its CPU utilization averaged around 1 to 2 percent. I had to take people aside and say that if we shut that database down based on utilization, we were going to have to shut the whole business down. It was supporting some of the most critical business capabilities around the clock. The commitment was the speed of response, not that it was being utilized all the time. Clusters like that can cost $2 million to $3 million a year to run, and this one did need to be running in Cassandra: the latency commitment and the amount of data that had to stay accessible required it, and it supported a business worth hundreds of billions of dollars.

The same calculation misleads elsewhere. An AI search service can look idle most of the day and then need substantial capacity at once to rebuild an index, perhaps so that a new product appears in results before a sale begins; a few minutes of delay can matter more than all the idle hours around it. What takes judgment is understanding why these cases differ and what evidence would justify a change in each.

The SRE and capacity-planning literature is full of hard-won experience, and I draw on it throughout. Reliability gives us one essential view of the decision. In a capacity meeting, it sits alongside the business case for a launch, the financial obligations, and the engineering work still needed to make the service useful. The participants may each be defending a promise they cannot change alone. The job is to make those promises feasible together, or to bring the conflict to someone who can change them. A capacity plan has to carry that whole decision.

Cloud-neutral, with named examples

The planning questions in this book apply across providers. Azure supplies many of the worked examples, with AWS, Google Cloud, and other services included where their arrangements help explain a choice. Naming a service lets us examine an actual measurement, deployment option, or purchasing rule. Applying the reasoning elsewhere requires checking that service’s topology, operating responsibilities, performance, and commercial terms. Similar product names do not establish equivalent capacity.

The constructed portfolio follows an organization that buys and operates computing services. The provider on the other side plans the physical supply over much longer investment and construction horizons. The book shows where the two plans meet without attempting to model a hyperscale fleet.

The examples, and what to do with them

The teaching portfolio includes a customer-facing web service, a pool of batch workers, the data platforms behind the website, an AI assistant that drafts replies for the support team, a shared platform hosting a long tail of small internal applications, and a migration with old and new environments running side by side. The figures are chosen so that we can follow the arithmetic and see how a decision in one part of the portfolio affects another.

The web service gives us a calculation we can understand without spending half the book on its implementation. Then the databases and AI work complicate it, because copying that model would conceal the very constraints we need to manage. The long tail shows how a small change repeated across many consumers can upset a plan built around the largest projects. The migration gives us a necessary improvement whose efficiency numbers get worse before they get better. None of these examples requires an unusually incompetent team. They require people doing reasonable work under conditions that keep changing.

The companion code lets you reproduce selected calculations and follow a decision from observations through forecasting, demand intelligence, supply scenarios, and review. Change the assumptions and see what happens. It is a teaching model, with explicit limits; bringing it into an operating environment would require the evidence, integration, and specialist review that the examples discuss.

The portfolio is invented; my own mistakes are not, and they belong in the discussion. I have several decades of mistakes to draw from. A book about judgment would be less useful if I only showed up after the difficult part to explain what everyone else should have done. The stories from my own work are recollections. I have left out the names of employers, customers, and colleagues, and where something happened more than once, I tell it as a pattern rather than as a single event.

Where to start

I would rather give this job to somebody who has built and run the systems it covers. Time spent carrying a pager or living with a sizing decision gives you something to draw on when two competent people tell you different things about the same service. You can learn on the job, although it is a hard way to do it when the organization already expects you to exercise that judgment.

This is Volume I of Scale Without Surprise, Understanding Cost, Capacity, and Capability. Part I starts with the bill, the supply and the people who can make decisions about both. Part II starts with the launch and follows the measurements, tools and judgment we need to decide what to buy or change. If you already manage these systems, you can start with Chapter 3’s discussion of authority, or with the chapters on AI, hardware and databases where the usual measurements are easiest to misread. If you’re new to the subject, Cloud FinOps and the FinOps Framework make good companions.

Volume II, Managing Demand, Risk, and Scale, keeps the same portfolio and continues the chapter numbering. It follows what happens as customer forecasts change, reserves run out, and agreements have to be made or reopened. You may need a workload measurement from this volume and a negotiation from the next on the same afternoon.

Notes and sources

  1. Star Trek II: The Wrath of Khan (Paramount Pictures, 1982), the training exercise and Kirk’s account of reprogramming it; StarTrek.com, “How Kirk Passed the Kobayashi Maru’s No Win Scenario”, film excerpt, January 8, 2022, and Jay Stobie, “Captain Kirk’s Wisest Quotes”, March 22, 2023 (first published 2021), which summarizes the reprogrammed simulation and Kirk’s disbelief in a “no-win scenario”; both checked October 3, 2026. The application to capacity management is the author’s interpretation; the manager’s remark is the author’s recollection.↩︎

  2. Douglas R. Hofstadter, Gödel, Escher, Bach: An Eternal Golden Braid (New York: Basic Books, 1979), xiv. The list of illustrations describes the cover: two “trip-lets,” Hofstadter’s name for “blocks shaped in such a way that their shadows in three orthogonal directions are three different letters,” which he made from redwood, “using mainly a band saw.”↩︎

  3. Andrew Romano, “Rick Rubin on Crashing Kanye’s Album in 15 Days”, Newsweek, June 27, 2013, in which Rubin recalls the Radio credit; Johnny Cash, American Recordings, produced by Rick Rubin (American Recordings, 1994), sleeve notes as transcribed by Discogs: “Recorded in Rick’s living room and Johnny Cash’s cabin,” except two songs recorded live at the Viper Room; Recording Academy, “Best Contemporary Folk Album: 1995 Winners & Nominees”. All checked October 4, 2026.↩︎

  4. Rick Rubin, The Creative Act: A Way of Being (New York: Penguin Press, 2023), 242.↩︎

  5. Microsoft Learn, “Check vCPU quotas”, checked October 3, 2026: Azure checks quota and capacity separately, and a deployment within quota can still fail if the region or zone lacks capacity for the requested size. Other providers differ; Chapter 6 covers quotas, stockouts, and reservations.↩︎

  6. J.R. Storment and Mike Fuller, Cloud FinOps, 2nd ed. (O’Reilly, 2023); FinOps Foundation, “FinOps Framework”, checked October 3, 2026, which calls the framework “flexible and non-prescriptive” and lists scopes from public cloud to SaaS, data centers, and AI. The judgments about selective engagement are the author’s.↩︎

  7. FinOps Foundation, “FinOps Principles”, checked October 3, 2026: accountability for usage “pushed to the edge,” visibility “to all levels of the organization,” and rate, commitment, and discount optimization “best centralized to take advantage of economies of scale.” The extension to some usage decisions is the author’s.↩︎