Create hub and spoke virtual networks and subnets

Open a browser and navigate to the Azure portal and login.
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.

In the “Virtual Networks” portal pane, se…


This content originally appeared on DEV Community and was authored by stephen anosike

  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


This content originally appeared on DEV Community and was authored by stephen anosike


Print Share Comment Cite Upload Translate Updates
APA

stephen anosike | Sciencx (2024-07-12T18:00:02+00:00) Create hub and spoke virtual networks and subnets. Retrieved from https://www.scien.cx/2024/07/12/create-hub-and-spoke-virtual-networks-and-subnets/

MLA
" » Create hub and spoke virtual networks and subnets." stephen anosike | Sciencx - Friday July 12, 2024, https://www.scien.cx/2024/07/12/create-hub-and-spoke-virtual-networks-and-subnets/
HARVARD
stephen anosike | Sciencx Friday July 12, 2024 » Create hub and spoke virtual networks and subnets., viewed ,<https://www.scien.cx/2024/07/12/create-hub-and-spoke-virtual-networks-and-subnets/>
VANCOUVER
stephen anosike | Sciencx - » Create hub and spoke virtual networks and subnets. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/12/create-hub-and-spoke-virtual-networks-and-subnets/
CHICAGO
" » Create hub and spoke virtual networks and subnets." stephen anosike | Sciencx - Accessed . https://www.scien.cx/2024/07/12/create-hub-and-spoke-virtual-networks-and-subnets/
IEEE
" » Create hub and spoke virtual networks and subnets." stephen anosike | Sciencx [Online]. Available: https://www.scien.cx/2024/07/12/create-hub-and-spoke-virtual-networks-and-subnets/. [Accessed: ]
rf:citation
» Create hub and spoke virtual networks and subnets | stephen anosike | Sciencx | https://www.scien.cx/2024/07/12/create-hub-and-spoke-virtual-networks-and-subnets/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.