100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
Azure

Azure Virtual Networks

Learn how Azure Virtual Networks (VNets) provide isolated, private IP address spaces for your cloud resources, and how peering and hybrid connectivity link them together.

NetworkingBeginner9 min readJul 10, 2026
Analogies

What Is an Azure Virtual Network?

An Azure Virtual Network (VNet) is a logically isolated slice of the Azure network fabric that you control: you define its private IP address space using CIDR notation (for example 10.0.0.0/16), and every resource you place inside it -- VMs, App Service instances with VNet integration, Azure Kubernetes Service nodes -- gets a private IP from that space. A VNet is scoped to a single region and a single subscription (though it can be shared across subscriptions via Azure Lighthouse or RBAC), and by default resources inside it can reach the internet outbound but are not reachable from the internet inbound unless you explicitly open a path with a public IP, load balancer, or NAT gateway.

🏏

Cricket analogy: Just as a franchise like Mumbai Indians controls its own squad roster and training ground separate from every other IPL team, a VNet gives your resources a private numbering scheme that no other subscription's VNet can see or collide with unless you deliberately connect them.

Address Spaces and IP Planning

Because a VNet's address space is private, it should be carved out of the RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16) and planned deliberately across your organization before deployment, since overlapping ranges between VNets are the single most common blocker to future connectivity. A /16 VNet (10.0.0.0/16) gives you 65,536 addresses to subdivide, and Azure reserves the first four and last address of every subnet for its own use (network address, default gateway, two DNS mappings, and broadcast), so a /24 subnet that looks like it has 256 addresses really yields 251 usable ones. Good practice is to size address spaces generously per region or environment (dev, staging, prod) up front, because resizing a VNet's address space later, while technically possible via the portal or CLI, can be disruptive if subnets and peerings already depend on the existing layout.

🏏

Cricket analogy: It's like a tournament organizer pre-allocating jersey number ranges to each franchise before the auction -- if Chennai Super Kings and Kolkata Knight Riders both hand out numbers 1 through 30 without coordination, you get chaos the moment players are compared across teams, just as overlapping CIDR blocks collide.

VNet Peering

VNet peering connects two virtual networks so resources in each can communicate using private IP addresses as if they were on the same network, with traffic routed over Microsoft's backbone rather than the public internet. Peering can be regional or global (across Azure regions), and it is non-transitive by default: if VNet A peers with VNet B, and VNet B peers with VNet C, resources in A cannot reach C unless A and C are also directly peered. Peering also does not require overlapping-free but literally requires non-overlapping address spaces -- Azure will reject the peering request outright if the two VNets' CIDR ranges intersect -- and each side can independently choose to allow or block forwarded traffic, gateway transit, and virtual network access from the peered side.

🏏

Cricket analogy: It's like two IPL franchises agreeing to a direct player-loan arrangement for a season -- Mumbai Indians can loan a player to Chennai Super Kings, but that doesn't automatically let a third franchise Chennai has a separate loan deal with borrow that same player through Mumbai.

Connectivity Beyond the VNet

For hybrid connectivity back to on-premises datacenters, Azure offers a Site-to-Site VPN Gateway (encrypted IPsec tunnel over the public internet, good for moderate throughput) or ExpressRoute (a private, dedicated circuit through a connectivity provider that bypasses the public internet entirely, offering higher bandwidth and more predictable latency for production workloads). For reaching Azure PaaS services like Storage or SQL Database privately, Service Endpoints extend the VNet's identity to the service (traffic still traverses the Microsoft backbone but the service's public endpoint is used with source restricted to the VNet), while Private Link/Private Endpoint goes further by injecting an actual private IP from your subnet into the PaaS service, making it appear as a first-class member of your VNet and eliminating public exposure entirely.

🏏

Cricket analogy: It's like the difference between chartering a private flight for a team's away tour (ExpressRoute -- dedicated, predictable, no queuing with other passengers) versus flying commercial but with a fast-track pass (VPN Gateway -- still shared infrastructure, just an encrypted, prioritized lane).

bash
# Create a resource group, VNet with two address spaces, and a subnet using Azure CLI
az group create --name rg-network-demo --location eastus

az network vnet create \
  --resource-group rg-network-demo \
  --name vnet-hub \
  --address-prefixes 10.0.0.0/16 \
  --subnet-name snet-workload \
  --subnet-prefixes 10.0.1.0/24

