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/container-registry/container-registry-private-link.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: Set up private endpoint with private link
3
3
description: Set up a private endpoint on a container registry and enable access over a private link in a local virtual network. Private link access is a feature of the Premium service tier.
4
4
ms.topic: article
5
5
ms.date: 10/26/2021
6
+
ms.author:tejaswikolli
6
7
---
7
8
8
9
# Connect privately to an Azure container registry using Azure Private Link
@@ -318,7 +319,6 @@ For many scenarios, disable registry access from public networks. This configura
318
319
319
320
### Disable public access - CLI
320
321
321
-
322
322
> [!NOTE]
323
323
>If the public access is disabled, the `az acr build` commands will no longer work.
324
324
@@ -338,6 +338,16 @@ Consider the following options to execute the `az acr build` successfully.
338
338
2. If agent pool is not available in the region, add the regional [Azure Container Registry Service Tag IPv4](../virtual-network/service-tags-overview.md#use-the-service-tag-discovery-api) to the [firewall access rules.](./container-registry-firewall-access-rules.md#allow-access-by-ip-address-range)
339
339
3. Create an ACR task with a managed identity, and enable trusted services to [access network restricted ACR.](./allow-access-trusted-services.md#example-acr-tasks)
340
340
341
+
## Disable access to a container registry using a service endpoint
342
+
343
+
> [!IMPORTANT]
344
+
> The container registry does not support enabling both private endpoint and service endpoint features configured from a virtual network.
345
+
346
+
Once the registry has public access disabled, private endpoint enabled, you can disable the service endpoint access to a container registry from a virtual network by [removing virtual network rules](./container-registry-vnet.md#remove-network-rules).
347
+
348
+
* Run [`az acr network-rule list`](/cli/azure/acr/network-rule#az-acr-network-rule-list) command to list the existing network rules.
349
+
* Run [`az acr network-rule remove`](/cli/azure/acr/network-rule#az-acr-network-rule-remove) command to remove the network rule.
350
+
341
351
## Validate private link connection
342
352
343
353
You should validate that the resources within the subnet of the private endpoint connect to your registry over a private IP address, and have the correct private DNS zone integration.
Copy file name to clipboardExpand all lines: articles/container-registry/container-registry-vnet.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ title: Restrict access using a service endpoint
3
3
description: Restrict access to an Azure container registry using a service endpoint in an Azure virtual network. Service endpoint access is a feature of the Premium service tier.
4
4
ms.topic: article
5
5
ms.date: 05/04/2020
6
+
ms.author: tejaswikolli
6
7
---
7
8
8
9
# Restrict access to a container registry using a service endpoint in an Azure virtual network
@@ -15,6 +16,7 @@ Each registry supports a maximum of 100 virtual network rules.
15
16
16
17
> [!IMPORTANT]
17
18
> Azure Container Registry now supports [Azure Private Link](container-registry-private-link.md), enabling private endpoints from a virtual network to be placed on a registry. Private endpoints are accessible from within the virtual network, using private IP addresses. We recommend using private endpoints instead of service endpoints in most network scenarios.
19
+
> The container registry does not support enabling both private endpoint and service endpoint features configured from a virtual network. So, we recommend to [list and remove network rules](./container-registry-vnet.md#remove-network-rules) as required.
18
20
19
21
Configuring a registry service endpoint is available in the **Premium** container registry service tier. For information about registry service tiers and limits, see [Azure Container Registry service tiers](container-registry-skus.md).
0 commit comments