Skip to content

Commit 2b2adb7

Browse files
Merge pull request #232004 from spelluru/egridnetworking0324
updated steps & screenshots
2 parents 622b650 + b9aa433 commit 2b2adb7

11 files changed

+27
-32
lines changed

articles/event-grid/configure-firewall.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure IP firewall for Azure Event Grid topics or domains
33
description: This article describes how to configure firewall settings for Event Grid topics or domains.
44
ms.topic: conceptual
55
ms.custom: devx-track-azurecli, devx-track-azurepowershell
6-
ms.date: 03/07/2022
6+
ms.date: 03/24/2023
77
---
88

99
# Configure IP firewall for Azure Event Grid topics or domains
@@ -22,17 +22,19 @@ This section shows you how to enable public or private network access for an Eve
2222
:::image type="content" source="./media/configure-firewall/networking-link.png" alt-text="Screenshot showing the selection of Networking link at the bottom of the page. ":::
2323
1. If you want to allow clients to connect to the topic endpoint via a public IP address, keep the **Public access** option selected.
2424

25+
You can restrict access to the topic from specific IP addresses by specifying values for the **Address range** field. Specify a single IPv4 address or a range of IP addresses in Classless inter-domain routing (CIDR) notation.
26+
2527
:::image type="content" source="./media/configure-firewall/networking-page-public-access.png" alt-text="Screenshot showing the selection of Public access option on the Networking page of the Create topic wizard. ":::
2628
1. To allow access to the Event Grid topic via a private endpoint, select the **Private access** option.
2729

