Microsoft Docs Search

Azure Virtual Network Subnets

Subnets segment a virtual network (VNet) into one or more address ranges. Use subnets to organize and secure your Azure resources.

NameAddress rangeAssociated resourcesNetwork security group
frontend10.0.0.0/24App Service, Load BalancerNSG-frontend
backend10.0.1.0/24VM Scale Set, Azure Kubernetes ServiceNSG-backend
database10.0.2.0/24Azure SQL, Cosmos DBNSG-db
gateway10.0.255.0/27VPN Gateway, ExpressRouteNSG-gateway

Creating a Subnet

  1. Navigate to the Azure portal and select your virtual network.
  2. Click Subnets and then Add subnet.
  3. Provide a name, address range, and optional network security group.
  4. Click Save to create the subnet.

Best Practices