You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Understanding Azure's pricing models is critical for managing cloud costs effectively. Azure offers several pricing options for virtual machines and compute services, each suited to different workload patterns. Choosing the right model can save your organisation significant money.
The cost of running an Azure VM is determined by several factors:
| Factor | Description |
|---|---|
| VM size | vCPUs, memory, and features (e.g., Standard_D4s_v5) |
| Region | Prices vary by region — UK South may differ from East US |
| Operating system | Linux is typically cheaper than Windows (due to licensing) |
| Disk type and size | Managed disk costs are separate from compute |
| Networking | Outbound data transfer charges (inbound is free) |
| Pricing model | Pay-As-You-Go, Reserved, Spot, or Hybrid Benefit |
Important: Compute and storage are billed separately. Even when a VM is deallocated, you still pay for the managed disks.
Pay-As-You-Go is the default pricing model. You pay for compute capacity per second with no upfront commitment.
| Feature | Detail |
|---|---|
| Commitment | None — start and stop at any time |
| Billing | Per second, metered from start to deallocation |
| Flexibility | Full — create, resize, and delete VMs freely |
| Best for | Variable workloads, dev/test, short-lived environments, unpredictable demand |
| VM Size | vCPUs | RAM | Linux/hr | Windows/hr |
|---|---|---|---|---|
| Standard_B2s | 2 | 4 GiB | ~$0.05 | ~$0.10 |
| Standard_D4s_v5 | 4 | 16 GiB | ~$0.19 | ~$0.37 |
| Standard_E8s_v5 | 8 | 64 GiB | ~$0.50 | ~$0.84 |
Prices are illustrative and vary by region and date. Always check the Azure Pricing Calculator for current rates.
Azure Reserved VM Instances provide significant discounts in exchange for a 1-year or 3-year commitment to a specific VM size in a specific region.
| Term | Typical Discount (vs PAYG) |
|---|---|
| 1 year | Up to 40% |
| 3 years | Up to 72% |
| Option | Description |
|---|---|
| All upfront | Pay the full amount at purchase — maximum discount |
| Monthly | Spread payments across the term — slightly less discount |
| No upfront | No initial payment — similar monthly cost but with commitment |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.