this guide describes how to install torque agent on a new VMSS, but you can tweak it to your specific use case
- torque agent
- go to Manage, then Agents
- click on New Agent in the top right corner
- select vCenter, then Docker and give it a name (keep the name, we'll use it later on)
- click "skip for now"
- torque long token
go to portal.azure.com and search for VMSS.
click on Create
select your image (make sure it ships with docker pre-installed)
then jump to the Advanced tab and paste the script in the Custom data section under Custom data and cloud init
replace TOKEN with the token you generated earlier in torque, and AGENT with the name of the torque agent you wish to use continue with creating the VMSS
log into the machine (we used ssh in this example) and run the following:
sudo docker ps -a
if all successful you should see two containers
make sure that you see your agent in active state back in the agents page in torque
if you can't see the containers, you can start by examining the cloud-init log file
sudo cat /var/log/cloud-init-output.log
we'd be happy to assist!




