0
0
Azurecloud~30 mins

Subnets within a VNet in Azure - Mini Project: Build & Apply

Choose your learning style9 modes available
Subnets within a VNet
📖 Scenario: You are setting up a simple network in Microsoft Azure. You want to create a Virtual Network (VNet) and divide it into smaller parts called subnets. This helps organize and secure your cloud resources.
🎯 Goal: Create an Azure Virtual Network named myVNet with the address space 10.0.0.0/16. Then create two subnets inside this VNet: subnetA with address prefix 10.0.1.0/24 and subnetB with address prefix 10.0.2.0/24.
📋 What You'll Learn
Create a Virtual Network resource named myVNet with address space 10.0.0.0/16.
Create a subnet named subnetA with address prefix 10.0.1.0/24 inside myVNet.
Create a subnet named subnetB with address prefix 10.0.2.0/24 inside myVNet.
💡 Why This Matters
🌍 Real World
Organizing cloud resources into subnets helps manage security and traffic flow in real Azure environments.
💼 Career
Understanding how to configure VNets and subnets is essential for cloud engineers and network administrators working with Azure.
Progress0 / 4 steps
1
Create the Virtual Network
Create an Azure Virtual Network resource named myVNet with the address space 10.0.0.0/16. Use the addressSpace property to set the address range.
Azure
Need a hint?

Use the addressSpace property inside properties to set the VNet's address range.

2
Add the first subnet
Add a subnet named subnetA with address prefix 10.0.1.0/24 inside the subnets list of myVNet. Add it as an object with name and properties.addressPrefix.
Azure
Need a hint?

Add the subnet object inside the subnets array with the correct name and addressPrefix.

3
Add the second subnet
Add a second subnet named subnetB with address prefix 10.0.2.0/24 to the subnets list in myVNet. It should be a separate object alongside subnetA.
Azure
Need a hint?

Add the second subnet object inside the subnets array after subnetA.

4
Complete the VNet configuration
Ensure the full Azure Virtual Network JSON includes myVNet with address space 10.0.0.0/16 and both subnets subnetA and subnetB with their correct address prefixes. This is the final complete configuration.
Azure
Need a hint?

Review the full JSON to confirm all parts are included and correctly named.