title: How do I deploy an application in Azure Scale Set VMs?
body: <p>I have created a Azure Scale Set upto 3 Linux VMs using the Azure Portal. I have successfully installed java, maven and git on the first VM. I was able to run my App on the first VM.</p>
  
  <p>I have a fan out trigger at 60% and fan in at 25%. Whenever my processing exceeds 60% a new VM is started.</p>
  
  <p>But how do I deploy my app on the second VM? I have gone through <a href="https://msftstack.wordpress.com/2016/04/20/deploying-applications-in-azure-vm-scale-sets/" rel="nofollow">this</a> and found the second option <strong>custom VM image</strong> suitable for my purpose. But I fail to understand how it is achieved.</p>
  
  <p>Is there a easier way or do I have to manually install everything that I did on my first VM? </p>