Azure CLI
Compute Commands
Create and manage Azure Virtual Machines, scale sets, and availability sets. Configure VM sizes, disks, and networking.
8 commands
Pro Tips
Use 'az vm list-sizes' to find available VM sizes in your region.
Enable auto-shutdown to save costs on dev/test VMs.
Use spot instances for fault-tolerant workloads to save up to 90%.
Common Mistakes
Stopping a VM (deallocate) stops billing; stopped (not deallocated) still incurs charges.
Resizing VMs may require a restart and temporary downtime.