Assginment 2
Assginment 2
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