Introduction

As a Software Engineer, within our organization, while working on a workstation, we need to be connected to multiple resources like Web Servers, database servers, printers, active directory Servers, centralized file Servers etc. In order to be connected to all those multiple resources, our workstations need to be connected to the networks (ex: LAN, WAN). In a similar way, in our production environment, each virtual machine needs to connect to the multiple resources (like IP Address, other virtual machine etc.). In order to connect to any other resource, the virtual machine should be first connected to a virtual network. Just as we work in our Local Area Network (LAN), we can also create a network on the Cloud, which is referred to as Virtual Network (VNet). Think about VNet as a network of resources that can communicate with each other. I hope, you have now got a brief idea on why and what is a virtual network.

In this article, you will learn how to create a VNet, using Azure management portal. We will also learn about the basic attributes of a VNet, which are required, while creating the same.

Create a Virtual Network

After logging into Azure management portal, as shown in the below screenshot, select the virtual network to navigate to the blade to create a new VNet.



In the next step, you will need to choose the deployment model.



As shown in the screenshot, shown above, we have chosen “Resource Manager” as the deployment model where everything (ex: VNet, Subnet, NSG, NIC, IPAddress) is treated as a separate component or entity.

After clicking on the “Create” button, you will be taken the following blade, where you can provide all the VNet related attributes.



Let’s try to understand each attribute in detail.

Other important points to remember

Summary

In this article, we have learned what VNet and subnet are and also few of the basics of networking like CIDR notation.

I hope, you enjoyed the article. Your feedback is appreciated.