Night Mode LabsBlue Book
Operations

Cost Management

Cost management is an engineering feedback loop, not a quarterly surprise. Make cost visible near the teams that create architecture and runtime decisions.

Cost ownership

Every production resource should have enough metadata to answer:

  • Which service or platform owns it?
  • Which team pays attention to it?
  • Which environment does it support?
  • Is it customer-facing, internal, shared, or experimental?
  • What should happen when it exceeds expected spend?

Tagging and allocation

Define required tags or labels before cost reporting matters.

Common tags include:

  • service
  • team
  • environment
  • cost_center
  • data_classification
  • managed_by

Enforce required tags through infrastructure policy where possible. Dashboards without reliable tags become guesswork.

Cost controls

  • Set budget alerts for accounts, environments, and major services.
  • Track unit cost for high-volume products.
  • Review idle resources and unattached storage on a cadence.
  • Use autoscaling guardrails and maximums.
  • Prefer commitments only after usage stabilizes.
  • Include cost impact in architecture reviews.

Optimization loop

Watchouts

  • Do not optimize away resilience or security controls blindly.
  • Beware shared platforms with no chargeback or showback model.
  • Cost spikes often indicate reliability, abuse, or lifecycle problems, not just expensive infrastructure.

On this page