# Peer this VNet with a spoke VNet (run the reciprocal command on the spoke side too)
az network vnet peering create \
  --name hub-to-spoke \
  --resource-group rg-network-demo \
  --vnet-name vnet-hub \
  --remote-vnet vnet-spoke \
  --allow-vnet-access true \
  --allow-forwarded-traffic true

Azure automatically reserves 5 IP addresses in every subnet: the network address (.0), two addresses for Azure DNS (.1 and .2), the default gateway (.3), and the broadcast address (the last address in the range). Plan subnet sizing with this overhead in mind -- a /28 subnet has 16 addresses on paper but only 11 usable.

VNet peering will fail outright if the two virtual networks have overlapping or intersecting address spaces, even partially. Always reserve non-overlapping CIDR blocks across your entire organization's hub-and-spoke topology before creating VNets, because re-addressing a VNet after workloads and peerings are established is disruptive and often requires resource recreation.

  • A VNet is a private, region-scoped IP address space (CIDR block) that isolates your Azure resources from other subscriptions by default.
  • Address spaces should come from RFC 1918 private ranges and be planned org-wide to avoid overlap, since overlapping CIDRs block peering.
  • Azure reserves 5 IP addresses per subnet (network, 2x DNS, gateway, broadcast), reducing usable address count below the raw subnet size.
  • VNet peering routes traffic over Microsoft's backbone using private IPs but is non-transitive by default -- A-to-B and B-to-C peering does not grant A-to-C access.
  • ExpressRoute provides a private, dedicated, high-bandwidth circuit to on-premises bypassing the public internet; VPN Gateway provides an encrypted IPsec tunnel over the public internet.
  • Service Endpoints restrict a PaaS service's public endpoint to your VNet's identity; Private Link/Private Endpoint injects a private IP for the PaaS service directly into your subnet.

Practice what you learned

Was this page helpful?

Topics covered

#Azure#AzureFundamentalsStudyNotes#CloudComputing#AzureVirtualNetworks#Virtual#Networks#Network#Address#StudyNotes#SkillVeris

Frequently Asked Questions

21 categories · pick one to explore

