Azure Subnet Design

Divide the VNet into subnets based on the type of resources they will host, such as networking, host types, or for growth. This will help to isolate and secure different types of traffic.

Below is an example VNet design based on what could be a typical use case for a medium-large organization. The subnets are sized according to Microsoft requirements, where documented, and split between functions such as core networking, virtual machines, databases and PaaS services. No design is perfect and allowing gaps for growth is important and sometime in the future you’re likely going to need to resize exisiting subnets or add new ones.

Example VNet address space of 10.0.0.0/20

RangeSubnetSubnet NameIPUse
10.0.0.010.0.0.0/27AzureFirewallSubnet32Core networking services
10.0.0.32/27AzureExpressRouteGateway32Core networking services
10.0.0.64/27GatewaySubnet32Core networking services
10.0.0.96/27AzureFrontDoor32Core networking services
10.0.0.128/26AzureBastionSubnet32Core networking services
10.0.0.25510.0.0.192/2632spare
10.0.1.010.0.1.0/25vmSubnet01128Virtual Machines
10.0.1.25510.0.128.0/25vmSubnet02128Virtual Machines
10.0.2.010.0.2.0/25dbSubnet01128Databases
10.0.2.25510.0.128.0/25dbSubnet02128Databases
10.0.3.010.0.3.0/24Azure Sql Managed Instances254Azure Sql Paas
10.0.4.010.0.4.0/26Azure Application Gateway/frontend62Azure App Gateway
10.0.4.64/26Azure Application Gateway/backend62Azure App Gateway
10.0.4.128/26Azure Application Gateway/management62Azure App Gateway
10.0.4.25510.0.4.192/2662unused
10.0.5.0/2410.0.5.0/24254spare
10.0.6.0/2310.0.6.0/23510spare
10.0.8.0/2110.0.8.0/212046spare

The Azure Firewall subnet is a dedicated subnet in a virtual network that is used to deploy and manage Azure Firewall.

The ExpressRoute Gateway subnet is a dedicated subnet in a virtual network that is used to host the Azure ExpressRoute Gateway, which provides dedicated private connectivity to Azure services over a private WAN connection

The Gateway Subnet is a dedicated subnet in a virtual network that is used to host the Azure Virtual Network Gateway, which provides connectivity to on-premises networks, remote sites, and other Azure services.

The Front Door subnet is a dedicated subnet in a virtual network that is used to host the Azure Front Door service, which provides global load balancing and application delivery for web applications

The Azure Bastion subnet is a dedicated subnet in a virtual network that is used to deploy and manage Azure Bastion

The SQL Managed Instance subnet is a dedicated subnet in a virtual network that is used to host the Azure SQL Managed Instance, which provides a fully managed SQL Server database engine in Azure.

The Application Gateway subnet is a dedicated subnet in a virtual network that is used to host the Azure Application Gateway, which provides application load balancing, SSL/TLS termination, and web application firewall (WAF) functionality.

Last modified July 21, 2024: update (e2ae86c)