18
Windows Azure Cloud Services Hands on Lab Manual Author: Arunkumar Palanisamy [Technical Lead] Co-Writer: Anandhan Ramasamy [Software Engineer] Aditi Technologies Pvt Ltd, Coimbatore

windows azure cloud services - Lab Manual

Embed Size (px)

Citation preview

Page 1: windows azure cloud services - Lab Manual

Author: Arunkumar Palanisamy [Technical Lead]

Co-Writer: Uma Maheswari P [Software Engineer]

Aditi Technologies Pvt Ltd, Coimbatore

Windows Azure Cloud Services Hands on Lab Manual

Author: Arunkumar Palanisamy [Technical Lead] Co-Writer: Anandhan Ramasamy [Software Engineer]

Aditi Technologies Pvt Ltd, Coimbatore

Page 2: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

1

Step 1: Go to https://manage.windowsazure.com/ and enter your credentials.

Step 2: Select the Websites Tab in from the right hand side menu then Click New button in the

bottom of the page.

Page 3: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

2

Step 3: Click “COMPUTE -> CLOUD SERVICE -> QUICK CREATE”.

Step 4: Enter the URL for the website. (eg:TestAzure) which is followed by cloudapp.net

and select the preferred Region where the portal could be hosted.

Page 4: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

3

Step 5: Click CREATE CLOUD SERVICE button in the bottom of the page.

Page 5: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

4

Step 6: Cloud Service created and shows your Cloud Service details under Cloud Service

tab.

Step 7: Click Arrow button () in right-side of your site name.

Page 6: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

5

Step 8: Open Visual Studio then Click New Project Cloud Windows Azure Cloud Service

Page 7: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

6

Step 9: Enter an appropriate name for the project and click OK to continue.

Step 10: Now you will be prompted with another dialog for selecting the type of project.

Double click on the ASP.NET Web Role option.

Page 8: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

7

Step 11: Hover over WebRole1 under Windows Azure solution, click the pencil icon, and rename

the web role. Then Click OK.

Now you are ready with the Web Role project.

Page 9: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

8

Step 12: Now execute the application and you will be able to see the application inside the

browser. From the system tray, you can verify the Windows Azure Emulator as running. If

successfully executed, you can see the web role opened in a browser.

Step 13: In Visual Studio, right-click the project in Solution Explorer and Click Publish to

Windows Azure from the context menu.

Page 10: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

9

The Publish Web wizard opens.

Step 14: In the Sign in tab of the Publish Windows Azure Application wizard, click Sign in to

download credentials.

Step 15: When prompted to save the Credential file, click OK.

Page 11: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

10

Step 16: In the Profile tab of the Publish Web wizard, click Import.

Step 17: Select the .publishsettings file you downloaded earlier, and then click Open.

Page 12: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

11

Step 18: Click Next button.

Page 13: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

12

Step 19: Clicking the Next button takes you to the Common Settings tab. This tab allows

you to select an existing cloud service or even create a new one. Also, you can choose

which environment you want to deploy to production or staging and which build service

configuration you want to use. This is the place where you can choose which ones to use for

your deployment.

Step 20: Click Enable Remote Desktop for all roles checkbox in the Settings tab and also enter your

remote desktop credentials and then click OK.

Page 14: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

13

Step 21: Verify Cloud Service details in the Summary tab and Click Publish.

Waiting for Staging process completion in Visual Studio.

Page 15: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

14

Step 22: Go to Cloud Service page in the browser and then click Arrow button () in right-

side of your site name.

Page 16: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

15

Verify the difference in this window.

Step 23: Click DASHBOARD tab in the top of the page.

Page 17: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

16

Step 24: Check your Cloud Service details in the page and then click SITE URL.

Page 18: windows azure cloud services - Lab Manual

Windows Azure Cloud Services

17

That page open in the cloud.