Overview
In this project I extended an existing Azure network. I added a subnet and created a separate branch virtual network, then connected the two with peering in both directions. I configured security rules, static private and public IP addresses, a route table with my own routes, a service endpoint for Azure Storage and a private DNS zone linked to the network. I also deployed a Standard Load Balancer and enabled Network Watcher in East Asia. I checked the setup in the portal, Azure CLI and PowerShell.
What I set out to do
- Extend an existing network with a new subnet and a branch network.
- Control traffic with NSG rules and custom routes.
- Add private name resolution, a storage service endpoint and load balancing.
What I did
- I created the extra subnet and the branch virtual network.
- I set up peering between the main and branch networks in both directions.
- I configured nsg-branch-1 with a rule that blocks RDP and a rule that allows HTTPS.
- I set the static private IP 10.20.1.10 and added a Standard public IP.
- I created the route table rt-branch-1 with a route that blocks 192.0.2.0/24 and attached it to snet-branch-1.
- I enabled the Microsoft.Storage service endpoint on the branch subnet.
- I created the private DNS zone lab.inno.internal and linked it to the network.
- I deployed the Standard Load Balancer lb-branch-1 with a TCP health probe and an HTTP rule on port 80.
Screenshots
They are in the same order as in my repository. Click one to see it full size.
I painted over my Azure subscription ID in red. Everything else is as I captured it.
1. Additional Subnet ConfigurationShows the creation of an additional subnet in the existing virtual network. 2. Subnet CLI and PowerShell VerificationShows the subnet address ranges retrieved and verified using Azure CLI and PowerShell. 3. Branch Network DeploymentShows the deployment of the branch virtual network and its subnet. 4. Bidirectional VNet PeeringShows the peering configuration connecting the main virtual network and the branch virtual network. 5. Network Security Group RulesShows the custom inbound security rules configured on `nsg-branch-1`, including the RDP deny and HTTPS allow rules. 6. Static Private IP ConfigurationShows the static private IP address `10.20.1.10` assigned to the branch network interface. 7. Public IP ConfigurationShows the Standard public IP address created for the branch networking environment. 8. Private IP CLI and PowerShell VerificationShows the network interface configuration and verification of its static private IP address using Azure CLI and PowerShell. 9. User-Defined Route ConfigurationShows the custom route configured to block traffic destined for `192.0.2.0/24`. 10. Route Table DeploymentShows the deployed route table `rt-branch-1` and its configuration. 11. Route Table Subnet AssociationShows the association of the route table with `snet-branch-1`. 12. Storage Service Endpoint ConfigurationShows the Microsoft.Storage service endpoint selected for the branch subnet. 13. Private DNS Zone and VNet LinkShows the private DNS zone `lab.inno.internal` and its virtual network link. 14. Azure Load Balancer ConfigurationShows the deployed Standard Load Balancer `lb-branch-1`, its frontend public IP, backend pool and configured health probe and load-balancing rule. 15. Load Balancer Health Probe and RuleShows the TCP health probe and HTTP port 80 load-balancing rule configured on the Load Balancer. 16. Azure Network WatcherShows the enabled Network Watcher resource in the East Asia region.
How I tested it
- I confirmed the subnet ranges and the static private IP with Azure CLI and PowerShell.
- Network Watcher showed as enabled in East Asia.
Repository
My full notes and the original screenshots are on GitHub: azure-administrator-labs/05-virtual-networking