- A Cloud Guru
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.
Table of Contents
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
Create a Virtual Network and the Primary Subnet
- 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.
- 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
- Delete the existing range, then update the address space to 10.0.0.0/16.
- Create the subnet:
- Click the edit icon next to the "default" subnet.
- Name: Enter "subnet-a".
- Address range: Enter "10.0.1.0/24".
Create the Secondary Subnet
- Use the Azure Portal to create a second subnet.
- Create the second subnet with an address range of 10.0.2.0/24 and a name of "subnet-b".
Create and Associate a Network Security Group
- Use the Azure Portal to create a new network security group named "NSG1". Use the same region as your virtual network
- Associate the Network Security Group with the subnets subnet-a and subnet-b.
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.