Back to BlogAzure Cloud

Azure Virtual Network Setup: Beginner's Practical Guide UK 2026

13 October 2026 6 min read
Photo by Firosnv. Photography on Unsplash
Want to build a career in IT or Microsoft 365?

Take the free IT Readiness Test and see where you stand, 10 quick questions.

Take the free test

Why Your First Azure Network Matters

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.

What Is an Azure Virtual Network, Really?

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.

Step 1: Plan Your IP Address Space

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:

  • 10.0.0.0/8 (gives you 16 million addresses, used by larger enterprises)
  • 172.16.0.0/12 (used by mid-sized organisations)
  • 192.168.0.0/16 (used by smaller setups or lab environments)
  • 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.

    Step 2: Create Subnets Within Your VNet

    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:

  • Web tier (10.0.1.0/24): Your public-facing web servers. 254 usable addresses.
  • Application tier (10.0.2.0/24): Your business logic. Not directly internet-facing.
  • Database tier (10.0.3.0/24): Your databases. Only the app tier can talk to this.
  • 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.

    Step 3: Configure Network Security Groups

    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:

  • Allow HTTP (port 80) from anywhere
  • Allow HTTPS (port 443) from anywhere
  • Deny everything else
  • Application tier NSG inbound rules:

  • Allow traffic from the web tier only (10.0.1.0/24)
  • Deny everything else
  • Database tier NSG inbound rules:

  • Allow database traffic (e.g. port 1433 for SQL Server) from the app tier only (10.0.2.0/24)
  • Deny everything else
  • 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.

    Step 4: Deploy and Test Connectivity

    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.

    Common Beginner Mistakes to Avoid

    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.

    What Comes Next After Your First VNet

    Once you've deployed your first VNet and tested connectivity:

  • Learn about Azure Bastion (secure remote access without exposing RDP or SSH to the internet)
  • Explore VNet peering (connecting multiple VNets securely)
  • Set up Azure Firewall or third-party firewalls for more advanced threat protection
  • Learn about Azure DDoS Protection
  • Implement Azure Policy to enforce consistent network configuration across your organisation
  • These are the skills that take you from "I've built a VNet" to "I'm responsible for network security across 200+ Azure resources."

    Your Path Forward

    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.

    Frequently asked questions

    How many subnets should I create in my first VNet?

    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.

    Can I change my subnet address range after deployment?

    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.

    Do I need a separate NSG for every subnet?

    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.

    What's the difference between a Network Security Group and an Azure Firewall?

    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.

    How do I know if my VNet is secure?

    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.

    Ready to start your IT career?

    SmoothOps 365 runs live instructor-led training every Saturday and Sunday. 3 months. 50 contact hours. Keep your job while you train.