Makefile wrapping an Azure ARM template. make deploy provisions an NC-series GPU spot VM and installs AUTOMATIC1111. make open opens an SSH tunnel. make destroy tears it down. Spot pricing keeps costs under $0.10/hour.
make deploy runs an ARM template that provisions a diagnostics storage account, network resources, and a GPU spot VM, then uses cloud-init to install CUDA and AUTOMATIC1111. A helper service watches Azure spot-instance events so the machine can react cleanly to preemption or scheduled maintenance. make destroy removes the deployed resources.
make deploy, make open, make destroy. Under 10 minutes total.
NC6s_v3: typically under $0.10/hour.
CUDA, the web UI, and helper scripts are installed automatically on first boot.