Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
3 views

Lab3 - Installing IIS in Windows Virtual Machine - Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Lab3 - Installing IIS in Windows Virtual Machine - Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 43

Cloud Computing - Azure

Lab3 – Installing IIS in Windows Virtual Machine - Azure

Topology

Page 1 of 43
Cloud Computing - Azure

In Azure portal, click “Resource Groups”.

Page 2 of 43
Cloud Computing - Azure

In “Resource Groups” click “Add”.

Page 3 of 43
Cloud Computing - Azure

In “Resource Groups”, Type “SansboundAzureClass” as Resource group name.

Page 4 of 43
Cloud Computing - Azure

Click “Refresh” to view Resource groups.

You are able to see that created “Resource Groups” named as “SansboundAzureClass”.

Page 5 of 43
Cloud Computing - Azure

Click “Virtual machines” in left side panel.

Page 6 of 43
Cloud Computing - Azure

In “Virtual machines” click “Add”.

Page 7 of 43
Cloud Computing - Azure

Select “Subscription”

Select “Resource Group” name as “SansboundAzureClass”.

Type “Virtual machine name” as “Win-WebSvrVM”.

Select “Region” as “South India”.

Select OS Image “Windows Server 2008 R2 SP1”.

Page 8 of 43
Cloud Computing - Azure

By default VM Size is as “Standard DS1 v2” and 1 vCPU and 3.5 GB memory. You should change the VM
Size by click “Change Size”.

Page 9 of 43
Cloud Computing - Azure

In “VM Size” click on “B1s - Standard” and click “Select”.

Page 10 of 43
Cloud Computing - Azure

Ensure that “Standard B1s” VM Size is selected.

In “Administrator Account” type username as “sansbound” and type your own password.

Page 11 of 43
Cloud Computing - Azure

In “Inbound Port Rules”

In “Public inbound ports” click “Allow selected ports”.

In “Select inbound ports” select “RDP (3389)” from the drop down list.

Page 12 of 43
Cloud Computing - Azure

In “Save Money”,

Always have a Windows license as “Yes”.

Check the “Confirmation” box.

Page 13 of 43
Cloud Computing - Azure

Then click “Review + Create”.

Page 14 of 43
Cloud Computing - Azure

Click “Create” in bottom of the portal.

Page 15 of 43
Cloud Computing - Azure

Click “Go to resource”.

Page 16 of 43
Cloud Computing - Azure

We have selected “Windows 2008 R2 Sp1”.

Kindly note the public IP address of the Windows VM which has been created for Web server.

Page 17 of 43
Cloud Computing - Azure

Type “mstsc” in run box and press “Enter”.

Click ”Connect”

Page 18 of 43
Cloud Computing - Azure

Type username as “sanbound”

Type password for the server which you have specified in the Azure portal while creating VM.

Click ”Ok”.

Page 19 of 43
Cloud Computing - Azure

Click “Yes”.

Page 20 of 43
Cloud Computing - Azure

I have got 10.0.0.4 IP address for the Windows 2008 R2 Sp1 server.

Page 21 of 43
Cloud Computing - Azure

Now I have required to install “IIS” in Windows 2008 R2 Sp1 Server to configure as “Web server”.

In “Windows 2008 R2 Server” click the high lighted icon of “Server Manager” in quick launch near start
menu to launch it.

Page 22 of 43
Cloud Computing - Azure

In “Roles Summary” click “Add Roles”.

Page 23 of 43
Cloud Computing - Azure

Click ”Next”.

Page 24 of 43
Cloud Computing - Azure

In “Web server” you need to Check it.

Page 25 of 43
Cloud Computing - Azure

Ensure that “Web Server (IIS)” is selected and click “Next”.

Page 26 of 43
Cloud Computing - Azure

Click “Next”.

Page 27 of 43
Cloud Computing - Azure

In “Application Development”, need to check “ASP .Net”.

Page 28 of 43
Cloud Computing - Azure

Once you have checked the ASP.NET check box, you will get below window.

Click “Add required role services”.

Page 29 of 43
Cloud Computing - Azure

Click “Next”.

Page 30 of 43
Cloud Computing - Azure

Click “Install”.

Page 31 of 43
Cloud Computing - Azure

Click “Close”.

You have successfully created web server in Windows.

Page 32 of 43
Cloud Computing - Azure

In Server manager,

Click “Configure IE ESC”.

Page 33 of 43
Cloud Computing - Azure

In IE Enhanced Security Configuration,

Set “Off” for Administrators

Set “Off” for Users and click “Ok”.

Page 34 of 43
Cloud Computing - Azure

In Windows Server 2008 R2, go to C:\inetpub\wwwroot

Open “Welcome.png”.

Page 35 of 43
Cloud Computing - Azure

Modify the Welcome.jpg as per your wish and save it.

Page 36 of 43
Cloud Computing - Azure

In Windows 2008 R2 server, in Internet explorer type “localhost” and press “Enter” to get the web
page.

Yes, we have successfully got the web page with in the Azure VM.

Page 37 of 43
Cloud Computing - Azure

Now we have required to access the Web server through public.

Kindly note the Public IP of the Windows Virtual Machine (Win 2008 R2) and try to connect from local
machine.

But, you are not able to got the web page.

What could be the reason?

You have allowed only (RDP – 3389) Port only in inbound port rule to access selected ports
from Public. That is the reason you are not able access the (HTTP – 80) Port through public. Hence
you have required to permit HTTP (80).

Page 38 of 43
Cloud Computing - Azure

Select the virtual machine,

Click “Networking”.

Page 39 of 43
Cloud Computing - Azure

In “Networking”

At “Inbound Port Rules” click “Add inbound port”.

Page 40 of 43
Cloud Computing - Azure

Type “Destination port” range as “80”

Page 41 of 43
Cloud Computing - Azure

Click “Add”.

Page 42 of 43
Cloud Computing - Azure

Go to browser click “Refresh” to connect the webserver.

Now you have successfully connected to the Web server.

Page 43 of 43

You might also like