Azure Cost Management provides comprehensive tools for monitoring, allocating, and optimizing cloud spend. For AWS engineers, this replaces AWS Cost Explorer, Budgets, and Cost Allocation Tags with a unified platform that also supports multi-cloud visibility.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FINOPS: AWS vs AZURE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β AWS AZURE β
β βββ βββββ β
β β
β Cost Explorer βββββββββββΆ Cost Analysis β
β AWS Budgets βββββββββββΆ Azure Budgets β
β Cost Allocation Tags βββββββββββΆ Cost Allocation / Tags β
β Savings Plans βββββββββββΆ Azure Savings Plans β
β Reserved Instances βββββββββββΆ Azure Reservations β
β Spot Instances βββββββββββΆ Azure Spot VMs β
β Compute Optimizer βββββββββββΆ Azure Advisor β
β Trusted Advisor (cost) βββββββββββΆ Azure Advisor β
β AWS Organizations (billing)βββββββββββΆ Management Groups + Billing Scopes β
β Cost & Usage Reports βββββββββββΆ Cost Management Exports β
β β
β KEY DIFFERENCES: β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β AWS: Cost Explorer is separate from budgets and recommendations β β
β β Savings Plans and RIs are different purchase mechanisms β β
β β β β
β β Azure: Unified Cost Management + Billing portal β β
β β Reservations cover compute, storage, database, and more β β
β β Native multi-cloud support (AWS, GCP visibility) β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AZURE COST MANAGEMENT ARCHITECTURE β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β BILLING HIERARCHY COST MANAGEMENT FEATURES β
β βββββββββββββββββ ββββββββββββββββββββββββ β
β β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββ β
β β BILLING ACCOUNT β β β β
β β (EA/MCA/CSP) β β COST ANALYSIS β β
β β β β β β
β β βββββββββββββββββββββ β β β’ View costs by resource β β
β β β Billing Profile β β β β’ Group by subscription/tag β β
β β β (Invoice section)β ββββββββββΆβ β’ Time-based trends β β
β β βββββββββββββββββββββ β β β’ Forecast future spend β β
β β β β β’ Export reports β β
β β βββββββββββββββββββββ β β β β
β β β Departments β β βββββββββββββββββββββββββββββββββββ β
β β β (EA only) β β β
β β βββββββββββββββββββββ β βββββββββββββββββββββββββββββββββββ β
β β β β β β
β βββββββββββββββββββββββββββ β BUDGETS β β
β β β β β
β βΌ β β’ Set spending limits β β
β βββββββββββββββββββββββββββ β β’ Alert at thresholds β β
β β SUBSCRIPTIONS β β β’ Trigger automation β β
β β ββββββββββΆβ β’ Forecasted alerts β β
β β βββββββββββββββββββββ β β β β
β β β Resource Groups β β βββββββββββββββββββββββββββββββββββ β
β β β β β β
β β β βββββββββββββββ β β βββββββββββββββββββββββββββββββββββ β
β β β β Resources β β β β β β
β β β β (with tags)β β β β ADVISOR β β
β β β βββββββββββββββ β β β β β
β β βββββββββββββββββββββ ββββββββββΆβ β’ Right-sizing VMs β β
β β β β β’ Reservation recommendations β β
β β β β β’ Unused resources β β
β βββββββββββββββββββββββββββ β β’ Savings opportunities β β
β β β β
β βββββββββββββββββββββββββββββββββββ β
β β
β COST ALLOCATION COMMITMENT DISCOUNTS β
β βββββββββββββββ ββββββββββββββββββββ β
β β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββββββββββ β
β β β β β β
β β β’ Tags (cost center, β β RESERVATIONS (1-3 year) β β
β β project, owner) β β β’ VMs: up to 72% savings β β
β β β β β’ SQL DB: up to 80% savings β β
β β β’ Subscription-based β β β’ Storage: up to 38% savings β β
β β allocation β β β’ Cosmos DB, Redis, etc. β β
β β β β β β
β β β’ Resource group β β SAVINGS PLANS (1-3 year) β β
β β chargeback β β β’ Flexible across VM sizes β β
β β β β β’ up to 65% savings β β
β β β’ Custom allocation β β β’ Simpler than reservations β β
β β rules β β β β
β β β β SPOT VMS β β
β β β β β’ up to 90% savings β β
β βββββββββββββββββββββββββββ β β’ Can be evicted β β
β β β β
β βββββββββββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
- Quick Reference - Essential commands, cost queries, and optimization checklist
- Cost Analysis & Visibility - Understanding and analyzing Azure costs
- Budgets & Alerts - Setting budgets and automated responses
- Reservations & Savings Plans - Commitment-based discounts
- Cost Optimization - Right-sizing, cleanup, and best practices
- Case Studies - Real-world FinOps implementations
AZURE BILLING ACCOUNT TYPES:
ββββββββββββββββββββββββββββ
ENTERPRISE AGREEMENT (EA):
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β β’ Large organizations (>$100K/year commitment) β
β β’ Upfront commitment, discounted rates β
β β’ Departments and enrollment accounts β
β β’ Similar to: AWS Enterprise Discount Program β
β β
β Hierarchy: β
β Billing Account β Departments β Enrollment Accounts β Subscriptions β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
MICROSOFT CUSTOMER AGREEMENT (MCA):
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β β’ Modern billing for direct customers β
β β’ No upfront commitment required β
β β’ Billing profiles and invoice sections β
β β’ Similar to: AWS regular accounts β
β β
β Hierarchy: β
β Billing Account β Billing Profiles β Invoice Sections β Subscriptions β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
CLOUD SOLUTION PROVIDER (CSP):
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β β’ Purchased through Microsoft partner β
β β’ Partner manages billing relationship β
β β’ May include value-added services β
β β’ Similar to: AWS Marketplace reseller β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
COST MANAGEMENT SCOPES:
βββββββββββββββββββββββ
You can view costs at different levels:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β SCOPE ACCESS NEEDED USE CASE β
β βββββ βββββββββββββ ββββββββ β
β β
β Billing Account Billing Admin Total enterprise spend β
β (EA/MCA) across all subs β
β β
β Management Group Reader on MG Business unit costs β
β across child subs β
β β
β Subscription Reader on sub Application/team costs β
β β
β Resource Group Reader on RG Project-level costs β
β β
β Individual Resource Reader on resource Specific service cost β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
AWS COMPARISON:
β’ AWS Cost Explorer also supports account-level filtering
β’ Azure Management Groups = AWS Organizations OUs
β’ Azure provides native multi-cloud cost visibility (AWS, GCP)
RECOMMENDED TAGGING STRATEGY:
βββββββββββββββββββββββββββββ
MANDATORY TAGS (enforce via Azure Policy):
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tag Name Example Value Purpose β
β ββββββββ βββββββββββββ βββββββ β
β CostCenter CC-12345 Financial allocation β
β Environment prod/dev/test Environment identification β
β Owner team@company.com Accountability β
β Project ProjectAlpha Project tracking β
β Application inventory-api Application identification β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
OPTIONAL TAGS (recommended):
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tag Name Example Value Purpose β
β ββββββββ βββββββββββββ βββββββ β
β Department Engineering Organizational unit β
β BusinessUnit Retail Business alignment β
β Compliance HIPAA/PCI Regulatory tracking β
β DataClass Confidential Data classification β
β EndDate 2024-12-31 Temporary resource cleanup β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ENFORCEMENT VIA POLICY:
{
"if": {
"allOf": [
{ "field": "tags['CostCenter']", "exists": "false" },
{ "field": "type", "notEquals": "Microsoft.Resources/subscriptions" }
]
},
"then": {
"effect": "deny"
}
}
RECOMMENDED STUDY ORDER:
ββββββββββββββββββββββββ
Week 1: Foundations
βββ Read: Quick Reference (cost tools and comparisons)
βββ Do: Access Cost Management for your subscription
βββ Do: Create a basic budget with email alerts
βββ Practice: Analyze last month's spend by resource type
Week 2: Deep Analysis
βββ Read: Cost Analysis & Visibility deep dive
βββ Do: Build custom cost views by tag
βββ Do: Set up cost exports to storage account
βββ Practice: Create Power BI dashboard from exports
Week 3: Optimization
βββ Read: Cost Optimization deep dive
βββ Do: Review Azure Advisor recommendations
βββ Do: Identify and clean up unused resources
βββ Practice: Calculate potential reservation savings
Week 4: Automation & Governance
βββ Read: Budgets & Alerts deep dive
βββ Read: Reservations & Savings Plans
βββ Do: Create budget with automation (Logic App)
βββ Review: Case studies
βββ Practice: Design FinOps process for organization
| Feature | Description | AWS Equivalent |
|---|---|---|
| Cost Analysis | Interactive cost exploration | Cost Explorer |
| Budgets | Spending limits and alerts | AWS Budgets |
| Advisor (Cost) | Optimization recommendations | Trusted Advisor + Compute Optimizer |
| Reservations | 1-3 year capacity commitments | Reserved Instances |
| Savings Plans | Flexible compute commitment | Savings Plans |
| Cost Exports | Scheduled data exports | Cost & Usage Reports |
| Cost Allocation | Tag-based cost distribution | Cost Allocation Tags |
IMMEDIATE WINS (Do this week):
ββββββββββββββββββββββββββββββ
β Review Azure Advisor cost recommendations
β Identify and delete unused resources (orphaned disks, IPs)
β Right-size underutilized VMs (<5% CPU)
β Enable auto-shutdown for dev/test VMs
β Review storage tiers (move cold data to Cool/Archive)
SHORT-TERM (This month):
ββββββββββββββββββββββββ
β Purchase reservations for stable workloads
β Set up budgets with alerts at 80%, 100%
β Implement tagging policy for new resources
β Review hybrid benefit eligibility (Windows/SQL licenses)
β Consolidate Log Analytics workspaces
LONG-TERM (This quarter):
βββββββββββββββββββββββββ
β Implement FinOps culture (cost reviews, showback)
β Automate resource cleanup for dev environments
β Evaluate Savings Plans for variable workloads
β Set up cross-team cost allocation
β Create executive cost dashboards
Next: Quick Reference | Back to Chapter 06: Infrastructure as Code
Author: Michel Abboud | AI-Assisted Content | APACHE 2.0 License