Skip to content

Commit efc081e

Browse files
14731990 USERSTORY
1 parent d78a35f commit efc081e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

articles/container-registry/container-registry-private-link.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Set up private endpoint with private link
33
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.
44
ms.topic: article
55
ms.date: 10/26/2021
6+
ms.author:tejaswikolli
67
---
78

89
# 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
318319

319320
### Disable public access - CLI
320321

321-
322322
> [!NOTE]
323323
>If the public access is disabled, the `az acr build` commands will no longer work.
324324
@@ -338,6 +338,16 @@ Consider the following options to execute the `az acr build` successfully.
338338
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)
339339
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)
340340

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+
341351
## Validate private link connection
342352

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

articles/container-registry/container-registry-vnet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Restrict access using a service endpoint
33
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.
44
ms.topic: article
55
ms.date: 05/04/2020
6+
ms.author: tejaswikolli
67
---
78

89
# 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.
1516

1617
> [!IMPORTANT]
1718
> 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.
1820
1921
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).
2022

0 commit comments

Comments
 (0)