Cost Optimization and Technology Financial Management Questions
Analyzing and reducing technology and enterprise costs and applying financial discipline to technology spend. Covers total cost of ownership modelling (cost lines, discounting and NPV, sensitivity analysis, depreciation, sunk and stranded costs, decommissioning), fixed and variable cost structure and unit cost, spend analysis and cost leakage, make-versus-buy and capex-versus-opex decisions, and the ROI and payback case for technology investments. Includes cost allocation, showback and chargeback of shared platforms, software licensing and contract economics (perpetual, subscription, per-seat, consumption, renewals, escalators and commitments), and the supplier terms that change what a purchase really costs. Emphasizes designing and governing cost reduction programs, prioritizing initiatives, verifying that savings are real and not double-counted, protecting quality and reliability while cutting, and surfacing hidden or downstream costs. Cloud-bill engineering, sourcing and supplier negotiation, and budgeting-process mechanics are covered elsewhere.
What is sensitivity analysis in a TCO model, and how would you run one? Walk through a concrete example.
Sample Answer
Direct answer
Sensitivity analysis in a TCO (total cost of ownership) model means changing one input at a time across a plausible range and recording how far the answer moves, so you learn which assumptions the conclusion actually depends on. You run it by choosing the output (here, which option is cheaper and by how much), setting a plausible low and high for each input, recomputing the output at each end, ranking inputs by the size of the swing, and then spending your effort firming up the top few. For example, one supplier is cheaper per unit but fails more often, so the cheaper unit price may or may not survive the cost of the failures. For a critical component, the two variables to test first are the defect or failure rate of the cheaper supplier and the cost each defect causes, because both are uncertain and both multiply every unit.
The method
- Fix a base case and the output metric. Here: the three-year cost advantage of supplier A over supplier B, where a positive number means A is cheaper.
- List the inputs and give each a plausible range from evidence (quotes, history, pilot data), not a blanket plus or minus 10%. A firm quoted price has a narrow range; a new supplier's defect rate does not.
- Vary one input at a time, others at base, and record the output at the low and high end.
- Sort by swing (a tornado chart is this table drawn as bars, longest at the top).
- Find break-even values: the input value at which the decision flips, so the two options cost exactly the same.
- Repeat for the top inputs together (two-way table), because inputs interact.
Worked example (illustrative inputs)
Two suppliers of a critical component, 50,000 units a year for three years. A sells at $42 with a 2.0% defect rate; B sells at $46 with a 0.5% defect rate. Each defect costs $200 (rework, expedited replacement, warranty). Expected cost per unit: A is $42 plus 2.0% of $200 ($4), so $46; B is $46 plus 0.5% of $200 ($1), so $47. A is cheaper by $1 a unit, which is $150,000 over three years.
base = dict(volume=50_000, price_a=42.0, price_b=46.0, defect_a=0.020, defect_b=0.005, defect_cost=200.0)
YEARS = 3
def advantage_of_a(p):
"""3-year cost advantage of supplier A over supplier B, in $ (positive means A is cheaper)."""
per_unit_a = p["price_a"] + p["defect_a"] * p["defect_cost"]
per_unit_b = p["price_b"] + p["defect_b"] * p["defect_cost"]
return (per_unit_b - per_unit_a) * p["volume"] * YEARS
ranges = { # (low, high) plausible range for each input
"price_a": (41.0, 43.0),
"price_b": (45.0, 47.0),
"defect_a": (0.010, 0.040),
"defect_b": (0.003, 0.010),
"defect_cost": (100.0, 400.0),
"volume": (30_000, 70_000),
}
print(f"base advantage of A: {advantage_of_a(base):,.0f}")
rows = []
for name, (lo, hi) in ranges.items():
at_lo = advantage_of_a(dict(base, **{name: lo}))
at_hi = advantage_of_a(dict(base, **{name: hi}))
rows.append((abs(at_hi - at_lo), name, lo, hi, at_lo, at_hi))
for swing, name, lo, hi, a, b in sorted(rows, reverse=True):
print(f"{name:<12} {lo:>9} to {hi:<9} advantage {a:>10,.0f} to {b:>10,.0f} swing {swing:>9,.0f}")
# Break-even defect rate for A, holding everything else at base
d = (base["price_b"] + base["defect_b"] * base["defect_cost"] - base["price_a"]) / base["defect_cost"]
print(f"A stops being cheaper when its defect rate passes {d:.2%}")
base advantage of A: 150,000
defect_a 0.01 to 0.04 advantage 450,000 to -450,000 swing 900,000
defect_cost 100.0 to 400.0 advantage 375,000 to -300,000 swing 675,000
price_b 45.0 to 47.0 advantage 0 to 300,000 swing 300,000
price_a 41.0 to 43.0 advantage 300,000 to 0 swing 300,000
defect_b 0.003 to 0.01 advantage 90,000 to 300,000 swing 210,000
volume 30000 to 70000 advantage 90,000 to 210,000 swing 120,000
A stops being cheaper when its defect rate passes 2.50%
Reading it:
- The top two are A's defect rate (a swing of $900,000) and the cost of a defect ($675,000). Both are large and both are poorly known for a supplier with no history. The quoted prices swing $300,000 each, but a signed quote can be firmed up, so they rank lower in effort.
- Volume swings the least ($120,000). The per-unit gap is only $1, so volume scales a small difference. Volume would rank first if you were asking about total spend instead of the difference between options.
- Break-even. A stops being cheaper when its defect rate passes 2.50%, only half a percentage point above the base of 2.0%. That is a thin cushion, and the decision should wait for evidence: a pilot lot or a quality audit.
Choosing which two to test first
Rank variables by uncertainty times leverage: how wrong could we be, and how much does the output move per unit of error. A high-leverage variable with a firm value (a contracted price) does not need testing; a high-leverage uncertain one (defect rate, lead-time reliability for a critical part) does.
Related tools and pitfalls
- A scenario analysis moves several inputs together into coherent stories (supplier fails audit; demand doubles). Sensitivity moves them singly. Use both.
- One-at-a-time hides interactions: a high defect rate and a high defect cost together cost more than the two swings added up, which is why the top two get a two-way table. Here is that table, A's three-year advantage in $ for A's defect rate against the cost of a defect:
| A's defect rate | $100 a defect | $200 a defect (base) | $400 a defect |
|---|---|---|---|
| 1.0% | 525,000 | 450,000 | 300,000 |
| 2.0% (base) | 375,000 | 150,000 | -300,000 |
| 4.0% | 75,000 | -450,000 | -1,500,000 |
Moving only the defect rate to 4.0% gives -$450,000 and moving only the defect cost to $400 gives -$300,000; moving both gives -$1,500,000, far worse than either alone, because the two multiply. Each cell is (4 + defect cost x (0.5% minus A's defect rate)) x 150,000.
- Ranges taken from a single optimistic source make the tornado look short and the conclusion look safe.
- Report the break-even, not only the ranking, because a decision-maker can judge whether 2.5% is plausible.
Shared IT costs must be allocated across five business units with different headcounts and usage. How would you choose an allocation basis, and what would make the business units accept it?
Sample Answer
Direct answer
Choose the allocation basis by asking what actually drives the cost, whether you can measure that driver cheaply and reliably, and whether a business unit can influence it. For a shared pool with a fixed core (security, support, governance) plus a variable part (compute, storage), use a hybrid: a fixed share split by a stable key such as headcount, and the remainder split by metered usage. Business units accept an allocation they can see, check, predict and influence, so run it as showback (reporting each unit's share without billing it) for a quarter or two before moving to chargeback (actually moving the cost into each unit's budget).
Choosing a basis
| Basis | Strength | Weakness | Best for |
|---|---|---|---|
| Equal split | Simple | Unfair to small units | Almost never |
| Headcount | Stable, easy to audit | Weak link to consumption, penalises heavy-headcount, light-usage units | Collaboration tools, general IT support |
| Revenue or budget | Reflects ability to pay | Not a cause of cost; rewards under-reporting | Corporate overhead |
| Metered usage (query-hours, GB, tickets, API calls) | Strongest causal link, drives behaviour | Needs reliable metering; variable bills are hard to budget | Shared platforms, analytics, cloud |
| Hybrid (fixed share plus usage share) | Covers fixed costs fairly, keeps incentives | A parameter to negotiate | Shared analytics platforms |
Test each candidate against five criteria: causality (cost follows the driver), measurability, simplicity (can a unit lead recompute it?), predictability (can they budget it?) and controllability (can they change it, and does the change reduce the bill?).
Worked example: a shared analytics platform
A $500,000 monthly pool (warehouse, pipelines, business intelligence tooling, support team) shared by five units. Fixed core: 40% by headcount; variable part: 60% by metered query-hours.
pool = 500_000 # USD per month shared analytics platform
bu = { # headcount, query-hours consumed this month
"Retail": (1200, 30000),
"Wholesale": (600, 45000),
"Logistics": (400, 15000),
"Finance": (150, 9000),
"HR": (100, 1000),
}
heads = sum(h for h, _ in bu.values()); hours = sum(q for _, q in bu.values())
fixed_share = 0.40 # fixed base split by headcount, remainder by metered usage
print(f"{'Unit':10s} {'Headcount basis':>16s} {'Usage basis':>12s} {'Hybrid 40/60':>13s} {'Hybrid vs headcount':>20s}")
tot = 0
for name, (h, q) in bu.items():
by_head = pool * h / heads
by_use = pool * q / hours
hybrid = pool * fixed_share * h / heads + pool * (1 - fixed_share) * q / hours
tot += hybrid
print(f"{name:10s} {by_head:16,.0f} {by_use:12,.0f} {hybrid:13,.0f} {hybrid - by_head:+20,.0f}")
print(f"Hybrid total: {tot:,.0f}")
Output:
Unit Headcount basis Usage basis Hybrid 40/60 Hybrid vs headcount
Retail 244,898 150,000 187,959 -56,939
Wholesale 122,449 225,000 183,980 +61,531
Logistics 81,633 75,000 77,653 -3,980
Finance 30,612 45,000 39,245 +8,633
HR 20,408 5,000 11,163 -9,245
Hybrid total: 500,000
Headcount alone would charge Retail $244,898, though it uses 30% of query-hours (30,000 of 100,000). Usage alone would charge HR $5,000 against its $20,408 headcount share, ignoring the support team it still needs. The hybrid moves Retail down by $56,939 and Wholesale up by $61,531, which is what Wholesale's heavy usage justifies. The split is a negotiated parameter, so show how the 40/60 choice changes each bill.
What makes business units accept it
- Co-design the driver with them, using a driver every unit can verify in its own reports.
- Publish the rate card and the metering data monthly so any unit can recompute its bill.
- Showback first: two quarters of "this would have been your bill", then switch on chargeback, with a transition collar that limits the year-over-year change (for example plus or minus 15% a year) so no unit faces a shock.
- Give units a lever: if usage falls, the bill falls, and a dashboard shows which queries or datasets drive it.
- Define a dispute process and a review date for the key. Unexplained fairness complaints turn into escalations.
- Treat unallocated idle capacity as a cost of the platform team, not of the units, so they are not billed for headroom they cannot control.
Pitfalls
- A key that is easy to measure but does not cause the cost (revenue for compute).
- Changing the key every year, which makes comparisons impossible.
- A usage key with no collar: a one-off backfill makes a unit's bill triple.
- Making allocation the goal. The aim is better decisions, so the report should say what a unit could do to reduce its share.
A migration costs $500,000 up front. It saves $20,000 a month in hosting and operations but adds $3,000 a month of cloud monitoring and support. Calculate the simple payback period, and explain when payback would mislead you compared with NPV.
Sample Answer
Direct answer
The net saving is $20,000 - $3,000 = $17,000 a month, so simple payback (the time until cumulative savings equal the upfront cost) is $500,000 / $17,000 = 29.4 months, about 2.45 years. Payback misleads when benefits arrive after the payback date, when two options are being ranked, when savings have a short life, or when money later is worth less than money now. NPV (net present value, the sum of future cash flows each divided by (1 + discount rate) raised to its time, minus the upfront cost) captures all of those. Payback is a fast liquidity check and a poor ranking tool.
Working
- Both figures are monthly, so the comparison is like for like: gross saving $20,000 a month (hosting and operations) minus added cost $3,000 a month (cloud monitoring and support) = $17,000 a month net.
- Payback = $500,000 / $17,000 = 29.4 months. In years, 29.4 / 12 = 2.45.
- The calculation assumes the saving starts in month 1. If the first three months are dual running (both estates paid for), payback moves out by roughly three months or more.
When payback misleads, and what NPV shows
Take an 8% annual discount rate (illustrative; use the organisation's hurdle rate, the minimum return it requires for a project of this risk), converted to a monthly rate of 1.08^(1/12) - 1.
| Situation | What payback says | What NPV says |
|---|---|---|
| Savings last only 2 years | Payback 29.4 months looks fine | The savings total $408,000, which is less than the $500,000 spent, so it never pays back: NPV is -$123,061 |
| Savings last 3 years | 29.4 months, "pays back" | Barely positive: NPV is +$44,737 |
| Savings last 5 or 10 years | Same 29.4 months | NPV is +$343,963 or +$918,351: payback ignores everything after the cutoff |
| Ranking against Project B (same $500,000, saves $45,000 a month for 12 months, then stops) | B wins: 11.1 months against 29.4 | A wins by far (+$343,963 over five years against +$18,079 for B) |
r_annual = 0.08
r_m = (1 + r_annual) ** (1 / 12) - 1 # equivalent monthly discount rate
def npv(upfront, monthly_flows):
return -upfront + sum(f / (1 + r_m) ** (t + 1) for t, f in enumerate(monthly_flows))
net_saving = 20000 - 3000 # USD per month
print(f"simple payback: {500000 / net_saving:.1f} months")
for years in (2, 3, 5, 10):
print(f"Migration A, savings last {years:>2} yrs: NPV = {npv(500000, [net_saving] * (12 * years)):>10,.0f}")
# Project B: pays back faster but its savings stop after 12 months
print(f"Project B payback: {500000 / 45000:.1f} months, NPV = {npv(500000, [45000] * 12):,.0f}")
Output:
simple payback: 29.4 months
Migration A, savings last 2 yrs: NPV = -123,061
Migration A, savings last 3 yrs: NPV = 44,737
Migration A, savings last 5 yrs: NPV = 343,963
Migration A, savings last 10 yrs: NPV = 918,351
Project B payback: 11.1 months, NPV = 18,079
Other cases where payback misleads: benefits ramp up slowly (a later, larger benefit is penalised by a cutoff rule), cash flows change sign again later (a hardware refresh or contract renewal in year 4), the risk differs between options (one saving is contractual, the other depends on traffic), and the organisation applies an arbitrary cutoff ("must pay back inside 24 months") that rejects a high-NPV project.
Recommendation
Quote payback as the simple answer (29.4 months), then state the life of the savings. If the savings plausibly last five years or more, the NPV of about +$344,000 says to proceed. If the hosting contract or the hardware being replaced limits the savings to three years, the case is marginal and I would ask what else justifies it. For ranking several projects, use NPV (or discounted payback, which discounts the flows before counting months) and keep simple payback as a cash-exposure check.
Pitfalls
- Mixing bases: a monthly saving against an annual cost, or net against gross.
- Forgetting costs that begin after go-live (support tier, monitoring) or that end (old licences).
- Reporting NPV without the discount rate and the life assumed. Both change the answer, as the table shows.
You are asked to build the TCO model for moving an enterprise application to the cloud. How would you lay out the cost lines, and how would you decide which behave as one-time, fixed recurring or usage-driven?
Sample Answer
Direct answer
I would build the model as a set of cost lines grouped into three behaviours: one-time (paid once to get there), fixed recurring (paid every period regardless of usage), and usage-driven (varies with consumption). I would model the current on-premises state and the cloud state on the same 3-year horizon, in cash terms, with depreciation shown separately for the profit-and-loss view. To classify a line I ask: does it happen once, does it change if usage doubles, and would I still pay it if the application were switched off?
Cost lines and classification
| Line | Cloud | On-premises | Behaviour |
|---|---|---|---|
| Migration (re-platforming, data transfer, testing) | Yes | None | One-time |
| Parallel running of both environments | Yes | n/a | One-time (time-bound) |
| Training and process change | Yes | Small | One-time |
| Hardware purchase (capex) | None | Yes, at start and at refresh | One-time per refresh |
| Hardware depreciation | None | Yes (P&L view only) | Fixed recurring (non-cash) |
| Reserved or committed cloud spend | Yes | None | Fixed recurring |
| Support plan | Yes | Vendor maintenance contracts | Fixed recurring |
| Software licences (per-core, per-user) | Yes | Yes | Fixed recurring, or usage-driven if per-use |
| Data centre space, power, cooling | None | Yes | Fixed recurring |
| Operations staff | Yes | Yes | Fixed recurring (step cost as it scales) |
| On-demand compute, storage, database | Yes | None (capacity is bought up front) | Usage-driven |
| Network and data-egress charges | Yes | Link costs | Usage-driven in cloud |
| Residual value of hardware at end of horizon | None | Yes (credit) | One-time credit |
Terms in the table: on-demand is cloud capacity paid by the hour or second with no commitment; reserved or committed spend is a promise to buy a set amount for one to three years in exchange for a lower rate; egress is the charge for data leaving the cloud provider's network; re-platforming is moving an application to a different runtime with some changes; refresh is replacing hardware at the end of its life; parallel running is paying for both environments while you switch over; per-core licences are priced by processor core count.
Rules for the gray areas: a commitment is fixed even if the product is billed by usage; a staff cost is fixed in the short run but steps up with scale; a licence is fixed if you pay per core or per seat regardless of use.
Worked example (illustrative, 3 years, cash basis)
Assumptions: on-premises hardware $400,000 bought at the start, with an assumed residual value of $80,000 at the end of year 3 (20% of the purchase price, a guess at what a buyer would pay for three-year-old servers, to be checked with a resale quote); each year, software licences $90,000, facilities and power $40,000, operations staff $150,000. Cloud: migration $180,000 plus training $20,000 one-time; each year committed spend $80,000, on-demand usage $90,000, licences $90,000, operations staff $90,000, support plan $10,000.
| On-premises | Cloud | |
|---|---|---|
| One-time | $400,000 hardware | $200,000 migration and training |
| Recurring per year | 90 + 40 + 150 = $280,000 | 80 + 90 + 90 + 90 + 10 = $360,000 |
| Recurring, 3 years | $840,000 | $1,080,000 |
| Residual value credit | -$80,000 | $0 |
| 3-year TCO | $1,160,000 | $1,280,000 |
On these numbers on-premises is $120,000 cheaper over the 3 years, which is $40,000 a year. That $40,000 a year is a different figure from the $40,000 total gap that would remain over the 3 years if the residual value were zero (1,240,000 on-premises against 1,280,000 cloud). The depreciation view of the hardware is $400,000 / 5 years = $80,000 a year, which affects reported profit but not cash. It also differs from the resale credit: after 3 years the books carry the hardware at 400,000 - 3 x 80,000 = $160,000, while the assumed resale price is $80,000, so a sale would record an $80,000 loss in reported profit; the cash model uses only the $80,000 actually received.
So the model's honest message is: cloud does not win on cost with these inputs, and the case must rest on speed, elasticity or reduced risk, or on a plan that removes about $40,000 a year of cloud cost (for example by shrinking on-demand usage after rightsizing). That sensitivity is more useful to the decision-maker than a single total.
Pitfalls
Comparing cloud with a hardware price instead of a total running cost. Forgetting the parallel-running period. Using today's on-premises utilisation as the cloud sizing, when cloud should be sized to real demand. Ignoring that on-premises needs to be sized for peak.
You are choosing among three cloud providers for a non-production analytics workload over 3 years. Provider X: compute $120k/yr, storage $30k/yr, egress $10k/yr. Provider Y: compute $95k, storage $45k, egress $25k. Provider Z: compute $110k, storage $25k, egress $40k. Utilisation grows 10% a year and 1-year reserved compute is 30% cheaper. Build a simple 3-year TCO comparison, state your assumptions, pick a provider and show how sensitive the choice is to utilisation growth.
Sample Answer
Direct answer
Provider X is the pick for a three-year non-production workload. On-demand it totals $529.6k at 10% yearly utilisation growth, against $546.2k for Y and $579.2k for Z, and X stays cheapest at every growth rate from 0% to 30% when all three cost lines grow together. Reserved compute (a one-year commitment priced 30% below on-demand, where on-demand means paying the full list rate by the hour with no commitment) cuts X to $410.4k, but only pay for it if the compute actually runs most of the year, which non-production rarely does.
Assumptions (five, stated so a reviewer can change them)
- Prices are flat for three years; no provider price changes.
- Compute, storage and egress (data leaving the provider's network) all scale with a utilisation index (a multiplier on year-1 usage) of 1.00, 1.10, 1.21 for years 1 to 3 (10% growth a year).
- The reserved case applies the 30% discount to all compute and is renewed each year sized to that year's forecast, which is slightly optimistic if forecasts miss.
- No discounting. It cannot change the ranking here: X is the cheapest provider in every single year (year 1 is $160k, $165k and $175k), so any positive discount rate keeps X first.
- Workloads perform the same on all three, and the cost of moving in or out is ignored.
The comparison and the sensitivity
providers = { # year-1 list cost in $k per year
"X": {"compute": 120, "storage": 30, "egress": 10},
"Y": {"compute": 95, "storage": 45, "egress": 25},
"Z": {"compute": 110, "storage": 25, "egress": 40},
}
def tco(p, growth, reserved):
total = 0.0
for year in range(3):
scale = (1 + growth) ** year # utilisation index: 1.00, 1.10, 1.21
compute = p["compute"] * scale * (0.70 if reserved else 1.0)
total += compute + p["storage"] * scale + p["egress"] * scale
return total
for reserved in (False, True):
label = "1-yr reserved compute" if reserved else "on-demand compute"
print(label)
for g in (0.0, 0.10, 0.20, 0.30):
row = {n: round(tco(p, g, reserved), 1) for n, p in providers.items()}
best = min(row, key=row.get)
print(f" growth {g:>4.0%}: " + " ".join(f"{n}={v:>6.1f}" for n, v in row.items()) + f" -> best {best}")
# Stress test 1: only compute usage grows; storage and egress stay flat.
def tco_compute_only(p, growth, reserved):
total = 0.0
for year in range(3):
compute = p["compute"] * (1 + growth) ** year * (0.70 if reserved else 1.0)
total += compute + p["storage"] + p["egress"]
return total
print("compute-only growth, on-demand")
for g in (0.10, 0.20, 0.30):
row = {n: round(tco_compute_only(p, g, False), 1) for n, p in providers.items()}
print(f" growth {g:.0%}: " + " ".join(f"{n}={v:.1f}" for n, v in row.items()) + f" -> best {min(row, key=row.get)}")
# Smallest growth rate (0.1% steps) at which Y beats X on compute-only growth.
for label, reserved in (("on-demand", False), ("reserved", True)):
flip = next((g / 1000 for g in range(0, 1000)
if tco_compute_only(providers["Y"], g / 1000, reserved)
< tco_compute_only(providers["X"], g / 1000, reserved)), None)
print(f"Y beats X on compute-only growth ({label}) from growth of about {flip:.1%}" if flip else f"no flip ({label})")
# Stress test 2: egress volume multiplier at 10% growth, on-demand.
print("egress multiplier at 10% growth, on-demand")
for k in (1, 2, 4):
row = {}
for n, p in providers.items():
q = dict(p, egress=p["egress"] * k)
row[n] = round(tco(q, 0.10, False), 1)
print(f" egress x{k}: " + " ".join(f"{n}={v:.1f}" for n, v in row.items()))
# Reserved pays off only if the instance runs more than 70% of hours.
print("reserved vs on-demand, X compute, year-1 $k at utilisation of hours")
for u in (0.30, 0.50, 0.70, 1.00):
on_demand = 120 * u
reserved = 120 * 0.70
print(f" {u:.0%} of hours: on-demand {on_demand:.1f} reserved {reserved:.1f}")
on-demand compute
growth 0%: X= 480.0 Y= 495.0 Z= 525.0 -> best X
growth 10%: X= 529.6 Y= 546.2 Z= 579.2 -> best X
growth 20%: X= 582.4 Y= 600.6 Z= 637.0 -> best X
growth 30%: X= 638.4 Y= 658.4 Z= 698.2 -> best X
1-yr reserved compute
growth 0%: X= 372.0 Y= 409.5 Z= 426.0 -> best X
growth 10%: X= 410.4 Y= 451.8 Z= 470.0 -> best X
growth 20%: X= 451.4 Y= 496.9 Z= 516.9 -> best X
growth 30%: X= 494.8 Y= 544.6 Z= 566.6 -> best X
compute-only growth, on-demand
growth 10%: X=517.2 Y=524.5 Z=559.1 -> best X
growth 20%: X=556.8 Y=555.8 Z=595.4 -> best Y
growth 30%: X=598.8 Y=589.0 Z=633.9 -> best Y
Y beats X on compute-only growth (on-demand) from growth of about 18.9%
Y beats X on compute-only growth (reserved) from growth of about 59.6%
egress multiplier at 10% growth, on-demand
egress x1: X=529.6 Y=546.2 Z=579.2
egress x2: X=562.7 Y=628.9 Z=711.7
egress x4: X=628.9 Y=794.4 Z=976.5
reserved vs on-demand, X compute, year-1 $k at utilisation of hours
30% of hours: on-demand 36.0 reserved 84.0
50% of hours: on-demand 60.0 reserved 84.0
70% of hours: on-demand 84.0 reserved 84.0
100% of hours: on-demand 120.0 reserved 84.0
What the numbers say
- Pick X. It wins at all four growth rates tested (0%, 10%, 20% and 30%) when everything scales together. Its compute line is the highest of the three ($120k). Against Y, X pays $25k more for compute but saves $15k on storage and $15k on egress, so it is $5k a year cheaper at year-1 levels, and because every line scales with utilisation, the gap scales with it (X leads Y by $16.6k over the three years at 10% growth).
- Egress is the swing cost (the line whose uncertainty can change the ranking). Z's headline compute is mid-priced but its egress of $40k is four times X's. If egress volume doubles, Z goes from $579.2k to $711.7k while X goes to $562.7k; at four times, Z reaches $976.5k. A low hourly price paired with a heavy per-gigabyte egress rate loses to a higher instance price with generous in-region transfer when most traffic leaves the provider's network. To model that, split egress into in-region volumes (traffic that stays inside the provider's own region, often cheap or free) and out-of-region volumes with separate rates. As an illustration, if half of every provider's egress stays in-region at a quarter of the price, year-1 egress becomes X $6.25k, Y $15.6k and Z $25.0k (for example Z: $40k x (0.5 + 0.5 x 0.25) = $25k), and year-1 totals become X $156.25k, Y $155.6k and Z $160k, so X's $5k lead over Y disappears. That is why the split is worth asking for before signing.
- The choice does flip, but only on a narrow case. If just compute usage grows and storage and egress stay flat, Y overtakes X from about 18.9% yearly growth on-demand (at 20%, Y is $555.8k against X at $556.8k). With reserved compute the flip moves out to about 59.6%, a growth rate this workload is unlikely to see, because the 30% discount shrinks the compute gap that Y's low rate exploits.
- Reservations. A reservation costs 70% of the always-on on-demand price whether you use it or not, while on-demand costs only the hours you run. So the two cost the same when the instance runs 70% of the hours, and the reservation pays off only above that. Taking the $120k as the always-on on-demand cost, the reservation is $120k x 0.70 = $84.0k; at 30% of hours on-demand costs $36.0k, at 70% it is $84.0k, and at 100% it is $120k against $84.0k reserved. An office-hours workload (10 hours x 5 days = 50 of 168 hours, about 30%) sits on that first row: with a scheduled shutdown (stopping the instances outside working hours) on on-demand it costs about $36k, against $84k reserved. Reserve only an always-on baseline.
Trade-offs and pitfalls
- A three-way comparison on year-1 list prices alone says X wins by only $5k over Y, which is within the noise of a forecast; the lead only becomes convincing once the growth and egress cases are run. The decisive stress test is compute-only growth, the only growth case that flips the ranking, so that is the one to watch; the in-region egress split described above can also erase X's year-1 lead over Y, which is why it is the second thing to ask each provider about.
- Do not treat "utilisation grows 10%" as applying to every line without saying so; assumption 2 is what decides the ranking.
- Non-production often has a cheaper lever than provider choice: auto-shutdown schedules and smaller instance types.
- What would change my call: egress being mostly in-region, a quoted rate card (the provider's published price list) that differs from the figures given, or compute growing alone beyond about 19% a year.
Unlock Full Question Bank
Get access to all 49 Cost Optimization and Technology Financial Management interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.