Freigeben über


How to Deploy Web Roles Quick & Easy

WAAWebRoles_logo

Creating a new role has two stages:
1. Create a new VM with Windows Server 2008 installed
2. Install your application on it.

The Windows Azure Accelerator for Web Roles makes it quick and easy for you to deploy one or more websites across multiple Web Role instances using Web Deploy. The accelerator includes a Visual Studio project template that creates a Windows Azure web role to host one or more websites. Once you have deployed this Web Role you can deploy your websites to Windows Azure using Web Deploy. Deployments to Windows Azure using Web Deploy take only about 30 seconds. Additionally, this tool will work with roles that have a single or many instances so you can scale up to handle as much traffic as you need.

The Web Host project template included with this project also has a user interface for managing your IIS applications, certificates, and site bindings. You can create new sites using only the web interface and then deploy directly to your site using Web Deploy. Additionally, the web interface has some basic UI to display logging information. The web interface can be used as is or extended to fit your exact needs.

In this screencast you will learn:

  • How to deploy this accelerator to Windows Azure
  • How to use the accelerator's administrator portal
  • How to deploy a web site to Windows Azure using Web Deploy

To start using this accelerator, check out the step-by-step tutorial here.

Requirements

You must have the following items to run the project template and the sample solution included in this toolkit:

  • Microsoft Visual Studio 2010 Professional (or higher) or Microsoft Visual Web Developer 2010 Express
  • Microsoft ASP.NET MVC3
  • Internet Information Services 7 (IIS7)
  • Windows Azure SDK 1.4 (March 2011)
  • Windows Azure Tools for Microsoft Visual Studio 2010 (March 2011)