The cloud bill keeps growing
At a glance
Section titled “At a glance”| Aspect | Aspect |
|---|---|
| Typical organization | A company a year or two after moving to the cloud, or a fast-growing product built cloud-first |
| Symptoms | Monthly bills rising faster than usage; surprise charges; nobody owns the spend |
| Root cause | Costs are invisible to the teams who create them, and some designs are expensive by nature |
| Usual fix | Tag and allocate every cost, give teams their numbers, remove waste, commit to steady usage, and fix costly designs |
| Patterns | Cost allocation and tagging, right-sizing, autoscaling and schedules, commitment discounts, architecture review for cost |
Sound familiar?
Section titled “Sound familiar?”- Finance sees one large bill and can’t tell which product or team caused it.
- Development environments run all night and all weekend.
- Machines were sized for peak during a migration and never resized.
- A data transfer or storage charge appeared that nobody expected.
- Each team assumes cost is someone else’s job.
Why it happens
Section titled “Why it happens”In the cloud, anyone can create resources in minutes, and the bill arrives a month later, as one total. Without tags and reports, teams never see what their choices cost. On top of waste, some designs are simply expensive at scale: chatty services that move lots of data between zones or regions, fine-grained functions billed per call, or storage that’s never cleaned up.
Your options
Section titled “Your options”| Option | Typical saving | Effort |
|---|---|---|
| Visibility: tags, cost allocation, a report per team | Indirect, but enables everything else | Low to medium |
| Remove waste: idle resources, unattached disks, old snapshots | Quick, often significant | Low |
| Schedules: stop non-production environments out of hours | Large for development and test | Low |
| Right-size compute and databases from real usage | Moderate | Low to medium |
| Commitment discounts for steady usage | Significant on the committed part | Low, but needs a usage forecast |
| Fix the architecture: data transfer, per-call charges, storage tiers | Can be the largest | Medium to high |
A proven approach
Section titled “A proven approach”- Make cost visible: enforce tags for team, product and environment, and give every team a monthly report of its own spend.
- Set a unit cost, such as cost per order or per active customer, so growth and waste can be told apart.
- Clean up and schedule: remove idle resources and stop non-production environments when nobody is using them.
- Right-size, then commit: resize from measured usage first, then buy commitment discounts for the steady base.
- Review designs for cost, especially data movement between zones and regions, per-request pricing at high volume, and storage lifecycle rules.
- Resources are tagged with team, product and environment when they are created.
- Billing data is allocated to the teams and products that caused it.
- Each team gets a monthly report of its own spend.
- Unit cost shows whether spending grows with the business, and guides right-sizing and commitments.
- Teams fix the designs behind their largest costs.
Trade-offs and what to watch
Section titled “Trade-offs and what to watch”- Commitments lock you in. Commit only to the steady base you are confident of.
- Cutting too hard hurts reliability. Keep headroom for peaks and failover.
- Cheaper isn’t always better. Engineering time spent saving small amounts can cost more than it saves.
How you’ll know it worked
Section titled “How you’ll know it worked”Every dollar is attributed to a team, unit cost is stable or falling as the business grows, and cost questions are answered from a dashboard rather than an investigation.
Seen in the real world
Section titled “Seen in the real world”- Prime Video cut infrastructure cost by 90% by moving a fine-grained design into one process.
- Dropbox moved most storage to its own infrastructure when scale made that cheaper.
- Netflix reported a cloud cost per streaming start that was a fraction of its data center cost.
Related on ArchitectureCompass
Section titled “Related on ArchitectureCompass”Written and edited by Abhinav Taduka, enterprise software architect.
New pages are added regularly. Follow Abhinav on LinkedIn to see them first.