Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created January 26, 2021 01:19
Show Gist options
  • Save PlagueHO/a88281563e35dc02d7b17e4c14cdc14f to your computer and use it in GitHub Desktop.
Save PlagueHO/a88281563e35dc02d7b17e4c14cdc14f to your computer and use it in GitHub Desktop.
Create an Azure DevOps Agent Pool VMSS
az vmss create \
--name dsragentspool \
--resource-group dsr-azuredevops-rg \
--image UbuntuLTS \
--vm-sku Standard_DS2_v2 \
--storage-sku Standard_LRS \
--authentication-type SSH \
--instance-count 2 \
--disable-overprovision \
--upgrade-policy-mode manual \
--single-placement-group false \
--platform-fault-domain-count 1 \
--load-balancer "" \
--ephemeral-os-disk true \
--os-disk-caching readonly \
--vnet-name dsr-agentspool-vnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment