Windows Azure – Moving Staging Deployment to Production

We can deploy a successful staging build to production, using the Swap VIP button in the Azure portal.

Step 1: Select the Deployment item

Sign in to the Azure Portal and select the appropriate item to deploy. In our case, the Deployment 1 is the item to be selected.

clip_image002

Step 2: Click on the Swap VIP

Click on the Swap VIP button from the top toolbar after selecting the deployment item. The following dialog box appear.s

clip_image004


Step 3: Click on the production url

Now the status of the deployment selected changes to Ready as shown below.

clip_image006

Click on the production url shown on the right pane to open the web role in a browser. The web role is shown below. Please note the url of the browser. The previous staging GUID urls are replaced by the production url.

clip_image008

Summary

That concludes the deployment from staging to production in the Windows Azure Portal. The web role is now deployed and available to the public.

More Information

The Swap VIP option does not actually deploy a new build. Instead, it will switch the production and staging builds by switching the DNS addresses internally. Thus the deployment seems to be faster as there is only switching of addresses internally.

Warning

The billing of the service will be there for both staging and production deployments. If the usage exceeds the trial limit charges will be levied on your credit card. Please take care. J

Leave a Reply

Your email address will not be published. Required fields are marked *