Pcornel
Browse topics
Options
Recent
Favorites
Cloud · Technical reference

Cloud Cost Management

Direct answer

Cloud cost management makes spending visible, allocated and optimised: understand pricing models, tag resources to owners, set budgets and alerts, right-size and remove waste, and commit to discounts for steady usage. FinOps is the practice that brings engineering, finance and business together on it.

When to use this

Use it when estimating costs, reviewing monthly bills, investigating spikes, and planning reservations or savings plans.

First 30 seconds

1. What changed versus last month (service, resource group, tag)?

2. Who owns the top cost items?

3. Is baseline usage covered by reservations/savings plans?

4. What is idle, oversized or unattached?

Operational verification

pricing model → tagging and allocation → visibility (cost analysis) → budgets and alerts → optimisation (right-size, schedule, delete, commit, spot) → review cycle (FinOps)

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Provider-neutral; Azure Cost Management and Advisor examples.
Applicability is projected only from persisted Topic profile and Command metadata.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProvider-neutral; Azure Cost Management and Advisor examples.
Key commandaz consumption budget list --output table
Scope / prerequisiteUse it when estimating costs, reviewing monthly bills, investigating spikes, and planning reservations or savings plans.
What next?2 suggested next steps
Evidence0
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Read-only Verification Verify boundary
# Budgets on the current subscription
az consumption budget list --output table

# Advisor cost recommendations (right-size, shut down, reservations)
az advisor recommendation list --category Cost --query "[].{impact:impact, problem:shortDescription.problem, resource:impactedValue}" --output table

# Waste: unattached disks and unassociated public IPs
az disk list --query "[?diskState=='Unattached'].{name:name, rg:resourceGroup, sizeGb:diskSizeGb, sku:sku.name}" --output table
az network public-ip list --query "[?ipConfiguration==null].{name:name, rg:resourceGroup}" --output table

# Resources missing an owner tag in a resource group
az resource list --resource-group rg-app --query "[?tags.owner==null].{name:name, type:type}" --output table

Cost analysis by tag and service is easiest in the portal's Cost Management; export daily cost data to storage for your own reporting.

Step 2 Common mistakes Narrow the fault
  • No tags or ownership, so nobody acts on costs.
  • Buying 3-year reservations before right-sizing.
  • Ignoring egress and log-ingestion costs.
  • Budgets without alerts to people who can act.
  • Treating cost review as finance's job only.
Step 3 Troubleshooting Narrow the fault

Bill jumped this month. Cost analysis grouped by service and resource group, compared with last month; common causes are new resources, scale-out that never scaled in, log ingestion and data egress.

Reservation savings lower than expected. Reservation scope or size does not match running resources (utilisation report shows unused hours).

Spot VMs keep disappearing. Eviction due to capacity or price; use for interruptible work only, with multiple sizes/zones.

Costs nobody claims. Missing tags or shared subscriptions; enforce tagging with policy.

Key points

Pay-as-you-go is flexible and most expensive. Commit (reservations, savings plans, 1 or 3 years) for steady baseline; use spot for interruptible work. Biggest waste: idle or oversized VMs, unattached disks, forgotten resources, egress. Without owner tags, nobody fixes costs.

Key checks
  • Azure Cost Management → Cost analysis grouped by resource group, service and tag.
  • az consumption budget list — budgets.
  • az disk list --query "[?diskState=='Unattached']" — unattached disks.
  • Azure Advisor cost recommendations: az advisor recommendation list --category Cost -o table.
ReferenceWhat it is2 sections · depth on demand

Direct Answer

Cloud costs are controlled in three steps. See — group spend by subscription, resource group, service and tags in a cost tool (Azure Cost Management, AWS Cost Explorer, Google Cloud Billing reports). Own — make every resource attributable to a team through subscriptions and tags, with budgets and alerts. Optimise — remove waste (idle and unattached resources), right-size, schedule non-production off-hours, and use reservations or savings plans for steady usage and spot capacity for interruptible work. FinOps is the ongoing practice that makes engineers and finance share this responsibility.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Pricing models

ModelDiscountCommitmentFits
Pay-as-you-goNoneNoneVariable, short-lived, unknown usage
Reservations (Azure), Reserved Instances (AWS), committed use (Google Cloud)Significant1 or 3 years for a specific resource type/regionStable VMs, databases
Savings plans (Azure, AWS) / flexible CUDsSignificant1 or 3 years of hourly spendSteady compute that changes size/region
Spot (Azure Spot VMs, AWS Spot, GCP Spot VMs)LargeNone, but can be evicted at short noticeBatch, CI, stateless scale-out
Licence benefits (e.g. Azure Hybrid Benefit)Removes licence costExisting Windows Server/SQL licences with Software Assurance or subscriptionsWindows and SQL workloads

Where money goes unnoticed

  • VMs running 24/7 in dev/test.
  • Oversized VMs and databases copied from on-premises.
  • Unattached managed disks, old snapshots, unused public IPs.
  • Data transfer: egress to the internet and between regions (and sometimes zones in other providers).
  • Log ingestion and retention in monitoring workspaces.
  • Premium tiers chosen "just in case".

Allocation and accountability

Use separate subscriptions (accounts/projects) per workload or team where possible, and required tags such as owner, costcenter, environment enforced by policy. Showback/chargeback reports per team turn costs into something owners act on.

Budgets and anomalies

Set budgets per subscription or resource group with alerts at, for example, 80% and 100% of forecast; enable anomaly alerts for sudden spikes. Budgets alert — they do not stop spending by themselves unless combined with automation.

FinOps cycle

The FinOps Foundation describes an iterative cycle of Inform (visibility, allocation), Optimize (rates and usage) and Operate (governance, continuous improvement), with engineering, finance and business sharing decisions.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
cloud cost managementfinopsazure cost managementreserved instancessavings planspot vmazure hybrid benefitegress costcost allocation tags
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

Cost analysis grouped by service and resource group shows where money goes; a sudden step usually matches a new resource, a SKU change or a forgotten scale-out.

Advisor cost recommendations list idle or under-used resources (low-CPU VMs, unattached disks, unused public IPs) with estimated savings — verify utilization over a representative period before acting.

Reservation/savings plan utilization below 100% means paid-for commitment is wasted; check scope and whether the covered resources were resized or moved.

Budgets: alerts at actual or forecast thresholds — a forecast alert early in the month gives time to react.

Design & tradeoffs

Design decisions

Visibility first: tags for owner, environment and cost center enforced by policy; budgets per subscription with alerts to owners.

Right-size, then commit: remove idle resources and resize before buying reservations or savings plans for steady baseline usage.

Architect for cost: autoscale, deallocate dev/test outside working hours, use spot capacity for interruptible work, and choose storage tiers by access pattern.

FinOps loop: review costs with engineering regularly; make cost a design input, not a month-end surprise.

Confirmation

Confirm action

Continue?