Cost is an architecture constraint
Somewhere between senior and staff, a new requirement appears in the room, silent but binding: money. Two designs both work; one costs ₹80 lakh a month and one costs ₹8 lakh, and knowing which is which — before building — is the difference between "we could" and "we should." Junior engineers optimise latency; staff engineers optimise latency per rupee. Here's where the money actually hides, because it's rarely where intuition points:
Egress: the one everyone forgets
Cloud pricing has a famous asymmetry: data in is free; data out costs real money — and often data between availability zones does too. Nobody budgets for it because it's invisible on an architecture diagram: those innocent arrows between boxes are the bill. A chatty microservices mesh gossiping across AZs can genuinely cost more in bandwidth than the servers it runs on — you drew the arrows, nobody priced them. Same-AZ placement for the chattiest pairs, compression on internal links, and a CDN absorbing user-facing egress (Tier 4, now wearing a finance hat: a CDN is a latency tool and an egress-arbitrage tool) are all direct money.
Storage classes: pay for temperature
Object storage tiers — hot / infrequent-access / archive — differ by more than an order of magnitude per GB. Most data cools fast: logs older than 90 days, media nobody's opened in a year. A lifecycle policy — one config rule auto-demoting data down tiers by age — is routinely the highest-ratio saving in the whole company: a page of YAML, lakhs a month. The one gotcha: archive tiers charge for retrieval and take hours to fetch, so know the access pattern before demoting. (Access patterns decide storage. Tier 0, Lesson 5. It's always that principle.)
The managed-service premium: rent vs. own, honestly
Managed Kafka or a managed database can cost several times the raw instances underneath. Naive reaction: run it ourselves, save the margin. The honest ledger: self-hosting means an engineer on-call for it, upgrades, backups tested, 3am pages — and a decent engineer costs far more than most premiums. Frequently the premium is the right purchase. The staff-level standard is only this: make it a decision with both columns filled in, not a default in either direction. "We pay the premium because our two-person infra team's time is worth more" is a fine sentence. Silence is not.
Idle capacity: paying for the peak, always
Provisioned for peak, a system runs at 15–30% utilisation almost all the time — you're renting the Diwali-traffic fleet in the middle of a June night. The escalating toolkit: autoscaling (follow the daily curve), spot/preemptible instances at 60–90% off for interruptible work — batch jobs, video encoding, anything that checkpoints and resumes (your queue-based designs from Tier 6 are exactly this shape; queues make interruption survivable) — and reserved commitments for the steady-state floor you know you'll always need.
The habit that is the actual lesson
Put a monthly number on every design before it's built. Rough is fine — Tier 0 napkin math, applied to invoices: N GB egress × rate, M instances × hours, storage × tier price. Two designs that both meet the SLO are not equal if one costs 10× — and the moment you say so with numbers, you're doing staff work. Cost is a requirement like latency is a requirement; it just sends its complaints monthly, to someone else's inbox, until suddenly it's everyone's problem.
Optimising the visible bill and ignoring the invisible one. Shaving 20% off compute with weeks of clever engineering effort while cross-AZ chatter, an unmanaged log firehose (Tier 9's hoarding trap — that bill lands here), and forgotten dev environments quietly dwarf the saving. Before optimising anything: get the itemised bill, sort descending, start at the top. The top line is almost never the line anyone guessed.