Take the free IT Readiness Test and see where you stand, 10 quick questions.
When you start learning Azure, virtual networks feel abstract until you realise they're the foundation for every single resource you'll ever deploy. Get this wrong and you're creating security holes, wasting resources, or rebuilding weeks later. Get it right, and you've built something that can support hundreds of applications without rework.
This guide walks you through a practical, real-world approach to virtual network setup that actually matches what you'll see in job interviews and on-the-job deployments across UK organisations in 2026.
An Azure virtual network (VNet) is essentially your private network in the cloud. Think of it like renting a building where you control every corridor, door, and who gets access. You define the IP address space, carve it into smaller segments (subnets), and decide which traffic is allowed in and out.
The key difference from physical networks: you're not buying cables or routers, you're defining rules and Azure handles the underlying infrastructure. That's the whole appeal for healthcare trusts, financial services, and government bodies moving to cloud in the UK right now. They get compliance-ready isolation without the hardware bill.
Before you click anything in the Azure portal, grab a piece of paper (seriously, this matters).
You need to decide on your address space, which is the range of private IP addresses your entire network will use. The standard is to use a private range from the RFC 1918 standard. Most organisations use one of these:
For your first VNet, use 10.0.0.0/16. This gives you 65,536 usable addresses and is standard enough that your team won't argue about it.
Write this down: it's your foundation.
Your VNet needs subnets. A subnet is a smaller slice of your address space. Why? Because you need different security rules for different layers of your application.
Think of a typical three-tier application:
By splitting into subnets, you can apply different security policies to each one. The database subnet can reject all inbound traffic except from the app tier. The web tier can open port 443 to the internet. The app tier stays hidden.
This is called segmentation, and it's non-negotiable in any real production deployment. Azure's Network Security Groups (which we'll cover next) enforce these rules.
A Network Security Group (NSG) is your firewall. It's a collection of rules that specify what traffic is allowed in and out of a subnet or individual network interface.
Here's the golden rule: default deny everything, explicitly allow only what you need.
When you create an NSG, it starts by blocking all inbound traffic and allowing all outbound traffic. That's correct. Then you add rules for what you actually need:
Web tier NSG inbound rules:
Application tier NSG inbound rules:
Database tier NSG inbound rules:
This layering is what separates a secure network from a compromised one. Healthcare organisations in the UK are required to demonstrate this level of control if they handle patient data.
In the Azure portal, creating a VNet takes about five minutes:
1. Go to Virtual Networks
2. Click Create
3. Name it (e.g. "prod-vnet-uk")
4. Choose your address space (10.0.0.0/16)
5. Add subnets with their own address ranges
6. Create NSGs for each subnet
7. Deploy
Once it's live, test it by deploying a test virtual machine in each subnet and verifying traffic rules work as expected. Can the app tier reach the database? Can the web tier reach the app tier? Can external traffic reach anything it shouldn't? If the answers are yes, yes, and no, you've built it right.
If you want hands-on practice with this exact scenario before your first real deployment, join our free 2-hour live session on Azure fundamentals. You'll walk through a complete VNet build in a real Azure lab, deploy test VMs, and see NSG rules in action. Book your free session here.
1. Overlapping address spaces. If you're connecting multiple VNets or linking on-premises networks, overlapping IP ranges will break peering and hybrid connections. Plan your addressing across your entire estate from day one.
2. Forgetting to specify a subnet when deploying resources. Most Azure resources require a subnet. If you don't specify one, you'll waste time debugging.
3. NSG rules that are too permissive. "Allow from 0.0.0.0/0" (anywhere) is quick but kills your security posture. Specify the exact source IP or IP range.
4. Not documenting your subnets. Six months later, you won't remember why subnet 10.0.5.0/24 exists. Write it down now.
Once you've deployed your first VNet and tested connectivity:
These are the skills that take you from "I've built a VNet" to "I'm responsible for network security across 200+ Azure resources."
Virtual networks are foundational knowledge for any Azure role in 2026. Whether you're targeting Azure Administrator roles (£45,000 to £65,000 in the UK depending on region and experience) or building towards a Cloud Solutions Architect position, this is not optional learning.
The Microsoft Azure Administrator certification specifically covers VNet design and deployment, and it's one of the most sought-after Azure credentials. If you're considering a structured path into Azure cloud roles, our Microsoft Azure Administrator Course covers virtual networks, security, compliance, and real-world deployment scenarios over 12 weeks. Most learners complete it while working part-time or on weekends.
Start with 3 to 5 subnets depending on your application architecture. A typical three-tier app needs web, application, and database subnets. You can add a fourth for management tools and a fifth for future growth. More than that gets complex to manage; fewer than that forces you to mix security zones, which weakens your network.
Not easily. Azure doesn't allow you to resize a subnet without deleting it first, which means removing all resources in it. Plan your subnets properly before you deploy. If you absolutely must change it, delete the subnet, create a new one with the new range, redeploy your resources, and update your NSG rules. This is why the planning step matters.
No, but it's best practice for anything beyond a lab environment. You can apply one NSG to multiple subnets, but that means all subnets share identical traffic rules, which often isn't what you want. For production environments, segment your NSG rules by subnet so you can enforce different policies for web, app, and database layers.
An NSG operates at the subnet or network interface level and is stateful (it remembers connections). An Azure Firewall is a managed firewall service that sits at the VNet perimeter and offers more advanced threat protection, URL filtering, and logging. Most organisations start with NSGs, then add Azure Firewall as they grow.
Run through this checklist: Does each subnet have an NSG applied? Are all NSG rules explicit (no allow from 0.0.0.0/0 except where necessary)? Are sensitive subnets (database, management) restricted to specific sources? Can you trace the data flow and justify every allow rule? If you can answer yes to all four, your foundation is solid.
SmoothOps 365 runs live instructor-led training every Saturday and Sunday. 3 months. 50 contact hours. Keep your job while you train.