Azure VNet Deployment
Objective
Design and deploy an Azure Virtual Network with subnets.
Tools & Technologies
Azure VNetAzure CLIsubnets
Key Commands
az network vnet create --name MyVNet --address-prefix 10.0.0.0/16az network vnet subnet create --name WebSubnet --address-prefix 10.0.1.0/24az network vnet peering createLab Steps
01
VNet Creation
Create a VNet with custom address space using Azure CLI.
02
Subnet Design
Design and create subnets for different tiers (web, app, db).
03
VNet Peering
Configure peering between two VNets in the same region.
04
DNS Settings
Configure custom DNS servers for the VNet.
Challenges Encountered
- Overlapping address spaces break VNet peering
- Subnets cannot overlap within a VNet
Key Takeaways
- Plan address space before deployment — cannot be changed easily after
- Use /24 subnets unless you specifically need smaller or larger