Economics and platform selection
Compare options against requirements first
Economics is more than the invoice. Northstar Books requires private backends, custom Nginx routing, traceable changes, an on-call response and a restore drill. Compare OSS self-operation (full control, internal support), commercial support (verify contract and features), a managed edge (verify cache, privacy and origin controls), and a cloud load balancer (verify L4/L7 and routing capabilities). Some options may complement rather than replace Nginx. A low price cannot compensate for a missing mandatory feature. Ask for documented capability, support coverage, region and exit requirements; an unknown result is not a pass.
Mandatory requirement OSS Plus Managed edge Cloud LBCustom routing yes* yes* unknown unknownPrivate origin yes* yes* unknown unknownRestore drill yes* yes* unknown unknown* Proposed architecture only; validate behavior and contracts.Build an explicit monthly total-cost model
Use common workload, service level, billing period and currency. Include compute, support/license, traffic charges, monitoring, storage, labor, and a separately labeled amortized migration cost. Labor is hours multiplied by a fully loaded hourly cost. The amounts below are hypothetical USD per month, not quotes or a prediction of savings. They intentionally include different labor assumptions. OSS uses 240 compute + 0 support + 120 traffic + 80 monitoring + 40 storage + 20 hours at 60 + 100 migration = 1,780. A commercial option uses 240 + 600 + 120 + 80 + 40 + 10 hours at 60 + 100 = 1,780. Real contracts and taxes vary; missing data must remain visible.
def monthly(compute, support, traffic, monitoring, storage, hours, rate, migration): return compute + support + traffic + monitoring + storage + hours * rate + migrationprint(monthly(240, 0, 120, 80, 40, 20, 60, 100)) # 1780print(monthly(240, 600, 120, 80, 40, 10, 60, 100)) # 1780Stress assumptions instead of claiming guaranteed savings
Sensitivity analysis asks what changes if a key assumption is wrong. If OSS labor rises from 20 to 30 hours at $60 per hour, its model increases by $600 to $2,380. If commercial labor also rises, its cost changes independently. Managed edge and cloud load balancers can incur request, capacity, data processing, transfer and origin costs depending on their product and region; avoid counting the same traffic charge twice. Estimate low, expected and high demand using current provider pricing when actual procurement is authorized. The lab uses four fictional alternatives and tests the calculation, not any provider bill.
OSS baseline: 1,780 USD/monthOSS +10 labor hours: 2,380 USD/monthCommercial baseline: 1,780 USD/monthSensitivity: +600 for 10 additional hours at 60/hourUnknown feature or price: hold decision pending evidenceWrite a decision record with an exit plan
An architecture decision record states the context, mandatory requirements, alternatives, assumptions, evidence, decision, owners and revisit trigger. In this example the team retains OSS for a controlled pilot because it already has a reviewed custom routing configuration, while commercial and managed options remain candidates pending proof and quotes. This is a fictional decision, not a universal recommendation. Define a migration path using portable config and tests, rollback artifacts, data export and decommission steps. Revisit at a support deadline, sustained error-budget breach, changed traffic or material cost variance. In the next capstone, apply these governance checks to a complete delivery design.
Decision: OSS pilot, not production approvalWhy: custom routing test and existing team skillsOpen: vendor quotes, support terms, provider capability testsExit: preserve reviewed config, rollback, restore and test evidenceRevisit: support deadline / SLO breach / cost varianceApply what you learned
Practice: Calculate all four synthetic monthly totals with the lab. Increase OSS labor by 10 hours, then compare mandatory feature status and explain the choice, uncertainty, quotes needed and exit criteria. The manual exercise and quiz are staged separately. Related references and the next lesson are listed in the chapter authored map.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Economics and platform selection
Assess fleet governance, SLOs and economic decisions.
What should happen before comparing monthly totals?
What is the synthetic OSS monthly total?
What is the incremental cost of 10 labor hours at 60 USD/hour?
A cheaper managed option has unknown mandatory routing support. What is the decision status?
What makes a decision record reviewable?