Create and configure virtual networks — CoPilot Tips &…
    Neura MarketNeura Market/CoPilot
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityCoPilotCoPilot
    DeepSeekDeepSeekStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityPluginsTrending
    CoPilotBlogCreate and configure virtual networks
    Back to Blog
    Create and configure virtual networks
    azure

    Create and configure virtual networks

    Rahimah Sulayman May 25, 2026
    0 views

    Introduction Imagine migrating a critical enterprise web application to the cloud, only to...

    Introduction

    Imagine migrating a critical enterprise web application to the cloud, only to face network bottlenecks, unsegmented traffic, or exposure to the public internet. Designing a resilient, production-ready cloud environment always begins at the foundational layer: secure, scalable networking.

    In this article, I demonstrate how to architect a modern cloud infrastructure blueprint using a Hub-and-Spoke topology in Microsoft Azure. This structural design isolates workloads, enforces security boundaries, and minimizes latency.

    As a cloud professional, my focus isn't just on clicking buttons in the portal,it is on delivering architectural patterns that protect data, optimize costs, and align with the Azure Well-Architected Framework.

    Scenario Your organization is migrating a web-based application to Azure. Your first task is to put in place the virtual networks and subnets. You also need to securely peer the virtual networks. You identify these requirements.

    • Two virtual networks are required, app-vnet and hub-vnet. This simulates a hub and spoke network architecture.
    • The app-vnet will host the application. This virtual network requires two subnets. The frontend subnet will host the web servers. The backend subnet will host the database servers.
    • The hub-vnet only requires a subnet for the firewall.
    • The two virtual networks must be able to communicate with each other securely and privately through virtual network peering.
    • Both virtual networks should be in the same region.

    Skilling tasks

    • Create a virtual network.
    • Create a subnet.
    • Configure vnet peering.

    Note: To complete this lab you will need an Azure subscription with Contributor RBAC role assigned. In this lab, when you are asked to create a resource, for any properties that are not specified, use the default value.

    Create hub and spoke virtual networks and subnets

    An Azure virtual network enables many types of Azure resources to securely communicate with each other, the internet, and on-premises networks. All Azure resources in a virtual network are deployed into subnets within the virtual network.

    1.Sign in to the Azure portal - https://portal.azure.com.

    2.Search for and select Virtual Networks.

    vnet

    3.Select + Create and complete the configuration of the app-vnet.

    create

    This virtual network requires two subnets, frontend and backend.

    PropertyValue
    Resource groupRG1
    Virtual network nameapp-vnet
    RegionEast US
    IPv4 address space10.1.0.0/16
    Subnet namefrontend
    Subnet address range10.1.0.0/24
    Subnet namebackend
    Subnet address range10.1.1.0/24

    Note:Leave all other settings as their defaults.

    basicstab

    When finished select Review + create and then Create. reviewncreate create

    4.Create the Hub-vnet virtual network configuration. This virtual network has the firewall subnet.

    PropertyValue
    Resource groupRG1
    Namehub-vnet
    RegionEast US
    IPv4 address space10.0.0.0/16
    Subnet nameAzureFirewallSubnet
    Subnet address range10.0.0.0/26

    hubvnet

    subnets

    create

    5.Once the deployments are complete, search for and select your ‘virtual networks`.

    6.Verify your virtual networks and subnets were deployed.

    verify

    Configure a peer relationship between the virtual networks

    Virtual network peering enables you to seamlessly connect two or more Virtual Networks in Azure.

    1.Search for and select the app-vnet virtual network.

    2.In the Settings blade, select Peerings.

    3.+ Add a peering between the two virtual networks.

    addpeering

    PropertyValue
    Remote peering link nameapp-vnet-to-hub
    Virtual networkhub-vnet
    Local virtual network peering link namehub-to-app-vnet

    Note: Leave all other settings as their defaults. Select “Add” to create the virtual network peering.

    addpeeringdetails

    4.Once the deployment completes, verify the Peering status is Connected.

    connected

    Key takeaways

    Here are the main takeaways:

    • Azure virtual networks (VNets) provide a secure and isolated network environment for your cloud resources. You can create multiple virtual networks per region per subscription.
    • When designing virtual networks make sure the VNet address space (CIDR block) doesn’t overlap with your organization’s other network ranges.
    • A subnet is a range of IP addresses in the VNet. You can segment VNets into different size subnets, creating as many subnets as you require for organization and security within the subscription limit. Each subnet must have a unique address range.
    • Certain Azure services, such as Azure Firewall, require their own subnet.
    • Virtual network peering enables you to seamlessly connect two Azure virtual networks. The virtual networks appear as one for connectivity purposes.

    Summary

    This project isn't just about spinning up resources, it is a demonstration of secure, production-grade cloud architecture. By implementing this Hub-and-Spoke topology, I have successfully:

    1.Enforced Strict Network Isolation: Segmented the application layer into dedicated frontend and backend subnets to implement a defense-in-depth security model.

    2.Designed for Enterprise Scale: Established a central hub-vnet to allow seamless, future integration of centralized security appliances like Azure Firewall.

    3.Optimized Performance & Security: Leveraged VNet Peering to ensure high-bandwidth, low-latency communication that remains entirely off the public internet.

    I designed this infrastructure with a Zero-Trust mindset, ensuring that every deployment is scalable, compliant, and structurally aligned with enterprise security standards.

    Tags

    azuresecuritynetworkingdevops

    Comments

    More Blog

    View all
    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught megemma

    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught me

    I ported the whole Gemma-4 family — E2B, E4B, 12B, 31B, and the 26B-A4B MoE — to run on...

    X
    xbill
    Hey DEV, I'm Tobore. Let's actually connect.community

    Hey DEV, I'm Tobore. Let's actually connect.

    Hey DEV, I'm Tobore. Let's actually connect. I've been on here for a while now, mostly writing and...

    L
    Laurina Ayarah
    I burned through thousands of AI tokens. Then a friend did it for freeai

    I burned through thousands of AI tokens. Then a friend did it for free

    (yep, kinda clickbait, just for the funsies 😊) At the beginning of the year, I relaunched my...

    P
    Paulo Henrique
    Claude might be saturating your machineai

    Claude might be saturating your machine

    My laptop was sitting idle with the fan at full tilt. Nothing was running that I knew of. The culprit...

    S
    Sidhant Panda
    Automated GitHub Code Reviews Using Google Geminigithubactions

    Automated GitHub Code Reviews Using Google Gemini

    I Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...

    D
    Darren "Dazbo" Lester
    What is an "agentic harness," actually?ai

    What is an "agentic harness," actually?

    I've been hearing the word "harness" thrown around a lot lately. I assumed it just meant "the IDE" or...

    T
    Tilde A. Thurium

    Stay up to date

    Get the latest CoPilot prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for CoPilot and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this CoPilot resource

    • AI-Powered Automated Job Search & Applicationn8n · $14.99 · Related topic
    • Automatic Self-Hosted Application Updates with Coolify Deploymentsn8n · $14.99 · Related topic
    • Bitrix24 Ask Form Widget Application Workflow with Webhook Integrationn8n · $14.99 · Related topic
    • Handling Job Application Submissions with AI and N8n Formsn8n · $14.99 · Related topic
    Browse all workflows