Skip to main content

Intro to Creating Azure Virtual Networks

Hands-On Lab

 

Photo of

Training Architect

Length

00:30:00

Difficulty

Beginner

In this hands-on lab, we will use the Azure Portal to create and use a virtual network. We will log in to the Azure Portal and use it to create a virtual network, subnets, and a network security group. After completing this hands-on lab, you will have gained the experience required to create and use your first virtual network using the Azure Portal.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.

Intro to Creating Azure Virtual Networks

Introduction

In this hands-on lab, we will use the Azure Portal to create and use a virtual network.

We will log in to the Azure Portal and use it to create a virtual network, subnets, and a network security group.

After completing this hands-on lab, you will have gained the experience required to create and use your first virtual network using the Azure Portal.

Log In to the Azure Portal

  1. On the lab instructions page, click Open Azure Portal.
  2. On the Azure Portal sign-in page, enter the username you were provided on the lab instructions page.
  3. Click Next.
  4. Enter the password you were provided on the lab instructions page.
  5. Click Sign in.
  6. In the Welcome to Microsoft Azure message box, click Maybe later.

Create a Virtual Network

  1. On the Azure Portal home page, click All resources in the left sidebar.
  2. Click + Add at the top of the page.
  3. Click Networking > Virtual network.
  4. On the Create virtual network page, configure the following settings:
    • Name: vnet1
    • Address space: 10.0.0.0/24
    • Resource group: (Select the pre-provisioned resource group from the dropdown.)
    • Subnet address range: 10.0.0.0/26
  5. Click Create.
  6. Click the notifications icon at the top of the screen to monitor the progress of the deployment.
  7. When the deployment is complete, click Go to resource.

Create a Subnet

  1. Click Subnets.
  2. Click + Subnet.
  3. On the Add subnet page, configure the following settings:
    • Name: subnet2
    • Address range: 10.0.0.64/28
  4. Click OK.

Create a Network Security Group

Create a New Network Security Group

  1. Click + Create a resource in the left sidebar.
  2. Click Networking > Network security group.
  3. On the Create network security group page, configure the following settings:
    • Name: nsg1
    • Resource group: (Select the pre-provisioned resource group from the dropdown.)
  4. Click Create.
  5. Click the notifications icon at the top of the screen to monitor the progress of the deployment.
  6. When the deployment is complete, click Go to resource.
  7. Under Settings, click Inbound security rules.
  8. Click + Add.
  9. On the Add inbound security rule page, configure the following settings:
    • Destination port ranges: 3389
    • Name: Port_3389
  10. Click Add.

Attach the Security Group to the Subnets

  1. Click All resources.
  2. Click vnet1 to open our virtual network.
  3. Under Settings, click Subnets.
  4. Click default to open our first subnet.
  5. Click Network security group.
  6. Click nsg1.
  7. Click Save.
  8. Click subnet2 to open our second subnet.
  9. Click Network security group.
  10. Click nsg1.
  11. Click Save.

Conclusion

Congratulations, you've successfully completed this hands-on lab!