Create hub and spoke virtual networks and subnets

stephen anosike - Jul 12 - - Dev Community
  1. Open a browser and navigate to the Azure portal and login.

  2. To create a Virtual Network, in the search bar at the top of the
    portal type “Virtual Networks” and select “Virtual Networks” from
    the results.

Image description

  1. In the “Virtual Networks” portal pane, select ““+ Create”

Image description

  1. Click on "create new" to create a "resource group", give your resource group a name "RG1" and click "OK" to create the resource group.

  2. To create the "Virtual Network", select the "RG1" in the resource group section, give your virtual network a name "app-vnet" and select your preferred region, in our case (US) central US.

Image description

  1. To enter the IP Address range for the virtual virtual network, select "ip address" on the top, then input the ip address range in the space allocated.

Image description

  1. To create the first subnet, click on "default" enter the required information and click on "save".

Image description

  1. To create the second subnet, click on "Add a subnet" enter the required information and click on "add". Then, click on review and create and finally, click on create.

Image description

Image description

  1. To create the second virtual network, fill the required fields

Image description

  1. To create the subnet for the second virtual network, click on "ip address", click on "default" and fill the required fields and click on "add".

Image description

  1. After confirming that the subnet have been created, click on "review and create" and then click on "create".

Image description

Image description

  1. Once the deployment is complete. Navigate back to the portal, in the search bar type “resource groups” and select Resource Groups” from the results. Select on “RG1” in the main pane and comfirm both virtual networks have been deployed.

Image description

_## *Setup a peer relationship between the virtual networks
*

  1. In the Portal, in the RG1 resource group view. Select on the “app-vnet” virtual network. On the left hand side, select "setting" and on drop down click "peerings"

Image description

  1. In the app-vnet peerings pane, Select "+ Add" and fill the required fields, and click on "Add".

Image description

Image description

  1. This is to validate that the Peering status is set to Connected.

Image description

. .
Terabox Video Player