Azure · Compute
Azure Virtual Machines
Linux and Windows VMs on demand.
Official docsOverview
Azure VMs offer broad OS support, GPU/HPC sizes, scale sets, spot pricing and integration with Bastion for secure access.
When to use it
- Lift-and-shift workloads
- Build agents and test runners
- Workloads needing custom OS images
Setup
- Portal → Virtual machines → Create.
- Pick image (Ubuntu LTS, Windows Server), size and region.
- Choose authentication (SSH key or password).
- Configure NSG rules (allow 22/3389 only as needed).
- Review + create.
How to use
Create with Azure CLI
az vm create -g qa-rg -n qa-runner \
--image Ubuntu2204 --size Standard_B2s \
--admin-username azureuser --generate-ssh-keysSSH via Bastion
az network bastion ssh -n bastion -g qa-rg --target-resource-id <vm-id> --auth-type ssh-key --username azureuser --ssh-key ~/.ssh/id_rsaQA use cases
- Scale set of Playwright runners with shared MSI for keyless secret access.
- Spot VMs as cheap load generators for k6 fleets.
