Cloud Cost Management
Cheat sheet · https://pcornel.dk/topic.php?topic=6303
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.
Remember
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.
First 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.
Verify in this order
pricing model → tagging and allocation → visibility (cost analysis) → budgets and alerts → optimisation (right-size, schedule, delete, commit, spot) → review cycle (FinOps)
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6303