Video in progress
Cloud costs doubled in a year, and leadership is asking for a 30% cut. How do you approach it at the architecture level?
First I make costs visible by service, team and feature, then I work on the 3-5 biggest items: idle capacity, storage and data transfer, wrongly chosen architecture. I weigh each saving together with its effect on reliability and speed.
📖 Answer
An instruction like "everyone cut 10%" often doesn't work: whoever was the most frugal gets punished. First you need visibility: tags (service, team, environment) and a cost dashboard for each team. In many companies that alone gives 10% in the first month: forgotten test environments, orphaned disks, old snapshots.
Then the big items, which usually turn up in this order:
- Compute capacity. Average CPU utilization is 10-15%. Pod requests are set big "just in case". Re-measure against real usage, autoscaling, shrinking at night, reserved capacity for long-running work, spot for background/batch jobs.
- Data transfer. Cross-zone and cross-region traffic is often an invisible big item. For example, a service and its DB in different zones means every request costs money. Chatty microservices, static files without a CDN, uncompressed responses.
- Storage. Logs and metrics nobody ever reads (cardinality explosion!), backups kept forever, raw analytics data in an expensive class. Retention policies and lifecycle rules.
- Architecture. A separate managed DB cluster for every small feature; a permanent stream for something that doesn't need real time; active-active in 3 regions that the business doesn't actually need.
I present each proposal with three columns: savings ($ per month), risk (which SLO it affects), and effort. That way leadership makes a concrete decision like "we save $40k by using spot, but batch reports are sometimes an hour late".
And a standing mechanism: an estimated-cost section in new architecture decisions (ADR) and a unit economics figure every quarter, for example "cost per 1000 active users". Growth in the total isn't itself a problem if users are growing faster than it.
Sign up to mark studied questions and save your progress.