In many of the Visual Studio demos, you can deploy a background worker role program (like a Console app or something) to Azure. Do you know if it’s possible to direct those worker role deployments to an Azure Virtual Machine I’m running instead?
Many thanks
You can not use the same deploy method you have seen with Web/Worker role however you sure can deploy your application from Visual Studio to Azure VM however the medium you will choose has to configured by you. Because Windows Azure VM are mostly configured and maintained by users that’s why there is no pre-built mechanism for any one to deploy application from a development machine it is all have to be configured and choose.
In your case, if you want to deploy directly from VS, you can configure web-deploy option in Azure VM (exactly same way you would to any remove VM) so you can deploy direclty. Or you can actually configure Powershell to deploy directly from Commandline as well just you would need to configure Powershell remote setting in Azure VM.
Bottom line is you would have to choose and configure your own way to deploy application from your on-premise machine and mainly because you have more ownership to the Azure VM as in any other IaaS cloud.