0% found this document useful (0 votes)
19 views6 pages

Cloud Computing

The assignment focuses on configuring Azure Networking by setting up a secure Virtual Network (VNet) with multiple subnets and deploying two Virtual Machines (VMs) in separate subnets. It involves creating Network Security Groups (NSGs) for access control and testing communication between the VMs. The task aims to provide hands-on experience with Azure networking and secure communication channels.

Uploaded by

Muhammad Shahbaz
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)
19 views6 pages

Cloud Computing

The assignment focuses on configuring Azure Networking by setting up a secure Virtual Network (VNet) with multiple subnets and deploying two Virtual Machines (VMs) in separate subnets. It involves creating Network Security Groups (NSGs) for access control and testing communication between the VMs. The task aims to provide hands-on experience with Azure networking and secure communication channels.

Uploaded by

Muhammad Shahbaz
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/ 6

Cloud Computing

Namal University Mianwali


Faculty of Computer Science

Assignment #02
Muhammad Shahbaz BSCS-2022-30
Instructor Name: Mr. Shehzad Arif

Assignment: Configuring Azure Networking

Course: CS-371 Cloud Computing


Due Date: March 13, 2025
Max Marks: 10
Practical Task: Configuring Azure Networking

Objective:

The objective of this assignment is to set up a secure Azure Virtual Network (VNet) with
multiple subnets, configure Network Security Groups (NSGs), and enable communication
between two Virtual Machines (VMs) in separate subnets.

Task Overview:

1. Create a Virtual Network (VNet) with Subnets

2. Deploy Two Virtual Machines (VMs) in Separate Subnets

3. Configure Network Security Groups (NSGs) for Access Control

4. Test Communication Between VMs

Steps Performed:

Step 1: Create Virtual Network (VNet)


1. Go to Azure Portal → "Create a resource" → "Virtual Network".

2. Name the VNet: MyVNet.

3. Set Address Space: 10.0.0.0/16.

4. Create two subnets:

o WebSubnet (10.0.1.0/24)

o AppSubnet (10.0.2.0/24)

Step 2: Deploy Two Virtual Machines (VMs)

1. VM 1 (Web Server):

o Name: WebVM

o Subnet: WebSubnet

o OS: Ubuntu/Windows
2. VM 2 (App Server):

o Name: AppVM

o Subnet: AppSubnet

o OS: Ubuntu/Windows

Step 3: Configure Network Security Groups (NSGs)

1. Create WebNSG for WebSubnet:

o Go to Network Security Groups → + Create.

o Name: WebNSG.

o Region: Same as MyVNet.

o Resource Group: Choose your existing RG.


o Create inbound rules:

▪ Rule 1: Allow SSH/RDP access (Port 22/3389).

▪ Rule 2: Allow ICMP (Ping) for testing connectivity.

o Associate WebNSG with WebSubnet.

2. Create AppNSG for AppSubnet:

o Go to Network Security Groups → + Create.

o Name: AppNSG.

o Region: Same as MyVNet.

o Resource Group: Choose your existing RG.

o Create inbound rule:

▪ Rule: Allow ICMP (Ping) for testing connectivity.

o Associate AppNSG with AppSubnet.


Step 4: Test Communication Between VMs

1. Access WebVM via SSH (for Ubuntu) or RDP (for Windows).

2. From WebVM, open Terminal or Command Prompt and Ping AppVM using its
private IP (e.g., 10.0.2.X).

3. Observe the response for successful communication.

Notes for Successful Completion:

1. NSG Configuration:

o Ensure SSH/RDP access is allowed on WebVM (Port 22 for Ubuntu, Port


3389 for Windows).

o Allow ICMP (Ping) in both WebNSG and AppNSG.

o AppVM should only need to allow ping.

2. VM Access:

o Use WebVM to access AppVM via RDP (for Windows) or SSH (for Ubuntu).

o If you have a public IP on WebVM, ping AppVM using its private IP.

3. Troubleshooting:

o If pings are timing out, check the NSG rules, ensure correct subnet
association, and confirm that Windows Firewall on the AppVM allows
ICMP.

o Use Windows RDP or SSH on WebVM to troubleshoot connectivity to


AppVM.
Conclusion:

This assignment ensures hands-on experience with configuring networking within Azure,
managing subnets, creating secure communication channels using NSGs, and testing
connectivity between VMs. By following the steps outlined in this task, you will successfully
complete the practical requirements and gain a deeper understanding of Azure
Networking.

You might also like