In this comprehensive article, I’ll walk you through everything you need to know how to create VNet in Azure.
How To Create VNet In Azure
Before discussing how to create a VNet in Azure, it is helpful to have a basic understanding of what a VNet is in Azure. Next, we will discuss the prerequisites needed, along with the necessary steps.
Prerequisites
You must have an Azure account or Azure Subscription if you haven’t created one yet; set up an Azure Free Account.
Approach 1: Using Azure Portal
To create VNet in Azure, follow the steps below
- Log in to the Azure Portal (https://portal.azure.com/).
- Search for ‘Virtual Network’ and click on the search result’ Virtual Networks’.

You can also click on the + Create a resource option at the top left corner of the Azure Portal to access the same steps.

Search for ‘Virtual Network’ and click on the search result.

3. Click on the Create button on the Virtual Network window.

4. On the Create virtual network window, select the Basics tab and then provide the details below
- Subscription: Select the desired subscription from the options below.
- Resource group: Select an existing resource group or create a new one using the Create new link.
- Name: Provide a name for the virtual network.
- Region: Select the Region.
Click the Next: IP Addresses > button to navigate the IP Addresses window.

5. Now, it will validate all the data you entered and display a message indicating that the validation has passed. Finally, click on the Create button to create the Virtual network.

6. it will show you “Your deployment is complete”. Click the “Go to Resource” button to navigate to the virtual network.

Approach 2: Using PowerShell
Let’s discuss how to create a virtual network in Azure using PowerShell. Before discussing the functionality, it is essential to understand the prerequisites for creating a virtual Azure network using PowerShell.
Prerequisites
Below are the prerequisites needed here.
- You must have an Azure account or an Azure Subscription if you haven’t created one yet; set up an Azure Free Account.
- You must install the latest version of Azure PowerShell on your machine. If you haven’t already installed it,