learn-ai-infra-with-phoebe / Practitioner session 10 of 10
Learn AI Infra with Phoebe · Practitioner track · Session 10 of 10

Assemble it, cost it, then defend it

Nine sessions of layers, chokepoints and rate cards converge into one page. Tonight you write the reference architecture document: eight rows, six columns, one of which nobody ever fills in and which is the only column that survives contact with a finance director. Then you cost it live, sequence it by which persona it unblocks, and hold it up to the six hostile questions a sponsor will actually ask. An architecture whose every row survives that round is a plan. One that does not is a diagram.

🔴 Practitioner track Platform · DE · architects Vendor-neutral · real rate cards 45 min
0-3 · Welcome 3-18 · The architecture document 18-42 · Build-along: cost it and sequence it 42-45 · Q&A
Part 1 · the deliverable this whole track was building

Eight rows, six columns 12 min live

A reference architecture is not a diagram of boxes with logos in them. It is a table where every row commits to a decision and shows its working. Eight rows, one per layer. Six columns: the job it does · the option chosen · why, meaning the constraint that decided it · the cost band · the chokepoint and who owns it · the exit cost if you change your mind. The first five get written in every organization. The sixth almost never does, and it is the one that matters.

Reference architecture · eight layers, six columns, one page the layer and its number the job it does the option chosen why the constraint the cost band chokepoint and its owner the exit cost if you change 1 · Storage cheap bytes S3 / R2 / Wasabi egress terms $1,178/mo egress · DE $8,563 / 100TB 2 · Catalog one source truth Polaris / Unity portability $400/mo catalog · DE rewrite policies 3 · Orchestration data arrives Airflow 3 failure model $600/mo asset graph · DE re-author DAGs 4 · Engine SQL at scale warehouse query cost $1,600/mo compute · DE re-tune all SQL 5 · Semantic + BI agreed metrics MetricFlow metric truth $2,100/mo metrics · DA redefine all 6 · MLOps train + deploy MLflow GPU + licence $3,517/mo registry · DS re-register all 7 · LLM gateway one door LiteLLM proxy attribution $400/mo gateway · AIE re-point apps 8 · Self-serve answers Genie / Cortex metadata debt $1,500/mo semantics · DA redo metadata The exit-cost column is the one nobody writes and the only one a sponsor cannot argue with. Eight rows sum to $11,295/month, $135,540/year. Rate cards fetched 2026-08-06/07.
🔍 Click to zoom - the one-page document, with the column everyone skips highlighted
LiveWrite the eight rows, one at a time6 min▶

Fill these in for your own organization as we go. The options below are illustrative choices, not recommendations. What transfers is the shape of a defensible row: a constraint in the "why" column rather than a preference, a named owner in the chokepoint column, and a number in the exit column.

1 · Storage. Job: cheap durable bytes in open formats. Option: object storage. Why: egress terms, not storage price. Cost band: $1,178/month at 50 TB. Chokepoint: egress economics and retention terms, owned by the platform lead. Exit cost: egressing 100 TB costs $0 on Cloudflare R2 and roughly $8,563 on AWS (rate cards fetched 2026-08-06/07). Storage prices differ about 3x across vendors; the egress gap is effectively infinite. This is b2's whole argument compressed into one row.

2 · Table format and catalog. Job: ACID and one source of truth over object storage. Why: the battleground moved from format to catalog. Cost band: $400/month. Chokepoint: the catalog - access control, credential vending, commit sequencing - owned by the data engineering lead. Exit cost: row-level security written in Unity Catalog does not transfer to Polaris. Governance portability is the real lock-in surface, and it does not appear on any price list.

3 · Ingestion and orchestration. Job: data arrives reliably, on schedule, observably. Why: choose by failure semantics, not features - in a task graph green means "exited zero," in an asset graph a materialization means "this table exists at this version from these inputs." Cost band: $600/month. Chokepoint: the asset graph. Exit cost: re-authoring every pipeline in another tool's model.

4 · Lakehouse engine and transform. Job: SQL at scale and modelled marts. Why: the compute contract, meaning who pays for a badly written query. Cost band: $1,600/month at 400 query-hours. Chokepoint: the compute contract, owned by whoever holds the budget. Exit cost: re-tuning every query against different execution behaviour.

5 · Semantic layer and BI. Job: agreed metrics. Why: metric truth, and because b9 proved this layer is also what makes layer eight safe. Cost band: $2,100/month. Chokepoint: metric definitions, owned by the analytics lead. Exit cost: redefining every metric, which in a real organization is between three months and a year of work. Note the honest framing from b6: the semantic layer is a compiler, not a storage layer - it does not save warehouse spend, it moves cost from human duplication to machine compute plus a licence.

