Objective

Monitor and optimize Azure spending with Cost Management tools.

Tools & Technologies

  • Azure Cost Management
  • Budgets
  • Azure Advisor

Key Commands

az consumption budget create --amount 100 --time-period-start 2026-01-01
az advisor recommendations list --output table
az cost management query

Lab Steps

01
Cost Analysis

Explore current spending by resource group, service, and tag.

02
Budgets

Create budget alerts at 80% and 100% of monthly target.

03
Azure Advisor

Review and act on cost optimization recommendations.

04
Reserved Instances

Understand RI pricing vs pay-as-you-go for long-running workloads.

Challenges Encountered

  • Budget alerts have up to 12 hour delay
  • Cost data in portal lags by 24 hours

Key Takeaways

  • Tag all resources with project and environment for cost attribution
  • Auto-shutdown VMs save significant costs in dev/test environments