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
# Quickstart: Create a mesh network topology with Azure Virtual Network Manager using the Azure portal
@@ -48,7 +48,7 @@ Deploy a network manager instance with the defined scope and access you need.
48
48
1. Select **Review + create** and then select **Create** once validation has passed.
49
49
50
50
## Create virtual networks
51
-
Create five virtual networks using the portal. This example creates virtual networks named VNetA, VNetB, VNetC and VNetD in the West US location. Each virtual network will have a tag of networkType used for dynamic membership. If you already have virtual networks you want create a mesh network with, you'll need to add tags listed below to your virtual networks and then you can skip to the next section.
51
+
Create five virtual networks using the portal. This example creates virtual networks named VNetA, VNetB, VNetC and VNetD in the West US location. Each virtual network will have a tag of networkType used for dynamic membership. If you have existing virtual networks for your mesh configuration, you'll need to add tags listed below to your virtual networks and skip to the next section.
52
52
53
53
1. From the **Home** screen, select **+ Create a resource** and search for **Virtual network**. Then select **Create** to begin configuring the virtual network.
54
54
@@ -115,32 +115,28 @@ Virtual Network Manager applies configurations to groups of VNets by placing the
115
115
1. You'll see the new network group added to the *Network Groups* page.
116
116
:::image type="content" source="./media/create-virtual-network-manager-portal/network-groups-list.png" alt-text="Screenshot of network group page with list of network groups.":::
117
117
118
-
1. Once your network group is created, you'll add virtual networks as members. Choose one of the options: *Static membership* or *Dynamic membership* with Azure Policy.
118
+
1. Once your network group is created, you'll add virtual networks as members. Choose one of the options: *[Manually add membership](#manually-add-membership)* or *[Create policy to dynamically add members](#create-azure-policy-for-dynamic-membership)* with Azure Policy.
119
119
120
120
## Define membership for a mesh configuration
121
-
Azure Virtual Network manager allows you two methods for adding membership to a network group. Static membership involves manually adding virtual networks, and dynamic membership involves using Azure Policy to dynamically add virtual networks based on conditions. Choose the option below for your mesh membership configuration:
122
-
### Static membership option
123
-
Using static membership, you'll manually add three VNets for your Mesh configuration to your Network Group using the steps below:
121
+
Azure Virtual Network manager allows you two methods for adding membership to a network group. You can manually add virtual networks or use Azure Policy to dynamically add virtual networks based on conditions. Choose the option below for your mesh membership configuration:
122
+
### Manually add membership
123
+
In this task, you'll manually add three virtual networks for your Mesh configuration to your network group using the steps below:
124
124
125
-
1. From the list of network groups, select **myNetworkGroup** and select **Add** under *Static membership* on the *myNetworkGroup* page.
125
+
1. From the list of network groups, select **myNetworkGroup** and select **Add virtual networks** under *Manually add members* on the *myNetworkGroup* page.
126
126
127
127
:::image type="content" source="./media/create-virtual-network-manager-portal/add-static-member.png" alt-text="Screenshot of add a virtual network f.":::
128
128
129
-
1. On the *Add static members* page, select all three virtual networks created previously (VNetA, VNetB, and VNetC). Then select **Add** to add the 3 virtual networks to the network group.
129
+
1. On the *Manually add members* page, select three virtual networks created previously (VNetA, VNetB, and VNetC). Then select **Add** to add the 3 virtual networks to the network group.
130
130
131
131
:::image type="content" source="./media/create-virtual-network-manager-portal/add-virtual-networks.png" alt-text="Screenshot of add virtual networks to network group page.":::
132
132
133
133
1. On the **Network Group** page under *Settings*, select **Group Members** to view the membership of the group you manually selected.
134
134
:::image type="content" source="media/create-virtual-network-manager-portal/group-members-list-thumb.png" alt-text="Screenshot of group membership under Group Membership." lightbox="media/create-virtual-network-manager-portal/group-members-list.png":::
135
135
136
-
### Dynamic membership with Azure Policy
137
-
Using [Azure Policy](concept-azure-policy-integration.md), you'll define a condition to dynamically add three VNets for your Mesh configuration to your Network Group using the steps below.
136
+
### Create Azure Policy for dynamic membership
137
+
Using [Azure Policy](concept-azure-policy-integration.md), you'll define a condition to dynamically add three virtual networks tagged as **Prod** to your network group using the steps below.
138
138
139
-
1. From the list of network groups, select **myNetworkGroup**.
140
-
141
-
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/network-group-page.png" alt-text="Screenshot of the network groups page.":::
142
-
143
-
1. On the **Overview** page, select **Create Azure Policy** under *Create policy to dynamically add members*.
139
+
1. From the list of network groups, select **myNetworkGroup** and select **Create Azure Policy** under *Create policy to dynamically add members*.
144
140
145
141
:::image type="content" source="media/create-virtual-network-manager-portal/define-dynamic-membership.png" alt-text="Screenshot of Create Azure Policy button.":::
146
142
@@ -155,19 +151,13 @@ Using [Azure Policy](concept-azure-policy-integration.md), you'll define a condi
155
151
| Criteria ||
156
152
| Parameter | Select **Tags** from the drop-down.|
157
153
| Operator | Select **Exists** from the drop-down.|
158
-
| Condition | Enter **NetworkType** to dynamically add the three previously created virtual networks into this network group. |
154
+
| Condition | Enter **Prod** to dynamically add the three previously created virtual networks into this network group. |
159
155
160
-
1. Select **Advanced (JSON) editor** to modify the JSON code.
161
-
1. On line 5, replace **exists** with **equals** and set the value to **"Prod"** from **true**.
162
-
1.
163
-
:::image type="content" source="./media/create-virtual-network-manager-portal/json-advanced-editor.png" alt-text="Screenshot of Advanced (JSON) editor.":::
164
-
165
-
1. Select **Save** to deploy the group membership.
156
+
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.
166
157
167
158
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.
168
159
169
160
:::image type="content" source="media/create-virtual-network-manager-portal/group-members-list-thumb.png" alt-text="Screenshot of group membership under Group Membership." lightbox="media/create-virtual-network-manager-portal/group-members-list.png":::
170
-
171
161
## Create a configuration
172
162
Now that the Network Group is created, and has the correct VNets, create a mesh network topology configuration. Replace <subscription_id> with your subscription and follow the steps below:
Copy file name to clipboardExpand all lines: articles/virtual-network-manager/how-to-create-hub-and-spoke.md
+34-11Lines changed: 34 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,24 +30,47 @@ This section will help you create a network group containing the virtual network
30
30
31
31
1. Go to your Azure Virtual Network Manager instance. This how-to guide assumes you've created one using the [quickstart](create-virtual-network-manager-portal.md) guide.
32
32
33
-
1. Select **Network groups** under *Settings*, and then select **+ Add** to create a new network group.
33
+
1. Select **Network Groups** under *Settings*, then select **+ Create**.
34
34
35
-
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/add-network-group.png" alt-text="Screenshot of add a network group button.":::
35
+
:::image type="content" source="./media/create-virtual-network-manager-portal/add-network-group-2.png" alt-text="Screenshot of add a network group button.":::
36
36
37
-
1. On the *Basics* tab, enter a **Name**and a **Description** for the network group.
37
+
1. On the *Create a network group* page, enter a **Name**for the network group. This example will use the name **myNetworkGroup**. Select **Add** to create the network group.
38
38
39
-
:::image type="content" source="./media/how-to-create-hub-and-spoke/basics.png" alt-text="Screenshot of basics tab for add a network group.":::
39
+
:::image type="content" source="./media/create-virtual-network-manager-portal/network-group-basics.png" alt-text="Screenshot of create a network group page.":::
40
40
41
-
1. To add virtual network manually, select the **Static group members** tab. For more information, see [static members](concept-network-groups.md#static-membership).
41
+
1. You'll see the new network group added to the *Network Groups* page.
42
+
:::image type="content" source="./media/create-virtual-network-manager-portal/network-groups-list.png" alt-text="Screenshot of network group page with list of network groups.":::
42
43
43
-
:::image type="content" source="./media/how-to-create-hub-and-spoke/static-group.png" alt-text="Screenshot of static group members tab.":::
44
+
1. Once your network group is created, you'll add virtual networks as members. Choose one of the options: *[Manually add membership](concept-network-groups.md#static-membership)* or *[Create policy to dynamically add members](concept-network-groups.md#dynamic-membership)*.
45
+
## Define network group members
46
+
Azure Virtual Network manager allows you two methods for adding membership to a network group. You can manually add virtual networks or use Azure Policy to dynamically add virtual networks based on conditions. Choose the option below for your mesh membership configuration:
44
47
45
-
1. To add virtual networks dynamically, select the **Conditional statements** tab. For more information, see [dynamic membership](concept-network-groups.md#dynamic-membership).
48
+
### Manually adding members
49
+
To manually add the desired virtual networks for your Mesh configuration to your Network Group, follow the steps below:
46
50
47
-
:::image type="content" source="./media/how-to-create-hub-and-spoke/conditional-statements.png" alt-text="Screenshot of conditional statements tab.":::
51
+
1. From the list of network groups, select your network group and select **Add virtual networks** under *Manually add members* on the network group page.
48
52
49
-
1. Once you're satisfied with the virtual networks selected for the network group, select **Review + create**. Then select **Create** once validation has passed.
50
-
53
+
:::image type="content" source="./media/create-virtual-network-manager-portal/add-static-member.png" alt-text="Screenshot of add a virtual network.":::
54
+
55
+
1. On the *Manually add members* page, select all the virtual networks and select **Add**.
56
+
57
+
:::image type="content" source="./media/create-virtual-network-manager-portal/add-virtual-networks.png" alt-text="Screenshot of add virtual networks to network group page.":::
58
+
59
+
1. To review the network group membership manually added, select **Group Members** on the *Network Group* page under **Settings**.
60
+
:::image type="content" source="media/create-virtual-network-manager-portal/group-members-list-thumb.png" alt-text="Screenshot of group membership under Group Membership." lightbox="media/create-virtual-network-manager-portal/group-members-list.png":::
61
+
62
+
### Dynamic membership with Azure Policy
63
+
To dynamically add members using [Azure Policy](concept-azure-policy-integration.md), follow the steps below:
64
+
65
+
1. From the list of network groups, select your network group and select **Create Azure Policy** under *Create policy to dynamically add members*.
66
+
67
+
:::image type="content" source="media/create-virtual-network-manager-portal/define-dynamic-membership.png" alt-text="Screenshot of Create Azure Policy button.":::
68
+
69
+
1. On the **Create Azure Policy** page, create a conditional statement to populate your network group. You can choose different conditional parameters including *Name* and *Tags*.
70
+
71
+
:::image type="content" source="media/how-to-create-hub-and-spoke/create-azure-policy.png" alt-text="Screenshot of Create Azure Policy page with conditional parameters displayed.":::
72
+
73
+
1. To review the network group membership based on the conditions defined in Azure Policy, select **Group Members** on the *Network Group* page under **Settings**
51
74
## Create a hub and spoke connectivity configuration
52
75
53
76
This section will guide you through how to create a hub-and-spoke configuration with the network group you created in the previous section.
@@ -90,7 +113,7 @@ This section will guide you through how to create a hub-and-spoke configuration
90
113
91
114
## Deploy the hub and spoke configuration
92
115
93
-
To have this configuration take effect in your environment, you'll need to deploy the configuration to the regions where your selected virtual network are created.
116
+
To have this configuration take effect in your environment, you'll need to deploy the configuration to the regions where your selected virtual networks are created.
94
117
95
118
1. Select **Deployments** under *Settings*, then select **Deploy a configuration**.
Copy file name to clipboardExpand all lines: articles/virtual-network-manager/how-to-create-mesh-network.md
+29-10Lines changed: 29 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,35 +22,54 @@ In this article, you'll learn how to create a mesh network topology using Azure
22
22
* Created a [Azure Virtual Network Manager instance](create-virtual-network-manager-portal.md#create-virtual-network-manager).
23
23
* Identify virtual networks you want to use in the mesh configuration or create new [virtual networks](../virtual-network/quick-create-portal.md).
24
24
25
-
## Create a network group
25
+
## <aname="group"></a> Create a network group
26
26
27
27
This section will help you create a network group containing the virtual networks you'll be using for the hub-and-spoke network topology.
28
28
29
29
1. Go to your Azure Virtual Network Manager instance. This how-to guide assumes you've created one using the [quickstart](create-virtual-network-manager-portal.md) guide.
30
30
31
-
1. Select **Network groups** under *Settings*, and then select **+ Create** to create a new network group.
31
+
1. Select **Network Groups** under *Settings*, then select **+ Create**.
32
32
33
-
:::image type="content" source="./media/tutorial-create-secured-hub-and-spoke/add-network-group.png" alt-text="Screenshot of Create a network group button.":::
33
+
:::image type="content" source="./media/create-virtual-network-manager-portal/add-network-group-2.png" alt-text="Screenshot of add a network group button.":::
34
34
35
-
1. On the *Create a network group* page, enter a **Name**and a **Description**for the network group. Then select**Add** to create the network group.
35
+
1. On the *Create a network group* page, enter a **Name** for the network group. This example will use the name **myNetworkGroup**. Select**Add** to create the network group.
36
36
37
37
:::image type="content" source="./media/create-virtual-network-manager-portal/network-group-basics.png" alt-text="Screenshot of create a network group page.":::
38
38
39
39
1. You'll see the new network group added to the *Network Groups* page.
40
40
:::image type="content" source="./media/create-virtual-network-manager-portal/network-groups-list.png" alt-text="Screenshot of network group page with list of network groups.":::
41
41
42
-
1.From the list of network groups, select **myNetworkGroup**to manage the network group memberships.
42
+
1.Once your network group is created, you'll add virtual networks as members. Choose one of the options: *[Manually add membership](concept-network-groups.md#static-membership)* or *[Create policy to dynamically add members](concept-network-groups.md#dynamic-membership)*.
43
43
44
-
:::image type="content" source="media/how-to-create-mesh-network/manage-group-membership.png" alt-text="Screenshot of manage group memberships page.":::
44
+
## Define network group members
45
+
Azure Virtual Network manager allows you two methods for adding membership to a network group. You can manually add virtual networks or use Azure Policy to dynamically add virtual networks based on conditions. Choose the option below for your mesh membership configuration:
45
46
46
-
1. To add a virtual network manually, select the **Add** button under *Static membership*, and select the virtual networks to add. Then select **Add** to save the static membership. For more information, see [static members](concept-network-groups.md#static-membership).
47
+
### Manually adding members
48
+
To manually add the desired virtual networks for your Mesh configuration to your Network Group, follow the steps below:
49
+
50
+
1. From the list of network groups, select your network group and select **Add virtual networks** under *Manually add members* on the network group page.
51
+
52
+
:::image type="content" source="./media/create-virtual-network-manager-portal/add-static-member.png" alt-text="Screenshot of add a virtual network.":::
53
+
54
+
1. On the *Manually add members* page, select all the virtual networks and select **Add**.
47
55
48
56
:::image type="content" source="./media/create-virtual-network-manager-portal/add-virtual-networks.png" alt-text="Screenshot of add virtual networks to network group page.":::
49
57
50
-
1. To add virtual networks dynamically, select the **Define** button under *Define dynamic membership*, and then enter the conditional statements for membership. Select **Save** to save the dynamic membership conditions. For more information, see [dynamic membership](concept-network-groups.md#dynamic-membership).
58
+
1. To review the network group membership manually added, select **Group Members** on the *Network Group* page under **Settings**.
59
+
:::image type="content" source="media/create-virtual-network-manager-portal/group-members-list-thumb.png" alt-text="Screenshot of group membership under Group Membership." lightbox="media/create-virtual-network-manager-portal/group-members-list.png":::
60
+
61
+
### Dynamic membership with Azure Policy
62
+
To dynamically add members using [Azure Policy](concept-azure-policy-integration.md), follow the steps below:
63
+
64
+
1. From the list of network groups, select your network group and select **Create Azure Policy** under *Create policy to dynamically add members*.
65
+
66
+
:::image type="content" source="media/create-virtual-network-manager-portal/define-dynamic-membership.png" alt-text="Screenshot of Create Azure Policy button.":::
51
67
52
-
:::image type="content" source="media/how-to-create-mesh-network/define-dynamic-members.png" alt-text="Screenshot of Define dynamic membership page.":::
68
+
1. On the **Create Azure Policy** page, create a conditional statement to populate your network group. You can choose different conditional parameters including *Name* and *Tags*.
69
+
70
+
:::image type="content" source="media/how-to-create-hub-and-spoke/create-azure-policy.png" alt-text="Screenshot of Create Azure Policy page with conditional parameters displayed.":::
53
71
72
+
1. To review the network group membership based on the conditions defined in Azure Policy, select **Group Members** on the *Network Group* page under **Settings**
54
73
## Create a mesh connectivity configuration
55
74
56
75
This section will guide you through how to create a mesh configuration with the network group you created in the previous section.
@@ -76,7 +95,7 @@ This section will guide you through how to create a mesh configuration with the
76
95
77
96
:::image type="content" source="media/how-to-create-mesh-network/add-connectivity-config.png" alt-text="Screenshot of Add a connectivity configuration page and options.":::
78
97
79
-
1. On the *Add network groups* page, select the network groups you want to add to this configuration. Then click**Select** to save.
98
+
1. On the *Add network groups* page, select the network groups you want to add to this configuration. Then select**Select** to save.
80
99
81
100
1. Select **Review + create** and then **Create** to create the mesh connectivity configuration.
0 commit comments