简体   繁体   中英

Maximum limit of deployments in Azure Resource Group

Today I skimmed over the Azure subscription and service limits, quotas, and constraints. Then I noticed there is a limit for deployments in a resource group of Azure Resource Manager. The default limit, as well as the maximum limit, is 800 deployments per resource group.

Does this mean I can run 800 deployments within the lifetime of a resource group and after I reached this limit this resource group cannot run any deployments? Or is this limit related to concurrent runs of deployments and addresses platform scalability aspects?

The "Deployments per resource group" in https://docs.microsoft.com/en-gb/azure/azure-subscription-service-limits#resource-group-limits specifies the limit of the deployments history. The deployments history can be accessed in the resource group under Settings > Deployments. Deletion of the resources does not remove the deployments from the history, and the other way round - deleting the deployments history does not affect the state of the resources in the resource group. Once the limit of 800 deployments is reached, further deployments will not be possible. Even if you have no resources in the resource group, the deployments history would need to be cleared in order to proceed with the further deployments.

Deployments history can be deleted manually or via powershell. Check https://blogs.msdn.microsoft.com/cloud_solution_architect/2016/08/22/handling-azure-resource-manager-deployment-limits/

A given resource group, at any moment in time, will have zero or more deployments. This has nothing to do with a lifetime counter, nor does it relate to scaling. It's simply how many deployments you currently have within that resource group.

If you viewed your resource group (via portal/powershell/cli/api), you'd see a list of deployments, up to 800 of them.

The blog post referenced above uses an older version of the Azure cmdlet Remove-AzureRmResourceGroupDeployment that allows a -Force parameter. The current version (as of 11/2017) doesn't include that parameter (-Force) and as a result forces a confirmation dialog which will prevent automation from working.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM