SYSTEM-DESIGN Contents

Cloud Pricing Mental Model

Understand cloud billing structures.

On this page

Cloud Pricing Requires a Mental Model

Cloud pricing is granular: compute per second, storage per GB-month, network per GB transferred. Architecture decisions directly influence billing patterns.

Common Cost Pitfalls

  • High cross-region data transfer
  • Idle but oversized instances
  • Unbounded log storage
  • Unoptimized object storage tiers

Align Architecture With Billing Model

For example, heavy cross-region microservice calls may dramatically increase egress cost. Designing for locality reduces both latency and billing.

Production-First Takeaway

Understand how your provider bills. Design locality, scaling, and storage strategies that align with the pricing model to prevent runaway cost growth.