Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Azure icon

Creating Azure Virtual Networks

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.

Azure icon

Path Info

Clock icon Beginner
Clock icon 30m
Clock icon May 03, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Log in to the Azure Portal

    Log in to the Azure Portal with the credentials provided in the lab page to begin the process of creating a virtual network

  2. Challenge

    Create a Virtual Network and the Primary Subnet

    1. The Azure Portal will open up in the overview page for the resource group created when your lab environment was initiated. Look for the "Location" of your resource group, and take note of the region where your resource group is located. Use that region when you create your other resources.
    2. On the Create virtual network page, configure the following settings:
      • Resource group: Select the pre-provisioned resource group from the dropdown.
      • Name: Enter "vnet-1".
      • Region: Use the same region as your resource group
    3. Delete the existing range, then update the address space to
    4. Create the subnet:
      • Click the edit icon next to the "default" subnet.
      • Name: Enter "subnet-a".
      • Address range: Enter "".
  3. Challenge

    Create the Secondary Subnet

    1. Use the Azure Portal to create a second subnet.
    2. Create the second subnet with an address range of and a name of "subnet-b".
  4. Challenge

    Create and Associate a Network Security Group

    1. Use the Azure Portal to create a new network security group named "NSG1". Use the same region as your virtual network
    2. Associate the Network Security Group with the subnets subnet-a and subnet-b.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans