Designing Virtual Machine Solutions: Sizes, Disks, Images, Availability, Patching and Scale Sets
VM Families (Pick by Workload)
| Series | For |
|---|---|
| B | Burstable, low average CPU, dev/test |
| D | General purpose, most apps |
| E | Memory optimized, databases, caches |
| F | Compute optimized, batch, gaming, web tier |
| L | Storage optimized, high disk throughput |
| N | GPU, AI and graphics |
| M | Very large memory, SAP HANA |
| H | High performance computing |
Design rule Start from measured CPU, memory, disk and network needs. Check the current size names and limits in the docs, since generations change often.
Disk Design
| Disk | Use |
|---|---|
| Standard HDD | Backup, rarely accessed |
| Standard SSD | Web servers, light dev/test |
| Premium SSD / SSD v2 | Production databases and apps |
| Ultra Disk | Very low latency, top IOPS |
| Local temp disk | Cache and scratch only. Data is lost |
- Use striping several disks for more IOPS
- Host caching: ReadOnly for data disks of databases, None for log disks
- Check VM size limits because the VM itself caps disk throughput
- Encryption at host, disk encryption sets and trusted launch improve security
Images
- Marketplace images for quick starts
- Azure Compute Gallery stores custom, versioned images and replicates them to regions
- Build images with Azure Image Builder or Packer and pipelines, so every VM starts the same
- Prefer immutable (replace VM) over fixing servers by hand
Availability
| Option | Protects from | Notes |
|---|---|---|
| Single VM, premium disks | Hardware faults partly | Lowest SLA |
| Availability set | Rack and maintenance | One datacenter |
| Availability zones | Datacenter failure | Preferred where available |
| Scale set across zones | Datacenter failure and load | Best for stateless tiers |
| Multi-region | Region failure | Site Recovery or active-active |
Operations Design
- Azure Update Manager schedules and reports patching
- Azure Backup protects VMs
- Azure Monitor Agent and VM insights for monitoring
- Bastion and JIT instead of public RDP or SSH
- Azure Policy guest configuration to enforce settings
- Automanage for default best practice
Cost Design for VMs
- Reservations or savings plans for steady VMs
- Spot for batch
- Autoscale and shutdown schedules
- Hybrid Benefit for licenses
- Right-size after monitoring
Practice
- Choose a VM series and disk type for a 500 GB OLTP database
- Design availability for a stateless web tier needing 99.99%
- List patching and backup steps for a fleet of 50 VMs
Conclusion
Choose VM series and disks from measured needs, use zones and scale sets for availability, build images in a pipeline and automate patching, backup and access.
Quick Summary: families; disks; images; availability; operations; cost.