6 · Compute and MLOps. Job: train, register, deploy, monitor. Why: GPU economics plus per-installed-GPU licensing. Cost band: $3,517/month, the single largest line. Chokepoint: the model registry, owned by the ML platform lead. Exit cost: re-registering every model and rebuilding promotion gates. Carry b7's warning into the row: NVIDIA AI Enterprise is licensed per installed GPU at $4,500 per GPU-year on the one-year term (docs page updated 2026-06-08), so an 8-GPU node carries $36,000 a year before hardware.

7 · LLM gateway and app runtime. Job: one governed door for models you rent. Why: a shared cross-team view of budgets and attribution is structurally impossible in an SDK. Cost band: $400/month at 40M tokens. Chokepoint: the gateway, owned by the AI engineering lead. Exit cost: repointing every application, plus losing the collected traffic that was becoming your eval set.

8 · Self-serve and governance. Job: answers for people who do not write SQL. Why: this is the outcome that funds everything below it. Cost band: $1,500/month. Chokepoint: the semantic layer, again. Exit cost: redoing the metadata work, which b9 measured as the difference between 9.50% and 69.23% accuracy. The licence is portable; the metadata investment mostly is not.

What each layer costs to leave, and the currency it is priced in LAYER WHAT LEAVING COSTS PRICED IN 1 · Storage $8,563 per 100 TB on AWS, $0 on Cloudflare R2 dollars 2 · Format + catalog row-level security in Unity Catalog does not transfer to Polaris work 3 · Orchestration re-author every pipeline in another tool's model work 4 · Engine + transform re-tune every query against different execution behaviour work 5 · Semantic + BI redefine every metric - three months to a year of work work 6 · Compute + MLOps re-register every model and rebuild the promotion gates work 7 · LLM gateway repoint every app, and lose the traffic that was your eval set work 8 · Self-serve redo the metadata work - the gap between 9.50% and 69.23% work Seven of the eight exit costs are priced in work, and work appears on no price list. Every other column describes the world if the decision was right. This one, if it was wrong. Fill it in and you stop arguing about lock-in as a feeling.
🔍 Click to zoom - only one layer's exit is a number you can look up
★ Why the exit-cost column is the one that matters Every other column describes the world if the decision was right. The exit column describes the world if it was wrong, which is the only scenario a sponsor is actually worried about. It also makes lock-in arithmetic instead of rhetoric: b2's egress economics put a dollar figure on leaving a storage vendor, and b3's governance portability puts a work estimate on leaving a catalog. Fill this column in and you stop arguing about lock-in as a feeling.
Build-along · the ladder, one last time

Cost it, then sequence it ★ 14 min · everyone runs it

Reproduce the ladder from b1 with everything you now know behind each toggle. Then do the thing the ladder cannot do for you: decide what gets funded in Q1, and say out loud which person that unblocks and which person stays blocked and for how long.

Start at $0, all layers off, five personas blocked. Climb to $11,295/month, $135,540/year with all five working. Every dollar recomputes live from published rate cards fetched on 6-7 August 2026.

Now change the volume inputs to your numbers - storage volume, egress, query-hours, GPU-hours, tokens. Where your spend concentrates will differ from the teaching defaults, and it is rarely where the room assumes. At 50 TB the storage line is small and MLOps dominates; at 5 PB the arithmetic inverts.

Flip the semantic layer off one final time, with self-serve on. Watch the client card go red on ungoverned metrics while staying unblocked, and the count drop to 3 of 5. Now turn it back on and leave it on forever. That is b9's evidence session rendered as a toggle.

Flip the direct-read lever, watch +$1,784/month, $21,402/year appear for exactly the same work on AWS's published egress tiers, and leave it off. That single lever is worth more than most cost-optimization programmes.

Then sequence it. Write one line per quarter: which layer do you fund, and which persona does that unblock? The ladder already told you the shape - the data engineer needs three layers before anyone notices, the analyst needs five, and nobody is unblocked at all until layer three.

Where the money sits, layer by layer, at the teaching defaults layers 1-2, unblock nobody unblocks a persona the largest single line 1 · Storage $1,178 2 · Format + catalog $400 3 · Orchestration $600 4 · Engine + transform $1,600 5 · Semantic + BI $2,100 6 · Compute + MLOps $3,517 7 · LLM gateway $400 8 · Self-serve $1,500 Eight rows sum to $11,295 a month, $135,540 a year. Rate cards fetched 2026-08-06/07. At 50 TB the storage line is small and MLOps dominates. At 5 PB the arithmetic inverts.
🔍 Click to zoom - run it on your own volumes, because your spend concentrates elsewhere
LiveSequencing rules that survive a budget review5 min▶
  • Fund bottom-up, sell top-down. The funding conversation is about layer eight because that is the outcome an executive wants. The build order is layers one to three because nothing above them works. Most failures happen when an organization sells top-down and then also builds top-down.
  • Name the persona, not the tool. "Fund orchestration in Q1" loses to "in Q1 the data engineer stops hand-running loads, and here is what they do instead." The five sentences describing what each persona cannot currently do are a more persuasive roadmap than any tool list.
  • Budget the metadata work as a line item, not an assumption. The licence is the small number. Between 9.50% and 69.23% sits somebody writing down what the columns mean, and it is the task nobody scopes.
  • Publish the exit costs with the plan. A sponsor who sees the exit column believes the rest of the document more, because you have shown them the downside without being asked.
