Floating FB popout byF5debug

Windows Azure – Upgrade deployed Azure application Automatically

 

Introduction:

In this article we are going to see how to do an upgrade to the deployed Azure application in the Windows Azure Management Portal.

Overview:

In our earlier articles we have seen on how to develop and deploy an application using the Azure templates in Visual Studio 2010 and deploying the same to the cloud using the Windows Azure Management Portal. In our traditional approach of publishing, there will be requirement changes and we need to do a publish on a frequent basis. Each and every time we no need to delete and create a new process in the Azure management portal, instead we have option to do an upgrade automatically or manually based on the user requirement.

[more]

In this sample we will see on how to do an upgrade automatically, Let us jump start to see the step by step process on the same.

Steps:

As a prerequisite, check my earlier article on how to develop and deploy an Azure application to the cloud step by step using the below Url

Developing and Deploying your First Azure Application

Once we are done with the step from my above article, we can see the result as shown in the screen below.

clip_image001

Now we are ready with our application to upgrade after making some changes to the application. Here we made a change of the version as “Version 2 Update!!!” as shown in the screen below

clip_image003

Once we are ready with the application, follow the steps as shown below. Right click on the Azure project and select publish as shown in the screen below.

clip_image005

We will get a window to select the deployment process as shown below(See my earlier article to see more on the different options to deploy)

clip_image007

Once we selected the appropriate option and clicked on OK button, the project is started to prepare the package and the configuration file and we can see the progress as shown in the screen below.

clip_image009

Once the process gets completed we can see the build and package result as highlighted in the screen below.

clip_image010

We will get a folder opened automatically after publish, and we can see 2 files created as usual as shown in the screen below.(See my earlier article on the usage of these 2 files.)

clip_image011

Now login to the management portal using the below link

http://www.microsoft.com/windowsazure/

We can see a screen like below. Select the Sign into Management portal at the top right corner

clip_image012

After selecting that sign in to management portal you will be asked for the Username and Password to authenticate the process as shown in the below screen

clip_image013

Once we gave the correct credentials and click on submit button will navigate to the main screen of the portal as shown in the below screen

clip_image014

Now click on the Hosted Services, Storage Account and CDN option in the bottom menu and then select the Hosted Services as shown in the screen below.

clip_image015

Now select the deployed application (f5Debug) as shown in the screen below. Here we can see the options like the environment on which its deployed and the DNS name to access the application etc.

clip_image016

Click on the DNS name to see the current version of the output as shown in the screen below(Before Upgrade)

clip_image017

Now to start the upgrade process, we have an icon on the top menu as “Upgrade” as highlighted in the screen below.

clip_image018

We will see a pop up requesting for the details of the upgrade application as shown in the screen below

clip_image019

Now we need to select the Upgrade Mode option, since in this sample we are going to see on the Automatic upgrade as shown in the screen below.

clip_image020

Now select the Package file and the configuration file which we got at the time of publish as shown in the screen below.

clip_image021

We will get a warning message as shown below. Click yes to proceed further…

clip_image022

Now we can see the upgrade started and stage of each component can be seen as highlighted in the screen below.

clip_image023

Once the upgrade is successful we can see the status as Ready as shown in the screen below. Also we can see the DNS name at the right side menu using which we can access the deployed application on the cloud.

clip_image024

Clicking on the DNS name http://f5Debug.cloudadpp.net will open out deployed application as shown in the screen below.

Now we can see the upgraded version of the application(Version 2) as shown in the screen below.

clip_image025

Conclusion:

So in this article we have seen how to upgrade an existing applications different version step by step using the Windows Azure Management Portal.

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter