Skip to content

Commit 4a6996b

Browse files
author
Michael Bender
committed
remove bad commit changes
1 parent 39f1560 commit 4a6996b

File tree

1 file changed

+46
-54
lines changed

1 file changed

+46
-54
lines changed

articles/virtual-network-manager/tutorial-create-secured-hub-and-spoke.md

Lines changed: 46 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: 'Tutorial: Create a secured hub and spoke network'
3-
description: In this tutorial, you learn how to create a hub and spoke network topology for your virtual networks using Azure Virtual Network Manager. Then you secure your network by blocking outbound traffic on ports 80 and 443.
3+
description: In this tutorial, you learn how to create a hub and spoke network with Azure Virtual Network Manager. Then you secure all your virtual networks with a security policy.
44
author: mbender-ms
55
ms.author: mbender
66
ms.service: virtual-network-manager
77
ms.topic: tutorial
8-
ms.date: 04/14/2023
9-
ms.custom: FY23 content-maintenance, engagement-FY23
8+
ms.date: 03/22/2023
9+
ms.custom: FY23 content-maintenance
1010
---
1111

1212
# Tutorial: Create a secured hub and spoke network
@@ -36,7 +36,7 @@ In this tutorial, you learn how to:
3636

3737
## Create virtual networks
3838

39-
This procedure walks you through creating three virtual networks that will be connected using the hub and spoke network topology.
39+
This procedure walks you through creating three virtual networks. One is in the *West US* region and the other two are in the *East US* region.
4040