Real world

GetYourGuide is the migration case worth copying because it published effort next to benefit. Moving 750 tables from Snowflake to Databricks (own engineering blog, 2025-01-29): a proof of concept of 1.5 months at 1 FTE, then a migration of 4.5 months at roughly 2 FTE, for a 20% operational cost reduction, with 98%+ of queries working after migration and 72% completing under 10 seconds. Six months of two engineers is the honest shape of a single-layer change. Set that against any vendor migration timeline you are shown.

Part 3 · the red-team round

Defend it, row by row ★ 10 min · pair up and attack

Swap documents with the person next to you and attack theirs. These are not clever hypotheticals; they are the six questions a sponsor, a finance director or a security reviewer will actually ask, in roughly this order. An architecture whose every row survives is a plan. One that does not is a diagram.

Aimed atThe hostile questionWhat a surviving answer contains
Storage"What is the egress cost of leaving this vendor?"a number with a fetch date, not a reassurance. $0 on R2, roughly $8,563 per 100 TB on AWS
MLOps"Is that licensing per used or per installed unit?"NVIDIA AI Enterprise is per installed GPU, one licence per physical GPU, $4,500/GPU-year on the 1-year term
Any governed layer"What stops a team going around this control?"architecture, not policy. Network rules and key custody, or you have a suggestion
The sequence"Which persona is still blocked after Q1, and for how long?"a name, a quarter, and the reason - the ladder gives you all three
Self-serve"What is the accuracy number, and on which benchmark?"9.50% empty, 69.23% with column descriptions, on LiveSQLBench, published methodology, bias flagged
Every row"Who owns this layer when the person who chose it leaves?"a role that still exists without that person, and a written decision record
LiveHow to answer the accuracy question honestly and still win4 min▶

The self-serve question is the one people get wrong in both directions - either quoting a vendor's 90% or refusing to give a number at all. Neither survives. The defensible answer has four parts, and you already have all of them from b9:

  • State the honest position first: nobody currently has a trustworthy public measurement of enterprise text-to-SQL accuracy. Any single number is a claim about a specific setup, not a property of the technology.
  • Give the measured ladder anyway: Microsoft's evaluation of Databricks Genie on LiveSQLBench moved 9.50% to 69.23% to 88.50% across three configurations, with published methodology, and flag that it is Microsoft evaluating a Databricks product.
  • Convert it into a plan: which means our accuracy is a function of the metadata work in the budget, not of the model we pick.
  • Promise what the evidence supports: certified metrics, over a scoped set of tables, answerable in natural language, with the SQL visible and a feedback path. Not "ask anything of your data."

That answer is more credible than a percentage, because it is the only one in the room that shows its working. This is what "defensible" means everywhere else in the document too.

LiveThe ship gate3 min▶

One rule for taking this out of the classroom. Every row must survive its hostile question before the document goes to a sponsor. Not most rows. Every row, because the one you skipped is the one that gets asked first.

A row survives when three things are true: the "why" column names a constraint rather than a preference, the chokepoint column names a role that will still exist next year, and the exit column has a number or a work estimate in it. If a row cannot meet that bar, the honest move is to mark it undecided with the question you still need answered, which is a far stronger position than a confident row that collapses under one question.

The counterweight to keep in the room MIT's Project NANDA report (August 2025) found 95% of enterprise generative-AI pilots deliver no measurable P&L return. State the sample every time, because it is thin: 52 executive interviews, 153 leader surveys and 300 public deployments. Its least-quoted finding is the one for this session: buying from specialist vendors succeeded around 67% of the time, while internal builds succeeded at roughly one third of that rate. That is the honest counterweight to building anything on this page yourself, and a defensible document should acknowledge it rather than hope nobody read it.
Part 4 · after this track

Where next, and what this course did not cover ◐ self-study

Ten sessions gave you a platform-level frame and a defensible document. It deliberately did not make you an expert in any single layer, and it left three areas out entirely. Both of those are worth saying plainly.

