Introduction:
In this article we are going to see how Reboot a running instance of an ASP.Net Azure Web Application using the Windows Azure Management Portal
Overview:
In our earlier articles we have seen on how to create a new Azure application, deploy it to cloud, manage the application etc. In this article we are going to see how to manage the running role instance by rebooting the role completely during the maintenance or the downtime of the application in order to provide a better performance.
[more]Let us see the step by step on how to do the manually Reboot the Azure Application using Windows Azure Management Portal.
Steps:
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
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
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
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.
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.
In the top Ribbon Menu we can see Reboot option as highlighted in the screen below. We need to use this option to Reboot the running instance of the Azure Application.
Once the application role instance is selected and the Reboot button is clicked, we can see a window pop up asking for the instance to go offline during this action as shown in the screen below. Click on Yes to proceed further.
Clicking on Yes will start the process and we can see the progress(Starting Reboot) as shown in the screen below.
We can now see the WebRole Instance has been stopped and the Role is still in transition as shown in the screen below.
Now we can see the status processed further and initializing the role and preparing the instance which indicates that the reboot has been partially done and the process is starting back as shown in the screen below.
Once the process is completed successfully we can see the status of the Azure Application is Ready as shown in the screen below
Conclusion:
So in this article we have seen on how to reboot the running role instance of the Azure application using the Windows Azure management portal