4141
1. Sign in to the [Azure portal](https://portal.azure.com/).
4242

@@ -49,34 +49,38 @@ This procedure walks you through creating three virtual networks that will be co
4949
| Setting | Value |
5050
| ------- | ----- |
5151
| Subscription | Select the subscription you want to deploy this virtual network into. |
52-
| Resource group | Select or create a new resource group to store the virtual network. This quickstart uses a resource group named **rg-learn-eastus-001**. |
53-
| Name | Enter **vnet-learn-prod-eastus-001** for the virtual network name. |
54-
| Region | Select the **East US** region. |
52+
| Resource group | Select or create a new resource group to store the virtual network. This quickstart uses a resource group named **myAVNMResourceGroup**. |
53+
| Name | Enter **VNet-A-WestUS** for the virtual network name. |
54+
| Region | Select the **West US** region. |
5555

5656
1. Select **Next: IP Addresses** and configure the following network address space:
5757

5858
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/create-hub-vnet-addresses.png" alt-text="Screenshot of IP addresses tab for hub and spoke virtual network.":::
5959

6060
| Setting | Value |
6161
| -------- | ----- |
62-
| IPv4 address space | Enter **10.0.0.0/16** as the address space. |
62+
| IPv4 address space | Enter **10.3.0.0/16** as the address space. |
6363
| Subnet name | Enter the name **default** for the subnet. |
64-
| Subnet address space | Enter the subnet address space of **10.0.0.0/24**. |
64+
| Subnet address space | Enter the subnet address space of **10.3.0.0/24**. |
6565

6666
1. Select **Review + create** and then select **Create** to deploy the virtual network.
6767

6868

6969
1. Repeat steps 2-5 to create two more virtual networks into the same resource group with the following information:
7070

71+
**Second virtual network**:
72+
* Name: **VNet-A-EastUS**
73+
* Region: **East US**
74+
* IPv4 address space: **10.4.0.0/16**
75+
* Subnet name: **default**
76+
* Subnet address space: **10.4.0.0/24**
7177

72-
| Setting | Value |
73-
| ------- | ----- |
74-
| Subscription | Select the same subscription you selected in step 3. |
75-
| Resource group | Select the **rg-learn-eastus-001**. |
76-
| Name | Enter **vnet-learn-prod-eastus-002** and **vnet-learn-hub-eastus-001** for each additional virtual network. |
77-
| Region | Select **(US) East US** |
78-
| vnet-learn-prod-eastus-002 IP addresses | IPv4 address space: 10.1.0.0/16 </br> Subnet name: default </br> Subnet address space: 10.1.0.0/24|
79-
| vnet-learn-hub-eastus-001 IP addresses | IPv4 address space: 10.2.0.0/16 </br> Subnet name: default </br> Subnet address space: 10.2.0.0/24|
78+
**Third virtual network**:
79+
* Name: **VNet-B-EastUS**
80+
* Region: **East US**
81+
* IPv4 address space: **10.5.0.0/16**
82+
* Subnet name: **default**
83+
* Subnet address space: **10.5.0.0/24**
8084

8185
## Deploy a virtual network gateway
8286

@@ -92,14 +96,14 @@ Deploy a virtual network gateway into the hub virtual network. This virtual netw
9296
| Setting | Value |
9397
| -------- | ----- |
9498
| Subscription | Select the subscription you want to deploy this virtual network into. |
95-
| Name | Enter **gw-learn-hub-eastus-001** for the virtual network gateway name. |
99+
| Name | Enter **VNet-A-WestUS-GW** for the virtual network gateway name. |
96100
| SKU | Select **VpnGW1** for the SKU. |
97101
| Generation | Select **Generation1** for the generation. |
98-
| Virtual network | Select the **vnet-learn-hub-eastus-001** for the VNet. |
99-
| Public IP address name | Enter the name **gwpip-learn-hub-eastus-001** for the public IP. |
102+
| Virtual network | Select the **VNet-A-WestUS** for the VNet. |
103+
| Public IP address name | Enter the name **VNet-A-WestUS-GW-IP** for the public IP. |
100104

101105

102-
1. Select **Review + create** and then select **Create** after validation has passed. The deployment of a virtual network gateway can take about 30 minutes. You can move on to the next section while waiting for this deployment to complete. However, you may find **gw-learn-hub-eastus-001** doesn't display that it has a gateway due to timing and sync across the Azure portal.
106+
1. Select **Review + create** and then select **Create** after validation has passed. The deployment of a virtual network gateway can take about 30 minutes. You can move on to the next section while waiting for this deployment to complete. However, you may find **VNet-A-WestUS-GW** doesn't display that it has a gateway due to timing and sync across the Azure portal.
103107

104108
## Create a dynamic network group
105109

@@ -115,7 +119,7 @@ Deploy a virtual network gateway into the hub virtual network. This virtual netw
115119

116120
| Setting | Value |
117121
| ------- | ----- |
118-
| Name | Enter **ng-learn-prod-eastus-001** for the network group name. |
122+
| Name | Enter **myNetworkGroupB** for the network group name. |
119123
| Description | Provide a description about this network group. |
120124

121125
1. Select **Create** to create the virtual network group.
@@ -134,46 +138,44 @@ Deploy a virtual network gateway into the hub virtual network. This virtual netw
134138

135139
| Setting | Value |
136140
| ------- | ----- |
137-
| Policy name | Enter **azpol-learn-prod-eastus-001** in the text box. |
141+
| Policy name | Enter **VNetAZPolicy** in the text box. |
138142
| Scope | Select **Select Scopes** and choose your current subscription. |
139143
| Criteria | |
140144
| Parameter | Select **Name** from the drop-down.|
141145
| Operator | Select **Contains** from the drop-down.|
142-
| Condition | Enter **-prod** for the condition in the text box. |
146+
| Condition | Enter **-EastUS** to dynamically add the two East US virtual networks into this network group. |
143147

144-
1. Select **Preview resources** to view the **Effective virtual networks** page and select **Close**. This page shows the virtual networks that will be added to the network group based on the conditions defined in Azure Policy.
145-
1. Select **Save** to deploy the group membership. It can take up to one minute for the policy to take effect and be added to your network group.
146-
1. On the **Network Group** page under **Settings**, select **Group Members** to view the membership of the group based on the conditions defined in Azure Policy. You'll note the **Source** is listed as **azpol-learn-prod-eastus-001 - subscriptions/subscription_id**.
148+
1. Select **Save** to deploy the group membership.
149+
1. Under **Settings**, select **Group Members** to view the membership of the group based on the conditions defined in Azure Policy.
147150
:::image type="content" source="media/tutorial-create-secured-hub-and-spoke/group-members-dynamic-thumb.png" alt-text="Screenshot of dynamic group membership under Group Membership." lightbox="media/tutorial-create-secured-hub-and-spoke/group-members-dynamic.png":::
148-
149151
## Create a hub and spoke connectivity configuration
150152

151-
1. Select **Configurations** under **Settings**, then select **+ Create**.
153+
1. Select **Configuration** under *Settings*, then select **+ Add a configuration**. Select **Connectivity** from the drop-down menu.
152154

153-
1. Select **Connectivity configuration** from the drop-down menu to begin creating a connectivity configuration.
155+
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration-dropdown.png" alt-text="Screenshot of configuration drop-down menu.":::
154156

155-
1. On the **Basics** page, enter the following information, and select **Next: Topology >**.
157+
1. On the **Basics** tab, enter and select the following information for the connectivity configuration:
156158

157-
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration.png" alt-text="Screenshot of add a connectivity configuration page.":::
159+
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/connectivity-configuration.png" alt-text="Screenshot of add a connectivity configuration page.":::
158160

159161
| Setting | Value |
160162
| ------- | ----- |
161-
| Name | Enter **cc-learn-prod-eastus-001**. |
162-
| Description | *(Optional)* Provide a description about this connectivity configuration. |
163+
| Name | Enter **HubA** for the name of the configuration |
164+
| Description | Provide a description about what this connectivity configuration will do. |
163165

164166

165-
1. On the **Topology** tab, select **Hub and Spoke**. This will reveal other settings.
167+
1. Select **Next: Topology >**. Select **Hub and Spoke** under the **Topology** setting. This will reveal other settings.
166168

167169
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/hub-configuration.png" alt-text="Screenshot of selecting a hub for the connectivity configuration.":::
168170

169-
1. Select **Select a hub** under **Hub** setting. Then, select **vnet-learn-hub-eastus-001** to serve as your network hub and select **Select**.
171+
1. Select **Select a hub** under **Hub** setting. Then, select **VNet-A-WestUS** to serve as your network hub and select **Select**.
170172

171173
:::image type="content" source="media/tutorial-create-secured-hub-and-spoke/select-hub.png" alt-text="Screenshot of Select a hub configuration.":::
172174

173175
> [!NOTE]
174176
> Depending on the timing of deployment, you may not see the target hub virtual networked as have a gateway under **Has gateway**. This is due to the deployment of the virtual network gateway. It can take up to 30 minutes to deploy, and may not display immediately in the various Azure portal views.
175177
176-
1. Under **Spoke network groups**, select **+ add**. Then, select **ng-learn-prod-eastus-001** for the network group and select **Select**.
178+
1. Under **Spoke network groups**, select **+ add**. Then, select **myNetworkGroupB** for the network group and select **Select**.
177179

178180
:::image type="content" source="media/tutorial-create-secured-hub-and-spoke/select-network-group.png" alt-text="Screenshot of Add network groups page.":::
179181

@@ -197,34 +199,24 @@ Make sure the virtual network gateway has been successfully deployed before depl
197199

198200
:::image type="content" source="./media/create-virtual-network-manager-portal/deployments.png" alt-text="Screenshot of deployments page in Network Manager.":::
199201

200-
1. Select the following settings:
201-
202-
:::image type="content" source="./media/create-virtual-network-manager-portal/deploy-configuration.png" alt-text="Screenshot of deploy a configuration page.":::
203-
204-
| Setting | Value |
205-
| ------- | ----- |
206-
| Configurations | Select **Include connectivity configurations in your goal state** . |
207-
| Connectivity configurations | Select **cc-learn-prod-eastus-001**. |
208-
| Target regions | Select **East US** as the deployment region. |:
209-
202+
1. Select **Include connectivity configurations in your goal state** and **HubA** as the **Connectivity configurations** setting. Then select **West US** and **East US** as the target regions and select **Next**.
210203

211-
1. Select **Next** and then select **Deploy** to complete the deployment.
204+
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/deploy-configuration.png" alt-text="Screenshot of deploy a configuration page.":::
212205

213-
:::image type="content" source="./media/create-virtual-network-manager-portal/deployment-confirmation.png" alt-text="Screenshot of deployment confirmation message.":::
214206

215-
1. The deployment will display in the list for the selected region. The deployment of the configuration can take a few minutes to complete.
207+
1. Select **Deploy**. You should now see the deployment show up in the list for those regions. The deployment of the configuration can take several minutes to complete.
216208

217-
:::image type="content" source="./media/create-virtual-network-manager-portal/deployment-in-progress.png" alt-text="Screenshot of configuration deployment in progress status.":
209+
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/deployment-in-progress.png" alt-text="Screenshot of deployment in progress in deployment list.":::
218210

219211
## Create security configuration
220212

221213
1. Select **Configuration** under *Settings* again, then select **+ Create**, and select **SecurityAdmin** from the menu to begin creating a SecurityAdmin configuration.
222214

223-
1. Enter the name **sc-learn-prod-eastus-001** for the configuration, then select **Next: Rule collections**.
215+
1. Enter the name **mySecurityConfig** for the configuration, then select **Next: Rule collections**.
224216

225217
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/security-admin-configuration.png" alt-text="Screenshot of Security Admin configuration page.":::
226218

227-
1. Enter the name **rc-learn-prod-eastus-001** for the rule collection and select **ng-learn-prod-eastus-001** for the target network group. Then select **+ Add**.
219+
1. Enter the name **myRuleCollection** for the rule collection and select **myNetworkGroupB** for the target network group. Then select **+ Add**.
228220

229221
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/add-rule-collection.png" alt-text="Screenshot of add a rule collection page.":::
230222

@@ -252,7 +244,7 @@ Make sure the virtual network gateway has been successfully deployed before depl
252244

253245
1. Select **Deployments** under *Settings*, then select **Deploy configurations**.
254246

255-
1. Under *Configurations*, Select **Include security admin in your goal state** and the **sc-learn-prod-eastus-001** configuration you created in the last section. Then select **East US** and **East US** as the target regions and select **Next**.
247+
1. Under *Configurations*, Select **Include security admin in your goal state** and the **mySecurityConfig** configuration you created in the last section. Then select **West US** and **East US** as the target regions and select **Next**.
256248

257249
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/deploy-security.png" alt-text="Screenshot of deploying a security configuration.":::
258250

0 commit comments

Comments
 (0)