Where can I get free study notes for programming and tech subjects?
SkillVeris offers completely free study notes covering programming and tech subjects, with no signup fees or paywalls. The notes are structured by course and topic, written for quick understanding, and enriched with the Learn Through Hobbies analogy method, so you can revise concepts through cricket, music, gaming, cooking and more.
Are SkillVeris study notes good for exam revision?
Yes, the study notes are designed for efficient revision: each topic answers its heading immediately, keeps explanations concise, and links to related glossary terms and cheat sheets. Students preparing for university exams or certification tests use them as quick revision notes because they distil concepts without the padding of full textbooks.
What subjects do the free study notes cover?
The study notes span the platform's main domains, including AI and machine learning, Python and programming, web development, DevOps, cloud, security and databases. Coverage mirrors the 37 live courses, so notes exist for the topics you are actually studying, and new note sets are added as courses launch.
How are SkillVeris study notes different from regular textbooks?
The notes are answer-first, concise and free, whereas textbooks are long and often expensive. Each section explains one concept directly, then reinforces it through selectable hobby analogies like cricket or cooking. Notes also cross-link to the glossary, blog and cheat sheets, letting you jump to related material instantly instead of flipping pages.
Can I use the developer study material without creating an account?
The study notes are free to access, and SkillVeris does not charge anything for its developer study material at any point. Browsing notes is straightforward from the Study Notes section, and if you want progress tracking, certificates and AI Mentor conversations tied to your learning, a free account unlocks those extras.
Do the study notes explain concepts with analogies?
Yes, this is a signature SkillVeris feature. Study notes use the Learn Through Hobbies method, explaining technical concepts through analogies from twelve domains including cricket, music, gaming, photography, travel, movies, fitness, chess, cooking, finance, business and sports. You can switch the analogy domain instantly to whichever hobby makes the concept click.
Are the revision notes suitable for last-minute exam preparation?
Yes, revision notes on SkillVeris work well for last-minute preparation because every section states the answer in its first sentences, so skimming is genuinely effective. Pair them with the relevant cheat sheet for formulas and syntax, and use the glossary for any unfamiliar term you meet while cramming.
Is there free study material for AI and machine learning?
Yes, SkillVeris provides free study notes across its AI and ML catalogue, covering Python for AI, deep learning frameworks like PyTorch and TensorFlow, Hugging Face Transformers, Large Language Models, RAG, AI agents and MLOps. All of it is free, making it a strong resource for Indian students and global learners alike.
Can beginners understand the study notes, or are they for experts?
Beginners can absolutely use them. The notes are written in plain language, define terms as they appear, and lean on hobby analogies to make abstract ideas concrete. Difficulty scales with the underlying course level, so beginner-course notes stay gentle while advanced-course notes go deeper, and the glossary supports you throughout.
How do study notes connect with SkillVeris courses?
Study notes are organised by course and topic, so they map directly to the structured courses and their 24–40-lesson curriculum. Many learners study a lesson first, then use the matching notes for revision before module assessments and the final exam, where 80 percent is required to pass and earn the certificate.
Are there study notes for Python specifically?
Yes, Python is well covered through notes tied to the Python-focused courses, including Python for AI and ML. Topics span fundamentals through applied machine learning usage. You can reinforce the notes with Python practice in Code Lab, which runs code in your browser with no installation required.
Do the study notes include code examples?
Yes, study notes include code examples wherever a concept is best shown in code, alongside explanations, key points and analogies. Reading a snippet in the notes and then reproducing it yourself in Code Lab is an effective loop, since Code Lab lets you run code in the browser across six languages.
How often is new study material added to SkillVeris?
Study material grows alongside the course catalogue. Whenever new courses join the platform's 37 live courses, matching study notes, glossary entries and cheat sheets are added so the resources stay in sync. Existing notes are also refined over time, so it is worth revisiting topics you studied earlier.
Can I use SkillVeris notes to prepare for technical interviews?
Yes, the notes make excellent interview revision because they compress each concept into direct, answer-first explanations, which mirrors how you should answer interview questions. Combine them with the SkillVeris interview questions feature, which includes readiness scoring, to test whether your revision has actually made you interview-ready.
Are the study notes mobile-friendly for studying on the go?
Yes, the study notes are built to load fast and read comfortably on mobile devices, so you can revise during a commute or between classes. Sections are short and answer-first, which suits small screens, and analogy switching works on mobile too, letting you study anywhere without carrying books.
What is the difference between study notes and cheat sheets?
Study notes explain concepts in depth with context, examples and analogies, making them ideal for learning and revision. Cheat sheets are compact quick-reference summaries of syntax, commands and key facts, ideal once you already understand a topic. Most learners study the notes first, then keep the cheat sheet handy while coding.
Do study notes help if I am stuck on a course lesson?
Yes, reading the matching study notes often clarifies a lesson because the same concept is explained from a different angle, frequently with a different analogy. If you are still stuck, ask the AI Mentor, which answers 24/7 at Quick, Detailed or Deep-dive depth until the idea genuinely makes sense.
Is there free study material for DevOps and cloud topics?
Yes, SkillVeris carries free study notes for DevOps and cloud topics as part of its coverage across 37 live courses. The material suits learners following the DevOps Engineer or Cloud Engineer paths, and it links to related glossary terms and cheat sheets so you can revise the whole toolchain in one place.
Can school or college students in India use these notes for projects?
Yes, students across India and worldwide use SkillVeris notes for coursework, projects and exam preparation, and everything is free, which matters for student budgets. The notes explain concepts clearly enough to cite in project reports, and Code Lab lets you prototype the project code directly in your browser.
How should I combine study notes with other SkillVeris resources?
A proven loop: learn from a course lesson, revise with the matching study notes, look up unfamiliar terms in the glossary, keep the cheat sheet open while practising in Code Lab, and quiz yourself with interview questions. The AI Mentor fills any remaining gaps 24/7, at whatever depth you need.

What Learners Say

Real journeys from the SkillVeris community — swipe for more.

SkillVeris taught me Python through Cricket. Now I’m building real projects and feeling confident!
Arjun S. · B.Tech Student
The best platform for hobby-based learning. Concepts finally stick.
Priya R. · Data Analyst
I went from zero coding to a portfolio of projects — all by learning through my love for gaming. Landed my first internship!
Kabir M. · CS Undergraduate
Trending Topics50 popular tags — tap to explore
Trending CoursesAll 37 free courses — tap to browse