Designing for Cost: Pricing Models, Reservations, Right-Sizing, Budgets, Chargeback and FinOps Practices
Cost Is a Design Requirement
Cost is decided mostly at design time: service choice, size, redundancy and region. It is cheaper to design well than to optimize later.
Cost Levers
| Lever | Saving idea |
|---|---|
| Right-size | Match VM and database sizes to measured use |
| Autoscale and schedules | Pay only when busy. Stop dev/test at night |
| Reservations (1 or 3 years) | Large discount on steady VMs, SQL, Cosmos, storage and more |
| Savings plan for compute | Flexible commitment for hourly compute spend |
| Hybrid Benefit | Use existing Windows and SQL licenses |
| Spot VMs | Batch or fault-tolerant work at deep discounts |
| Serverless and PaaS | No idle servers, less admin |
| Storage tiers and lifecycle | Move cold data to cool or archive |
| Dev/Test pricing | Lower rates for non-production |
| Delete orphans | Unattached disks, idle public IPs, old snapshots |
Design Choices That Change Cost
| Choice | Cheaper | Costlier but safer |
|---|---|---|
| Redundancy | LRS | ZRS, GZRS |
| Regions | Single region | Multi-region active-active |
| Database | Serverless, small tier | Business Critical, Hyperscale |
| Network | Peering, service endpoints | Firewall, ExpressRoute, many private endpoints |
| Compute | PaaS and autoscale | Always-on large VMs |
Visibility and Control
- Cost Management: analysis, budgets, alerts, anomaly detection, exports
- Budgets with alert thresholds and automation (action group can shut down dev VMs)
- Tags and management groups for allocation. Showback shows teams their cost, chargeback bills them
- Azure Advisor gives right-sizing and reservation advice
- Review monthly with owners
bash
az consumption budget create --budget-name dev-monthly --amount 500 --category cost --time-grain monthly \
--start-date 2026-12-01 --end-date 2027-12-01 --resource-group rg-shop-dev
az advisor recommendation list --category Cost -o table
Worked Example
| Item | Before | After | Change |
|---|---|---|---|
| 10 VMs, 24x7 pay as you go | 100% | 3-year reservation: about 60% of price | Large saving on steady load |
| Dev environment 24x7 | 100% | Run 10 hours on weekdays: about 30% of hours | 70% of hours removed |
| 50 TB of old logs in Hot | 100% | Lifecycle to Cool and Archive | Large storage saving |
| Oversized DB at 8% CPU | 8 vCores | 4 vCores | Half |
Exact discounts vary by service, term and region. Use the Pricing Calculator and current price pages.
FinOps Habits
- Inform: tag, report, give teams visibility
- Optimize: right-size, commit, clean up
- Operate: budgets, reviews, policy guardrails, anomaly alerts
Practice
- Pick three cost levers for a dev/test environment
- Estimate a design in the Pricing Calculator with and without reservations
- Set a budget alert at 80% and 100%
Conclusion
Control cost by designing for it: right-size, autoscale, commit with reservations or savings plans, use cheaper tiers where risk allows, tag everything and review spending regularly.
Quick Summary: design time; levers; trade-offs; visibility; example; FinOps.

