You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network-manager/tutorial-create-secured-hub-and-spoke.md
+51-43Lines changed: 51 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ In this tutorial, you learn how to:
36
36
37
37
## Create virtual networks
38
38
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.
39
+
This procedure walks you through creating three virtual networks that will be connected using the hub and spoke network topology.
40
40
41
41
1. Sign in to the [Azure portal](https://portal.azure.com/).
42
42
@@ -49,38 +49,34 @@ This procedure walks you through creating three virtual networks. One is in the
49
49
| Setting | Value |
50
50
| ------- | ----- |
51
51
| 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 **myAVNMResourceGroup**. |
53
-
| Name | Enter **VNet-A-WestUS** for the virtual network name. |
54
-
| Region | Select the **West US** region. |
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. |
55
55
56
56
1. Select **Next: IP Addresses** and configure the following network address space:
57
57
58
58
:::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.":::
59
59
60
60
| Setting | Value |
61
61
| -------- | ----- |
62
-
| IPv4 address space | Enter **10.3.0.0/16** as the address space. |
62
+
| IPv4 address space | Enter **10.0.0.0/16** as the address space. |
63
63
| Subnet name | Enter the name **default** for the subnet. |
64
-
| Subnet address space | Enter the subnet address space of **10.3.0.0/24**. |
64
+
| Subnet address space | Enter the subnet address space of **10.0.0.0/24**. |
65
65
66
66
1. Select **Review + create** and then select **Create** to deploy the virtual network.
67
67
68
68
69
69
1. Repeat steps 2-5 to create two more virtual networks into the same resource group with the following information:
70
70
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**
77
71
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**
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. |
@@ -96,14 +92,14 @@ Deploy a virtual network gateway into the hub virtual network. This virtual netw
96
92
| Setting | Value |
97
93
| -------- | ----- |
98
94
| Subscription | Select the subscription you want to deploy this virtual network into. |
99
-
| Name | Enter **VNet-A-WestUS-GW** for the virtual network gateway name. |
95
+
| Name | Enter **gw-learn-hub-eastus-001** for the virtual network gateway name. |
100
96
| SKU | Select **VpnGW1** for the SKU. |
101
97
| Generation | Select **Generation1** for the generation. |
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. |
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. |
104
100
105
101
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.
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.
107
103
108
104
## Create a dynamic network group
109
105
@@ -119,7 +115,7 @@ Deploy a virtual network gateway into the hub virtual network. This virtual netw
119
115
120
116
| Setting | Value |
121
117
| ------- | ----- |
122
-
| Name | Enter **myNetworkGroupB** for the network group name. |
118
+
| Name | Enter **ng-learn-prod-eastus-001** for the network group name. |
123
119
| Description | Provide a description about this network group. |
124
120
125
121
1. Select **Create** to create the virtual network group.
@@ -138,44 +134,46 @@ Deploy a virtual network gateway into the hub virtual network. This virtual netw
138
134
139
135
| Setting | Value |
140
136
| ------- | ----- |
141
-
| Policy name | Enter **VNetAZPolicy** in the text box. |
137
+
| Policy name | Enter **azpol-learn-prod-eastus-001** in the text box. |
142
138
| Scope | Select **Select Scopes** and choose your current subscription. |
143
139
| Criteria ||
144
140
| Parameter | Select **Name** from the drop-down.|
145
141
| Operator | Select **Contains** from the drop-down.|
146
-
| Condition | Enter **-EastUS**to dynamically add the two East US virtual networks into this network group. |
142
+
| Condition | Enter **-prod**for the condition in the text box. |
147
143
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.
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**.
150
147
:::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
+
151
149
## Create a hub and spoke connectivity configuration
152
150
153
-
1. Select **Configuration** under *Settings*, then select **+ Add a configuration**. Select **Connectivity** from the drop-down menu.
151
+
1. Select **Configurations** under **Settings**, then select **+ Create**.
154
152
155
-
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration-dropdown.png" alt-text="Screenshot of configuration drop-down menu.":::
153
+
1. Select **Connectivity configuration** from the drop-down menu to begin creating a connectivity configuration.
156
154
157
-
1. On the **Basics**tab, enter and select the following information for the connectivity configuration:
155
+
1. On the **Basics**page, enter the following information, and select **Next: Topology >**.
158
156
159
-
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/connectivity-configuration.png" alt-text="Screenshot of add a connectivity configuration page.":::
157
+
:::image type="content" source="./media/create-virtual-network-manager-portal/connectivity-configuration.png" alt-text="Screenshot of add a connectivity configuration page.":::
160
158
161
159
| Setting | Value |
162
160
| ------- | ----- |
163
-
| Name | Enter **HubA** for the name of the configuration|
164
-
| Description | Provide a description about what this connectivity configuration will do. |
161
+
| Name | Enter **cc-learn-prod-eastus-001**.|
162
+
| Description |*(Optional)*Provide a description about this connectivity configuration. |
165
163
166
164
167
-
1.Select **Next: Topology >**. Select **Hub and Spoke** under the **Topology** setting. This will reveal other settings.
165
+
1.On the **Topology** tab, select **Hub and Spoke**. This will reveal other settings.
168
166
169
167
:::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.":::
170
168
171
-
1. Select **Select a hub** under **Hub** setting. Then, select **VNet-A-WestUS** to serve as your network hub and select **Select**.
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**.
172
170
173
171
:::image type="content" source="media/tutorial-create-secured-hub-and-spoke/select-hub.png" alt-text="Screenshot of Select a hub configuration.":::
174
172
175
173
> [!NOTE]
176
174
> 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.
177
175
178
-
1. Under **Spoke network groups**, select **+ add**. Then, select **myNetworkGroupB** for the network group and select **Select**.
176
+
1. Under **Spoke network groups**, select **+ add**. Then, select **ng-learn-prod-eastus-001** for the network group and select **Select**.
179
177
180
178
:::image type="content" source="media/tutorial-create-secured-hub-and-spoke/select-network-group.png" alt-text="Screenshot of Add network groups page.":::
181
179
@@ -199,24 +197,34 @@ Make sure the virtual network gateway has been successfully deployed before depl
199
197
200
198
:::image type="content" source="./media/create-virtual-network-manager-portal/deployments.png" alt-text="Screenshot of deployments page in Network Manager.":::
201
199
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**.
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** . |
| Target regions | Select **East US** as the deployment region. |:
209
+
203
210
204
-
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/deploy-configuration.png" alt-text="Screenshot of deploy a configuration page.":::
211
+
1. Select **Next**and then select **Deploy** to complete the deployment.
205
212
213
+
:::image type="content" source="./media/create-virtual-network-manager-portal/deployment-confirmation.png" alt-text="Screenshot of deployment confirmation message.":::
206
214
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.
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.
208
216
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.":::
217
+
:::image type="content" source="./media/create-virtual-network-manager-portal/deployment-in-progress.png" alt-text="Screenshot of configuration deployment in progress status.":
210
218
211
219
## Create security configuration
212
220
213
221
1. Select **Configuration** under *Settings* again, then select **+ Create**, and select **SecurityAdmin** from the menu to begin creating a SecurityAdmin configuration.
214
222
215
-
1. Enter the name **mySecurityConfig** for the configuration, then select **Next: Rule collections**.
223
+
1. Enter the name **sc-learn-prod-eastus-001** for the configuration, then select **Next: Rule collections**.
216
224
217
225
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/security-admin-configuration.png" alt-text="Screenshot of Security Admin configuration page.":::
218
226
219
-
1. Enter the name **myRuleCollection** for the rule collection and select **myNetworkGroupB** for the target network group. Then select **+ Add**.
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**.
220
228
221
229
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/add-rule-collection.png" alt-text="Screenshot of add a rule collection page.":::
222
230
@@ -244,7 +252,7 @@ Make sure the virtual network gateway has been successfully deployed before depl
244
252
245
253
1. Select **Deployments** under *Settings*, then select **Deploy configurations**.
246
254
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**.
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**.
248
256
249
257
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/deploy-security.png" alt-text="Screenshot of deploying a security configuration.":::
0 commit comments