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/event-hubs/private-link-service.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,21 @@
1
1
---
2
2
title: Integrate Azure Event Hubs with Azure Private Link Service
3
-
description: Learn how to integrate Azure Event Hubs with Azure Private Link Service
4
-
ms.date: 02/15/2023
5
-
ms.topic: article
6
-
ms.custom: devx-track-azurepowershell
3
+
description: This article describes how to allow access to your Event Hubs namespace only via private endpoints by using the Azure Private Link Service.
4
+
ms.date: 07/31/2024
5
+
ms.topic: how-to
6
+
# customer intent: As an IT admin, I want to restrict access to an Event Hubs namespace to a private endpoint in a virtual network.
7
7
---
8
8
9
9
# Allow access to Azure Event Hubs namespaces via private endpoints
10
10
Azure Private Link Service enables you to access Azure Services (for example, Azure Event Hubs, Azure Storage, and Azure Cosmos DB) and Azure hosted customer/partner services over a **private endpoint** in your virtual network.
11
11
12
-
A private endpoint is a network interface that connects you privately and securely to a service powered by Azure Private Link. The private endpoint uses a private IP address from your virtual network, effectively bringing the service into your virtual network. All traffic to the service can be routed through the private endpoint, so no gateways, NAT devices, ExpressRoute or VPN connections, or public IP addresses are needed. Traffic between your virtual network and the service traverses over the Microsoft backbone network, eliminating exposure from the public Internet. You can connect to an instance of an Azure resource, giving you the highest level of granularity in access control.
12
+
A private endpoint is a network interface that connects you privately and securely to a service powered by Azure Private Link. The private endpoint uses a private IP address from your virtual network, effectively bringing the service into your virtual network. All traffic to the service is routed through the private endpoint, so no gateways, NAT devices, ExpressRoute or VPN connections, or public IP addresses are needed. Traffic between your virtual network and the service traverses over the Microsoft backbone network, eliminating exposure from the public Internet. You can connect to an instance of an Azure resource, giving you the highest level of granularity in access control.
13
13
14
14
For more information, see [What is Azure Private Link?](../private-link/private-link-overview.md)
15
15
16
16
## Important points
17
17
- This feature isn't supported in the **basic** tier.
18
-
- Enabling private endpoints can prevent other Azure services from interacting with Event Hubs. Requests that are blocked include those from other Azure services, from the Azure portal, from logging and metrics services, and so on. As an exception, you can allow access to Event Hubs resources from certain **trusted services** even when private endpoints are enabled. For a list of trusted services, see [Trusted services](#trusted-microsoft-services).
18
+
- Enabling private endpoints can prevent other Azure services from interacting with Event Hubs. Requests that are blocked include those from other Azure services, from the Azure portal, from logging and metrics services, and so on. As an exception, you can allow access to Event Hubs resources from certain **trusted services** even when private endpoints are enabled. For a list of trusted services, see [Trusted services](#trusted-microsoft-services).
19
19
- Specify **at least one IP rule or virtual network rule** for the namespace to allow traffic only from the specified IP addresses or subnet of a virtual network. If there are no IP and virtual network rules, the namespace can be accessed over the public internet (using the access key).
20
20
21
21
## Add a private endpoint using Azure portal
@@ -29,7 +29,7 @@ To integrate an Event Hubs namespace with Azure Private Link, you need the follo
29
29
- A subnet in the virtual network. You can use the **default** subnet.
30
30
- Owner or contributor permissions for both the namespace and the virtual network.
31
31
32
-
Your private endpoint and virtual network must be in the same region. When you select a region for the private endpoint using the portal, it will automatically filter only virtual networks that are in that region. Your namespace can be in a different region.
32
+
Your private endpoint and virtual network must be in the same region. When you select a region for the private endpoint using the portal, it automatically filters virtual networks that are in that region. Your namespace can be in a different region.
33
33
34
34
Your private endpoint uses a private IP address in your virtual network.
35
35
@@ -50,7 +50,7 @@ If you already have an Event Hubs namespace, you can create a private link conne
50
50
1. On the **Networking** page, for **Public network access**, select **Disabled** if you want the namespace to be accessed only via private endpoints.
51
51
1. For **Allow trusted Microsoft services to bypass this firewall**, select **Yes** if you want to allow [trusted Microsoft services](#trusted-microsoft-services) to bypass this firewall.
52
52
53
-
:::image type="content" source="./media/private-link-service/public-access-disabled.png" alt-text="Screenshot of the Networking page with public network access as Disabled.":::
53
+
:::image type="content" source="./media/private-link-service/public-access-disabled.png" alt-text="Screenshot of the Networking page with public network access as Disabled." lightbox="./media/private-link-service/public-access-disabled.png":::
54
54
1. Switch to the **Private endpoint connections** tab.
55
55
1. Select the **+ Private Endpoint** button at the top of the page.
56
56
@@ -80,10 +80,10 @@ If you already have an Event Hubs namespace, you can create a private link conne
80
80
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.
81
81
1. On the **Review + create**, review all the settings, and select **Create** to create the private endpoint.
82
82
83
-

84
-
12. Confirm that you see the private endpoint connection you created shows up in the list of endpoints. In this example, the private endpoint is auto-approved because you connected to an Azure resource in your directory and you have sufficient permissions.
83
+

84
+
12. Confirm that you see the private endpoint connection you created shows up in the list of endpoints. Refresh the page and switch to the **Private endpoint connections** tab. In this example, the private endpoint is auto-approved because you connected to an Azure resource in your directory and you have sufficient permissions.

@@ -189,7 +189,7 @@ There are four provisioning states:
189
189
| None | Pending | Connection is created manually and is pending approval from the Private Link resource owner. |
190
190
| Approve | Approved | Connection was automatically or manually approved and is ready to be used. |
191
191
| Reject | Rejected | Connection was rejected by the private link resource owner. |
192
-
| Remove | Disconnected | Connection was removed by the private link resource owner, the private endpoint becomes informative and should be deleted for cleanup. |
192
+
| Remove | Disconnected | Connection was removed by the private link resource owner. The private endpoint becomes informative and should be deleted for cleanup. |
193
193
194
194
### Approve, reject, or remove a private endpoint connection
195
195
@@ -204,15 +204,15 @@ There are four provisioning states:
204
204
2. Select the **private endpoint** you wish to approve
:::image type="content" source="./media/private-link-service/approve-private-endpoint.png" alt-text="Screenshot that shows the Private endpoint connections tab with the Approve button highlighted.":::
208
208
4. On the **Approve connection** page, add a comment (optional), and select **Yes**. If you select **No**, nothing happens.
209
209
5. You should see the status of the private endpoint connection in the list changed to **Approved**.
210
210
211
211
### Reject a private endpoint connection
212
212
213
213
1. If there are any private endpoint connections you want to reject, whether it's a pending request or existing connection, select the connection and select the **Reject** button.
:::image type="content" source="./media/private-link-service/private-endpoint-reject-button.png" alt-text="Screenshot that shows the Private endpoint connections tab with the Reject button highlighted.":::
216
216
2. On the **Reject connection** page, enter a comment (optional), and select **Yes**. If you select **No**, nothing happens.
217
217
3. You should see the status of the private endpoint connection in the list changed to **Rejected**.
0 commit comments