Deploy a web role in azure from a control source

There is a way to deploy to the azure webrole from the original control.

I don’t count too much of the sc system that I use, I just want the deployment to happen on push, like on azure websites using git.

+4
source share
3 answers

There is a free hosted TFS service from Microsoft, which allows you to automatically build and deploy your projects from TFS to Azure, ins occur in the TFS team project. It is very simple to set up and takes about 10-15 minutes. It is currently in preview, so it’s free. I have a blog post and companion video that goes through this.

Blog post and video for the Azure Web Site, but the process is almost identical for the Azure Cloud Service (you mentioned the web role).

+2
source

There is no 'Git' support for Continuous Development (Push) for cloud services (Web / Worker roles), only websites (currently), these blog posts contain some recommendations on how to automate web roles (e.g. * note from the SDK): "Automatically build and deploy using the Windows Azure SDK 1.6" http://blogs.msdn.com/b/tomholl/archive/2011/12/06/automated-build-and-deployment-with-windows -azure-sdk-1-6.aspx

+1
source

The Windows Azure Web Role Deployment Project is strictly related to the specific packaging of the project. The original control you are using should provide a mechanism to rake your code and package + deploy it in an acceptable way. Packaging requires a dependency on the Windows Azure SDK for your chosen language.

Based on your choice of the C # tag, it seems that you are using Visual Studio and TFS, you can create an MSBUILD script to automate the build and deployment process, which can work outside of your development machine, but within TFS. This process is described here .

Also, if you can create Server 2010 using TFS, you can create an automatic build / deployment script, as described here , which will also work.

At the bottom, you can pack your application using the SDK and deploy the package using the REST API, so it’s very easy to create your own solution for building and deploying directly from any source server without TFS if you are not using it.

+1
source

All Articles