2830
:::image type="content" source="./media/configure-firewall/networking-page-private-access.png" alt-text="Screenshot showing the selection of Private access option on the Networking page of the Create topic wizard. ":::
2931
1. Follow instructions in the [Add a private endpoint using Azure portal](configure-private-endpoints.md#use-azure-portal) section to create a private endpoint.
3032

3133
### For an existing topic
32-
1. In the [Azure portal](https://portal.azure.com), Navigate to your event grid topic or domain, and switch to the **Networking** tab.
34+
1. In the [Azure portal](https://portal.azure.com), Navigate to your Event Grid topic or domain, and switch to the **Networking** tab.
3335
2. Select **Public networks** to allow all networks, including the internet, to access the resource.
3436

35-
You can restrict the traffic using IP firewall rules. Specify a single IPv4 address or a range of IP addresses in Classless inter-domain routing (CIDR) notation.
37+
You can restrict access to the topic from specific IP addresses by specifying values for the **Address range** field. Specify a single IPv4 address or a range of IP addresses in Classless inter-domain routing (CIDR) notation.
3638

3739
:::image type="content" source="./media/configure-firewall/public-networks-page.png" alt-text="Screenshot that shows the Public network access page with Public networks selected.":::
3840
3. Select **Private endpoints only** to allow only private endpoint connections to access this resource. Use the **Private endpoint connections** tab on this page to manage connections.
@@ -93,7 +95,7 @@ az eventgrid topic update \
9395
```
9496

9597
### Create a topic with single inbound ip rule
96-
The following sample CLI command creates an event grid topic with inbound IP rules.
98+
The following sample CLI command creates an Event Grid topic with inbound IP rules.
9799

98100
```azurecli-interactive
99101
az eventgrid topic create \
@@ -106,7 +108,7 @@ az eventgrid topic create \
106108

107109
### Create a topic with multiple inbound ip rules
108110

109-
The following sample CLI command creates an event grid topic two inbound IP rules in one step:
111+
The following sample CLI command creates an Event Grid topic two inbound IP rules in one step:
110112

111113
```azurecli-interactive
112114
az eventgrid topic create \
@@ -119,7 +121,7 @@ az eventgrid topic create \
119121
```
120122

121123
### Update an existing topic to add inbound IP rules
122-
This example creates an event grid topic first and then adds inbound IP rules for the topic in a separate command. It also updates the inbound IP rules that were set in the second command.
124+
This example creates an Event Grid topic first and then adds inbound IP rules for the topic in a separate command. It also updates the inbound IP rules that were set in the second command.
123125

124126
```azurecli-interactive
125127
@@ -178,13 +180,13 @@ New-AzEventGridTopic -ResourceGroupName MyResourceGroupName -Name Topic1 -Locati
178180
> When public network access is disabled for a topic or domain, traffic over public internet isn't allowed. Only private endpoint connections will be allowed to access these resources.
179181
180182
### Create a topic with public network access and inbound ip rules
181-
The following sample CLI command creates an event grid topic with public network access and inbound IP rules.
183+
The following sample CLI command creates an Event Grid topic with public network access and inbound IP rules.
182184

183185
```azurepowershell-interactive
184186
New-AzEventGridTopic -ResourceGroupName MyResourceGroupName -Name Topic1 -Location eastus -PublicNetworkAccess enabled -InboundIpRule @{ "10.0.0.0/8" = "Allow"; "10.2.0.0/8" = "Allow" }
185187
```
186188
### Update an existing a topic with public network access and inbound ip rules
187-
The following sample CLI command updates an existing event grid topic with inbound IP rules.
189+
The following sample CLI command updates an existing Event Grid topic with inbound IP rules.
188190

189191
```azurepowershell-interactive
190192
Set-AzEventGridTopic -ResourceGroupName MyResourceGroupName -Name Topic1 -PublicNetworkAccess enabled -InboundIpRule @{ "10.0.0.0/8" = "Allow"; "10.2.0.0/8" = "Allow" } -Tag @{}

articles/event-grid/configure-private-endpoints.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Configure private endpoints for Azure Event Grid topics or domains
33
description: This article describes how to configure private endpoints for Azure Event Grid custom topics or domain.
44
ms.topic: how-to
5-
ms.date: 12/06/2022
5+
ms.date: 03/24/2023
66
ms.custom: devx-track-azurecli, devx-track-azurepowershell
77
---
88

@@ -43,35 +43,28 @@ This section shows you how to enable private network access for an Event Grid to
4343
2. On the **Basics** page, follow these steps:
4444
1. Select an **Azure subscription** in which you want to create the private endpoint.
4545
2. Select an **Azure resource group** for the private endpoint.
46-
3. Enter a **name** for the endpoint.
47-
4. Select the **region** for the endpoint. Your private endpoint must be in the same region as your virtual network, but can in a different region from the private link resource (in this example, an Event Grid topic).
48-
5. Then, select **Next: Resource >** button at the bottom of the page.
46+
3. Enter a **name** for the **endpoint**.
47+
1. Update the **name** for the **network interface** if needed.
48+
1. Select the **region** for the endpoint. Your private endpoint must be in the same region as your virtual network, but can in a different region from the private link resource (in this example, an Event Grid topic).
49+
1. Then, select **Next: Resource >** button at the bottom of the page.
4950

5051
:::image type="content" source="./media/configure-private-endpoints/basics-page.png" alt-text="Screenshot showing the Basics page of the Create a private endpoint wizard.":::
51-
3. On the **Resource** page, follow these steps:
52-
1. For connection method, if you select **Connect to an Azure resource in my directory**, follow these steps. This example shows how to connect to an Azure resource in your directory.
53-
1. Select the **Azure subscription** in which your **topic/domain** exists.
54-
1. For **Resource type**, Select **Microsoft.EventGrid/topics** or **Microsoft.EventGrid/domains** for the **Resource type**.
55-
2. For **Resource**, select an topic/domain from the drop-down list.
56-
3. Confirm that the **Target subresource** is set to **topic** or **domain** (based on the resource type you selected).
57-
4. Select **Next: Virtual Network >** button at the bottom of the page.
58-
59-
:::image type="content" source="./media/configure-private-endpoints/resource-page.png" alt-text="Screenshot showing the Resource page of the Create a private endpoint wizard.":::
60-
2. If you select **Connect to a resource using a resource ID or an alias**, follow these steps:
61-
1. Enter the ID of the resource. For example: `/subscriptions/<AZURE SUBSCRIPTION ID>/resourceGroups/<RESOURCE GROUP NAME>/providers/Microsoft.EventGrid/topics/<EVENT GRID TOPIC NAME>`.
62-
2. For **Resource**, enter **topic** or **domain**.
63-
3. (optional) Add a request message.
64-
4. Select **Next: Virtual Network >** button at the bottom of the page.
65-
66-
:::image type="content" source="./media/configure-private-endpoints/connect-azure-resource-id.png" alt-text="Screenshot showing the Resource page with resource ID specified.":::
52+
3. On the **Resource** page, follow these steps, confirm that **topic** is selected for **Target sub-resource**, and then select **Next: Virtual Network >** button at the bottom of the page.
53+
54+
:::image type="content" source="./media/configure-private-endpoints/resource-page.png" alt-text="Screenshot showing the Resource page of the Create a private endpoint wizard.":::
6755
4. On the **Virtual Network** page, you select the subnet in a virtual network to where you want to deploy the private endpoint.
6856
1. Select a **virtual network**. Only virtual networks in the currently selected subscription and location are listed in the drop-down list.
6957
2. Select a **subnet** in the virtual network you selected.
70-
3. Select **Next: Tags >** button at the bottom of the page.
58+
1. Specify whether you want the **IP address** to be allocated statically or dynamically.
59+
1. Select an existing **application security group** or create one and then associate with the private endpoint.
60+
1. Select **Next: DNS >** button at the bottom of the page.
61+
62+
:::image type="content" source="./media/configure-private-endpoints/configuration-page.png" alt-text="Screenshot showing the Networking page of the Creating a private endpoint wizard.":::
63+
5. On the **DNS** page, select whether you want the private endpoint to be integrated with a **private DNS zone**, and then select **Next: Tags** at the bottom of the page.
7164

72-
:::image type="content" source="./media/configure-private-endpoints/configuration-page.png" alt-text="Screenshot showing the Networking page of the Creating a private endpoint wizard":::
73-
5. On the **Tags** page, create any tags (names and values) that you want to associate with the private endpoint resource. Then, select **Review + create** button at the bottom of the page.
74-
6. On the **Review + create**, review all the settings, and select **Create** to create the private endpoint.
65+
:::image type="content" source="./media/configure-private-endpoints/dns-zone-page.png" alt-text="Screenshot showing the DNS page of the Creating a private endpoint wizard.":::
66+
1. On the **Tags** page, create any tags (names and values) that you want to associate with the private endpoint resource. Then, select **Review + create** button at the bottom of the page.
67+
1. On the **Review + create**, review all the settings, and select **Create** to create the private endpoint.
7568

7669
### Manage private link connection
7770

5.5 KB
Loading
-36 Bytes
Loading
-51 Bytes
Loading
-19.6 KB
Loading
-19.5 KB
Loading
2.6 KB
Loading
1.54 KB
Loading
37.9 KB
Loading

0 commit comments

Comments
 (0)