0% found this document useful (0 votes)
18 views2 pages

Assginment 2

Uploaded by

zubair413427
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views2 pages

Assginment 2

Uploaded by

zubair413427
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

NAMAL UNIVERSITY

Department of Computer Science


BS Computer Science Program
7th Semester, Fall 2024
Assignment 2
CS-420 Parallel and Distributed Systems Submission Deadline: Jan 6, 2025
Max Marks: 10

Practical Assignment: Creating a Virtual Machine and Developing a Web Server on


Microsoft Azure
Objective:
This assignment aims to provide hands-on experience in creating a Virtual Machine (VM) on
Microsoft Azure and setting up a web server on it. Students are required to submit the completed
assignment with screenshots demonstrating each step. CLO-4

Instructions:
1. Create an Azure Account:
• If you do not already have an Azure account, create one by visiting the Azure portal.
2. Create a Virtual Machine:
• Sign in to the Azure portal.
• Click on "Create a resource" and select "Virtual Machine."
• Configure the following settings:
o Subscription: Select your subscription.
o Resource group: Create a new resource group or select an existing one.
o Virtual machine name: Enter a name for your VM.
o Region: Select the region closest to you.
o Image: Choose an appropriate operating system (e.g., Windows Server).
o Size: Select a VM size based on your requirements.
o Authentication type: Choose SSH public key or password for authentication.
o Inbound port rules: Allow HTTP (port 80) and SSH (port 22).
3. Connect to the Virtual Machine:
• Once the VM is created, go to the VM overview page.
• Click on "Connect" and follow the instructions to connect to your VM using SSH.
4. Install a Web Server:
o After connecting to your VM, update the package list
o Install IIS (or any web server of your choice)
o Ensure the web server is running
5. Configure the Web Server:
o Create a simple HTML file to serve as your website's homepage
o Add the following content to the file
<html>
<head>
<title>Welcome to Azure VM Web Server</title>
</head>
<body>
<h1>Hello, I am YOUR NAME!</h1>
<p>This is a web server running on an Azure Virtual Machine.</p>
</body>
</html>
6. Verify the Web Server:
o Open a web browser and navigate to the public IP address of your VM.
o You should see the "Welcome!" message displayed

Submission Requirements:
• Take screenshots at each major step of the process, including:
o Azure portal during VM creation.
o SSH connection to the VM.
o Installing and verifying the web server.
o Browser showing the "Welcome" message.
• Compile these screenshots into a single document (PDF or Word).
• Write a brief explanation for each screenshot detailing what was done in that step.
Submission:
• Submit the document on Q-OBE by January 6, 2025.

If you encounter any issues or have questions, please reach out during office hours

You might also like