Upgrade azure container registry's (ACR) SKU via azure CLI
ACR - Azure Container Registry is azure based container registry/repository to pull and push containerized images.
Tools like azure powershell, CLI are sometimes faster than azure portal to perform some operations. In this post, we are going to upgrade azure container registry's sku from standard to premium.
you people may ask me why should it get changed and let it be, I hear.
The reason behind it is, I would like to restrict ACR from all IP(s) except some selective IP(s) but Standard SKU acr is not supported this feature. so that we need to upgrade it.
you can prefer either cloudshell or local powershell, bash based on your convenient.
If you choose cloudshell, you may not need to install most of the powershell or bash related modules explicitly and need not to login explictly like az login and/or Connect-AzAccount but you need to have cloud resources like azure file share one time created for an account and incur some costs.
If you prefer local powershell, you need to install and import azure required modules and login everytime after you closed the session
please look into the below image where we upgrade/change SKU of ACR from standard to Premium via azure CLI command
Comments
Post a Comment