I have a Worker Role that need complex environment settings (install a couple of softwares, setup some directories and etc) so I want to deploy it to VM ( instead of Cloud Service that specialize in more simple environment without pre configure settings).
The problem that I can only publish to Cloud Service (from VS 2013), am I missing something ?
I tried to find some article and relevant materiel about deploy a Worker Role to a VM and the only things I found is related to the Cloud Service.
How can I do it ? (or provide me a general guidelines)
Simply put, you can't deploy a Worker Role
as is into an Azure Virtual Machine (IaaS) without doing code changes.
Things you could do:
Startup Tasks
for Cloud Services. They do provide a mechanism to perform additional tasks like installing software when your Cloud Service is deployed.