Self-studyThe four courses that continue from here3 min read▶
  • The leader track of this same course, for whoever funds the document you just wrote. Six sessions, same evidence, framed for the person approving $135,540 a year rather than the person operating it.
  • learn-data-governance for the policy layer. This track treated governance as an architectural property - where the chokepoints are and whether they can be bypassed. That is only half of it; the other half is policy, regulation and who is accountable.
  • learn-ai-evals for measuring the AI layers. b8 gave you the collection point and b9 gave you the evidence that public benchmarks will not answer your question. Evals is where the traffic your gateway collected turns into a measurement you can trust.
  • learn-mcp for the agent-to-tool protocol. Layer seven governs which model runs; MCP governs what that model is allowed to reach. As agent workloads grow, that boundary becomes a second chokepoint sitting beside the gateway.
Self-studyThe honest not-covered list2 min read▶

Three frontiers this course named and did not teach. If your architecture depends on them, the document has a gap and you should mark it as one rather than let it read as covered.

  • Kubernetes operations and cluster administration. Referenced throughout - Kubeflow, self-hosted proxies, GPU scheduling - and taught nowhere. The rule of thumb from b7 stands: you need a platform team already running Kubernetes before Kubernetes-based tooling is a net win.
  • Network and security engineering. The chokepoint test keeps arriving at network egress rules and key custody, which is a different discipline with its own specialists. Bring one into the red-team round.
  • Hardware procurement. b7 gave you the arithmetic and the honest limit: NVIDIA publishes software prices to the dollar and no list price for any DGX system, so you budget by quote. The useful planning constraint is physical rather than financial - a DGX B300 draws around 14 kW in 10U, and the facility constrains you before the budget does.
Final deliverable

Finish the document - this week ◐ 2-3 hours total

Source material

Official sources covered

This session is a synthesis rather than new material, so the sources are the ones the whole track was built on. Everything below appeared earlier with its full treatment; here it is load-bearing for a decision. This page covers:

✓Published rate cards - AWS, Cloudflare R2, Wasabi, NVIDIA AI Enterprise (fetched 2026-08-06/07)Parts 1-3 · every cost band, every exit number, every red-team answer
✓The chokepoint frame across all eight layersPart 1 · the fifth column · Part 3 · the "what stops someone going around this" question
✓Microsoft ISE evaluation of Databricks Genie on LiveSQLBench (2026-05-07)Part 2 · the semantic-layer toggle · Part 3 · how to answer the accuracy question
◐Airbnb engineering blog · GetYourGuide migration retrospective (2025-01-29)Part 2 · sequencing, and effort published next to benefit
◐MIT Project NANDA report (August 2025)Part 3 · the build-versus-buy counterweight · sample size stated every time
Check yourself

Three questions before you go 🎯 ◐ 90 seconds

1 · What is the exit-cost column for?

Every other column describes the world if the decision was right. The exit column is the only one describing the world if it was wrong, which is the scenario a sponsor is actually worried about. $0 versus roughly $8,563 to egress 100 TB, or rewriting row-level security that does not transfer between catalogs.

2 · What is the ship gate for taking this document to a sponsor?

Not most rows. Every row, because the one you skipped gets asked first. An architecture whose every row survives is a plan; one that does not is a diagram. Marking a row undecided is a stronger position than a confident row that collapses under one question.

3 · Your sponsor wants the self-serve outcome and asks what to fund first. What do you say?

The ladder shows the shape: two layers of spend before anyone is unblocked, three before the data engineer works, five before the analyst does. Buying layer eight first does not fail loudly - it fails quietly, at 9.50% accuracy with nothing to flag the wrong answers.

Practitioner session 10 cheat sheet · pin this

The documentEight rows, six columns: the job · the option chosen · why (the constraint) · the cost band · the chokepoint and its owner · the exit cost.
The column nobody writesExit cost. It prices being wrong. $0 vs roughly $8,563 per 100 TB egress; catalog policies that do not transfer.
The full bill$0 → $11,295/month → $135,540/year for five working personas. Rate cards fetched 2026-08-06/07.
Two levers, set onceSemantic layer on forever. Direct-read off forever - it adds $1,784/month, $21,402/year for identical work.
The sequencing ruleFund bottom-up, sell top-down. Nobody is unblocked until layer three; the analyst needs five layers, not one BI licence.
The six hostile questionsEgress on exit · per used or per installed · what stops a bypass · who is still blocked after Q1 · what accuracy on which benchmark · who owns this when the chooser leaves.
The ship gateEvery row survives, or it is marked undecided with the open question. A plan, not a diagram.
The counterweightMIT NANDA (Aug 2025, thin sample): 95% of GenAI pilots show no P&L return; specialist vendors succeeded ~67%, internal builds about a third of that.