Manage Costs and Subscriptions: Cost Analysis, Budgets, Quotas, Support Plans and Reservations
How Azure Bills
- Most services bill per use: compute per second or hour, storage per GB per month, network egress per GB
- A deallocated VM stops compute charges but disks and public IPs still cost
- Data entering Azure is free. Data leaving (egress) costs
- Prices depend on region, size, tier and redundancy
Cost Management
- Cost analysis: chart cost by service, resource group, tag or location
- Budgets: set a limit with alerts at 50%, 80%, 100% and actions
- Exports: send daily cost data to storage
- Advisor cost recommendations: resize or delete idle resources
- Anomaly alerts warn about unexpected spikes
bash
az consumption budget create --budget-name dev-monthly --amount 300 --category cost --time-grain monthly \
--start-date 2026-12-01 --end-date 2027-12-01 --resource-group rg-dev
az advisor recommendation list --category Cost -o table
Ways to Save
| Method | How it helps |
|---|---|
| Right-size | Smaller VM or database when usage is low |
| Shut down / schedule | Stop dev VMs at night (Automation or auto-shutdown) |
| Reservations | 1 or 3 year commitment on VMs, SQL and more for big discounts |
| Savings plan | Hourly commitment for flexible compute |
| Hybrid Benefit | Use existing Windows Server or SQL Server licenses |
| Spot VMs | Cheap interruptible compute for batch jobs |
| Storage tiers | Move old data to cool or archive |
| Delete orphans | Unattached disks, unused public IPs, empty plans |
Quotas
- Each subscription has limits per region (vCPU cores by VM family, public IP addresses, and more)
- Request an increase in Help + support > Quotas (many are approved automatically)
- Deployment errors like
QuotaExceededmean you reached a limit
Subscriptions and Support
| Item | Notes |
|---|---|
| Free account | Credit for 30 days, some free services, spending limit |
| Pay-as-you-go | Pay for what you use |
| Enterprise Agreement / CSP | Contract or partner billing |
| Visual Studio / Dev/Test | Benefits for development |
- Support plans (Basic, Developer, Standard, Professional Direct) differ in response times. Check the current list
- Change a subscription's billing owner or transfer it from the billing scope
- Cancel and disable a subscription when no longer needed (resources are removed after a period)
Practice
- Open Cost analysis and group by resource group
- Create a budget with an email alert at 80%
- Find the top three cost recommendations in Advisor
- Check the vCPU quota in your region
Conclusion
Control cost by understanding billing, watching Cost Management, setting budgets, saving with right-sizing and reservations, and requesting quotas before big deployments.
Quick Summary: billing; Cost Management; saving methods; quotas; subscriptions and support.

