An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
Welcome to Microsoft Q&A,
@Nassim Cherifi I hope you are doing well,
Yes, a Service Endpoint can be a valid option for your scenario if the consumers are supported Azure VMs or AKS clusters and your ACR is Premium. Service endpoints restrict access to the ACR public endpoint to selected VNets/subnets. However, Microsoft recommends Private Endpoints instead of Service Endpoints in most network scenarios.
The main considerations are:
- Private Endpoint: provides private IP connectivity and allows you to disable public network access. It is also suitable if private access from on-premises through VPN/ExpressRoute is required.
Service Endpoint: keeps the ACR public endpoint but restricts access to selected VNets/subnets. It is currently Preview, requires Premium, and supports only Azure VM and AKS hosts.
ACR doesn't support configuring both Private Link and Service Endpoint access from the same VNet.
Microsoft does not document a performance advantage based on traffic volume such as 2 TB/day, so I wouldn't attribute the reported latency to the centralized Private Endpoint without network measurements.
Given your architecture, Service Endpoints could technically fit, but I would evaluate the Preview limitations and the additional peering/Firewall path before replacing the existing Private Endpoint.
References:
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-vnet
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-private-link
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-skus
If this answer helped clarify the platform capabilities and save you troubleshooting time, please consider marking it as Accepted. This helps others in the community find similar solutions.