- Create a private container instance within its own VNET

- Create a Test VM within the same VNET as container instance

- Test connection to container instance from Test VM using ping or nslookup
- Configure Private End point for ACR but before that few things to keep in mind, private acr works only with premium plan, system will prompt you during setup and also make sure to enable admin user. Disable public access, allow trusted Microsoft services to access acr and setup private endpoints as shown below-
|

- Test connection to ACR from Test VM same using nslookup or ping, after that do a
az acr login --name arkocr.azurecr.ioto login to your acr, then pull your image and finally deploy your image.
- Confirm that the ACR has a private link set up correctly.
- Make sure the DNS zone is linked properly to the VNET expected to contain the ACI.
No comments:
Post a Comment