Sign in into the **Microsoft Azure Portal**
Type **Virtual networks** in the search bar and click on the **Virtual networks** to view the Virtual networks dashboard
**What is Azure Virtual Network?** A Virtual Network (VNet) is a software-defined representation of a traditional network in the cloud. It enables the creation of isolated networks in Azure for secure communication between Azure resources, providing segmentation, and control over IP addressing.
On the **Virtual networks** dashboard, click on the **Create** button in the top left side
On **Create virtual network** wizard, scroll to the **Resource group** section and click on the **Create new** link
**What is a Resource group?** A Resource Group in Azure is a logical container for grouping and managing related resources such as virtual machines and databases. It helps organize resources, apply policies, and manage costs effectively.
**Resource group** wizard will open, type "**virtual-network-rg**" and click on the **OK** button
Scroll to the **Virtual network name** section and type Name as "**my-first-virtual-network**"
On the **Create virtual network** wizard, click on the **IP addresses** tab
Scroll to the **address space** section and click on the **Add a subnet** button
On the right side **Add a subnet** wizard will open, give the Name as **"public-subnet"**
Scroll the page and click on the **Add** button
Now you can see there are **default** and **public** subnets. To make it easier to remember, rename the default subnet to a private subnet by clicking on the **default** Subnet edit widget
On the right side **Edit subnet** wizard will open, give the Name as "**private-subnet**"
Scroll the page and click on the **Save** button
Now there are two subnets: a **private** subnet and a **public** subnet
Scroll the page and click on the **Review + create** button
**Review** wizard will open, review all the configurations
Scroll the page and click on the **Create** button
**Your deployment is complete**