- Lab
-
Libraries: If you want this lab, consider one of these libraries.
Build and Secure an Azure Virtual Network
In this guided Azure networking lab, you will deploy a virtual network with two subnets, run a CLI script to provision Ubuntu VMs, create subnet-level network security groups to layer on top of existing NIC-level rules, and test cross-subnet connectivity to build practical intuition for how Azure evaluates traffic across multiple NSG layers.
Lab Info
Table of Contents
-
Challenge
Deploy a Virtual Network and Provision Virtual Machines
- Deploy an Azure virtual network with two subnets designed for a web-facing tier and an application tier.
- Run a CLI script in Cloud Shell to provision two Ubuntu virtual machines with NIC-level network security groups allowing SSH access.
- Verify the deployed environment by reviewing the virtual network, subnets, VMs, and NIC-level NSGs in the Azure portal.
-
Challenge
Create Subnet-Level Network Security Groups for Layered Security
- Create subnet-level network security groups and associate them with the appropriate subnets.
- Observe how Azure evaluates inbound traffic across subnet-level and NIC-level NSGs.
- Configure inbound rules to allow SSH and HTTP traffic for the web-facing subnet while blocking all other traffic by default.
-
Challenge
Test and Troubleshoot Network Connectivity Across Subnets
- Test connectivity between virtual machines across subnets within the same virtual network.
- Use Azure's effective security rules view to understand how multiple NSG layers combine to control traffic.
- Verify that the application-tier VM is reachable only from within the virtual network and not directly from the internet.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.