Cloud

What is Virtual Network in Azure and How Do Create VNet?

J Jaspreet Singh • April 9, 2024 • 5 min read
Animated diagram for What is Virtual Network in Azure and How Do Create VNet?, showing a cloud region feeding a load balancer that distributes requests across three backend nodes in turn
📖 5 min read · 935 words

VNet is an Azure Resource that represents a virtual network in Azure. It is a logical isolation of the Azure cloud dedicated to your subscription. You can deploy and manage virtual machines (VMs), and read more about Virtual Machines in Azure, and other resources in a VNet.

What is Default VNet?

The Default VNet is the pre-created and default virtual network in each Azure subscription. All newly deployed resources are automatically connected to the Default VNet unless you specifically create and connect them to a different one. The address space for the Default VNet is always 10.0.0.0/16, and it cannot be changed without deleting the VNet and then recreating it.

Features of VNet Traffic Monitoring

Flow Logs: Capture information about the IP traffic going to and from network interfaces in a VNet.

NSG Flow Logs: View logs for denied traffic by using Network Watcher’s NSG flow logs capability.

Azure Monitor for VMs: Collect VM performance and activity data at scale to monitor the health and availability of your VMs.

Azure Monitor Logs: Collect and analyze activity and diagnostic logs from Azure resources to help you understand how they’re being used.

There are two types of traffic that can flow in and out of a VNet:

East-west traffic: This refers to the communication between VMs within the same VNet, regardless of whether they’re in the same region or different regions.

North-south traffic: This refers to the communication between a VM in a VNet and resources outside the VNet, such as internet resources, on-premises locations, or other Azure VNets.

How does the Creating VNet in Azure?

Step 1: 1 Go to the Azure portal and search for Vnet and open the virtual network.

Step 2: Now click on create new virtual network but before this, you should have a plan of your network requirement and what CIDR range you want to use.

Step 3: Select subscription and resource group and add the name. Go next to security.

Step 4: Add security parameters according to your network’s need for DDOS. Click on next.

Step 5: Add CIDR range according to your need and remove or delete the default one then click on review and create. If you need a tag then add it to validate passed and VNET will be created.

Step 6: Now that VNET is created open it and check.

It takes a few minutes to create the VNet. You see it in the list of resources on the left side of the portal. Select the resource to open its overview page.

How does VNet work in different Resource groups and Zones?

You can create a VNet in any resource group within your Azure subscription. After you create it, you can move resources into or out of the VNet without affecting other resources in the resource group.

When you deploy a VM or other workloads into a VNet, you can optionally place them in an availability zone for added resiliency.

Limitations of VNet

  • The maximum number of VMs per VNet is 100.
  • The maximum number of address spaces that can be assigned to a VNet is 200.
  • The maximum number of route tables per VNet is 100.
  • The maximum number of network security groups per VNet is 100.
  • The maximum number of security rules per network security group is 200.
  • The maximum number of virtual networks that can be peered at with a given VNet is 100.
  • The maximum number of inbound and outbound rules per load balancer is 650.
  • The maximum number of public IP addresses per load balancer is 150.
  • The maximum number of load balancers per VNet is 10.
  • The maximum number of application gateways per VNet is 5.
  • The maximum number of VPN gateways per VNet is 2.
  • The maximum number of Azure Firewalls per VNet is 4.

Where this shows up in real life

Virtual Network in Azure and How Do Create VNet? sounds abstract until you meet it in a normal setup. Take the sections above on What is Default VNet? and Features of VNet Traffic Monitoring: every one of them maps to a device or a setting you can point at. Once you can point at it, the idea stops being theory.

The test is simple. Can you explain it to someone in two sentences, using your own network as the example? If yes, you understand it. If not, re-read the part where you got stuck, not the whole article.

The parts people mix up

  • Names that sound alike. Networking is full of terms that differ by one word and mean different things. When two ideas blur together, write both definitions side by side. The difference is usually one sentence.
  • What it does versus what it is called. Product names and protocol names get used loosely. Trust the function, not the label.
  • Old rules that no longer apply. Advice from ten years ago still circulates. Check whether it matches current hardware before you follow it.

When does this actually matter?

Not every day. Virtual Network in Azure and How Do Create VNet? matters on three occasions: when something breaks, when you buy equipment, and when you plan a change. Knowing it before those moments is what turns a two-hour problem into a ten-minute fix.

What to learn next

Pick the topic that connects directly to this one, not a random next article. Knowledge in networking compounds: each idea makes the next one easier, but only if the two are actually connected. The related articles at the end of this page are the right place to look.

🧠 Quick Check — Test Yourself

Can you explain this topic to someone else in 30 seconds? If not, re-read the key takeaways above.

What should you remember most?

The core concepts in the takeaways box above. Bookmark this page and come back when you need a refresher.

JA
Written by

Jaspreet Singh

Hey! I'm Jaspreet Singh and I completed a degree in Bachelor of Computer Applications. I have 7+ years of experience in the Network & Security Domain as well as the Cloud Infra Domain. So I love to explore my technical knowledge with you.

Leave a Reply

Your email address will not be published. Required fields are marked *