Creating an Azure Virtual Network
Lab Steps
Introduction
Azure Virtual Network (VNet) is the basic building block to enable secure communication between Azure resources, the internet, and on-premises networks. It provides you with the features like - communicating from on-premises to Azure network, communicating with Azure resources and the internet, filtering network traffic, defining routes, DDoS protection, and integration with other Azure services, including but not limited to Azure Firewall and Network Security Groups.
In this lab step, you will create a new virtual network resource and understand the fundamental components required to get familiar with the network resources.
Â
Instructions
1. On the dashboard of the Azure Portal, click the menu icon on the top left -> Virtual networks:
Â
2. Click the +Create button on the top left of the window to create a new virtual network resource:
Â
3. In the Create virtual network blade that appears, enter the following values in the Basics tab, accepting the default value of any unspecified settings:
- Project Details
- Subscription:Â Choose the only available subscription from the drop-down.
- Resource Group:Â Choose the only available resource group from the drop-down.
- INSTANCE DETAILS
- Name: shared-vnet
- Region:
Â
4. Click Next: IP Addresses and review the IPv4 address space for the network:
It's worth mentioning that you can add, remove or update the address space based on your network requirements. If you want to learn more about IP addresses and CIDR notation, refer to Microsoft Docs to get familiar with the concept of subnetting.
Â
5. While on the same page, click + Add subnet button to add a new subnet for this lab step:
Â
6. Enter the following information on the Add subnet popup window and then click Add:
- Subnet name: calab-subnet
- Subnet address range: 10.0.1.0/24
Since the IP address range in the previous step was 10.0.0.0/16, you have an opportunity to create 254 usable subnets in the IP range 10.0.X.0/24 (X can be from 1.....254) before you run out of address range.
Â
7. Click Next: Security and review the configurations. Ensure that all the settings under this section are set to Disable for this lab step:
Â
8. Click Next: Tags and fill out the following tag information to easily distinguish your resource:
- Name: Department
- Value: dev
Â
9. Click Review + Create to review the settings, then click Create to start creating the virtual network resource:
Â
10. Wait for the deployment to finish as it should take only a few seconds. Click Go to resource once the deployment is complete, to review the newly created virtual network.
Â
Summary
In this lab step, you created your first Azure Virtual Network with a subnet.
Check if the Azure Virtual Network exists