Skip to content

Commit 03f6ea2

Browse files
author
Michael Bender
committed
initial commit and updates for new screenshots & resource names
1 parent 91ac120 commit 03f6ea2

File tree

1 file changed

+51
-43
lines changed

1 file changed

+51
-43
lines changed

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

Lines changed: 51 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -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. 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.
4040

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

@@ -49,38 +49,34 @@ This procedure walks you through creating three virtual networks. One is in the
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 **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. |
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.3.0.0/16** as the address space. |
62+
| IPv4 address space | Enter **10.0.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.3.0.0/24**. |
64+
| Subnet address space | Enter the subnet address space of **10.0.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**
7771

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. |
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|
8480

8581
## Deploy a virtual network gateway
8682

@@ -96,14 +92,14 @@ Deploy a virtual network gateway into the hub virtual network. This virtual netw
9692
| Setting | Value |
9793
| -------- | ----- |
9894
| 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. |
10096
| SKU | Select **VpnGW1** for the SKU. |
10197
| 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. |
104100

105101

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.
107103

108104
## Create a dynamic network group
109105

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

120116
| Setting | Value |
121117
| ------- | ----- |
122-
| Name | Enter **myNetworkGroupB** for the network group name. |
118+
| Name | Enter **ng-learn-prod-eastus-001** for the network group name. |
123119
| Description | Provide a description about this network group. |
124120

125121
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
138134

139135
| Setting | Value |
140136
| ------- | ----- |
141-
| Policy name | Enter **VNetAZPolicy** in the text box. |
137+
| Policy name | Enter **azpol-learn-prod-eastus-001** in the text box. |
142138
| Scope | Select **Select Scopes** and choose your current subscription. |
143139
| Criteria | |
144140
| Parameter | Select **Name** from the drop-down.|
145141
| 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. |
147143

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**.
150147
:::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+
151149
## Create a hub and spoke connectivity configuration
152150

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**.
154152

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.
156154

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 >**.
158156

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.":::
160158

161159
| Setting | Value |
162160
| ------- | ----- |
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. |
165163

166164

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.
168166

169167
:::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.":::
170168

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**.
172170

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

175173
> [!NOTE]
176174
> 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.
177175
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**.
179177

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

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

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

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** . |
207+
| Connectivity configurations | Select **cc-learn-prod-eastus-001**. |
208+
| Target regions | Select **East US** as the deployment region. |:
209+
203210

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.
205212

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

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.
208216

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.":
210218

211219
## Create security configuration
212220

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

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**.
216224

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

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**.
220228

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

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

245253
1. Select **Deployments** under *Settings*, then select **Deploy configurations**.
246254

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**.
248256

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

0 commit comments

Comments
 (0)