Batch service quotas and limits
As with other Azure services, there are limits on certain resources associated with the Batch service. Many of these limits are default quotas applied by Azure at the subscription or account level. This article discusses those defaults, and how you can request quota increases.
Keep these quotas in mind as you design and scale up your Batch workloads. For example, if your pool doesn't reach the target number of compute nodes you specified, you might have reached the core quota limit for your Batch account.
You can run multiple Batch workloads in a single Batch account, or distribute your workloads among Batch accounts that are in the same subscription, but in different Azure regions.
If you plan to run production workloads in Batch, you may need to increase one or more of the quotas above the default. If you want to raise a quota, you can open an online customer support request at no charge.
A quota is a credit limit, not a capacity guarantee. If you have large-scale capacity needs, please contact Azure support.
Also note that quotas are not guaranteed values. Quotas can vary based on changes from the Batch service or a user request to change a quota value.
|Resource||Default limit||Maximum limit|
|Azure Batch accounts per region per subscription||1-3||50|
|Dedicated cores per Batch account||90-900||Contact support|
|Low-priority cores per Batch account||10-100||Contact support|
|Active jobs and job schedules per Batch account (completed jobs have no limit)||100-300||1,0001|
|Pools per Batch account||20-100||5001|
Default limits vary depending on the type of subscription you use to create a Batch account. Cores quotas shown are for Batch accounts in Batch service mode. View the quotas in your Batch account.
1To request an increase beyond this limit, contact Azure Support.
Cores quotas in user subscription mode
If you created a Batch account with pool allocation mode set to user subscription, quotas are applied differently. In this mode, Batch VMs and other resources are created directly in your subscription when a pool is created. The Azure Batch cores quotas do not apply to an account created in this mode. Instead, the quotas in your subscription for regional compute cores and other resources are applied. Learn more about these quotas in Azure subscription and service limits, quotas, and constraints.
Pool size limits
Pool size limits are set by the Batch service. Unlike resource quotas, these values cannot be changed. Only pools with inter-node communication and custom images have restrictions different from the standard quota.
|Compute nodes in inter-node communication enabled pool|
|Batch service pool allocation mode||100|
|Batch subscription pool allocation mode||80|
|Compute nodes in pool created with custom VM image1|
1 For pools that are not inter-node communication enabled.
Additional limits set by the Batch service. Unlike resource quotas, these values cannot be changed.
|Concurrent tasks per compute node||4 x number of node cores|
|Applications per Batch account||20|
|Application packages per application||40|
|Application packages per pool||10|
|Maximum task lifetime||180 days1|
|Mounts per compute node||10|
1 The maximum lifetime of a task, from when it is added to the job to when it completes, is 180 days. Completed tasks persist for seven days; data for tasks not completed within the maximum lifetime is not accessible.
View Batch quotas
View your Batch account quotas in the Azure portal.
Select Batch accounts in the portal, then select the Batch account you're interested in.
Select Quotas on the Batch account's menu.
View the quotas currently applied to the Batch account
Increase a quota
Follow these steps to request a quota increase for your Batch account or your subscription using the Azure portal. The type of quota increase depends on the pool allocation mode of your Batch account. To request a quota increase, you must include the VM series you would like to increase the quota for. When the quota increase is applied, it is applied to all series of VMs.
Increase cores quota in Batch
Select the Help + support tile on your portal dashboard, or the question mark (?) in the upper-right corner of the portal.
Select New support request > Basics.
a. Issue Type > Service and subscription limits (quotas)
b. Select your subscription.
c. Quota type > Batch
a. In Provide details, specify the location, quota type, and Batch account.
Quota types include:
Per Batch account
Values specific to a single Batch account, including dedicated and low-priority cores, and number of jobs and pools.
Values that apply to all Batch accounts in a region and includes the number of Batch accounts per region per subscription.
Low-priority quota is a single value across all VM series. If you need constrained SKUs, you must select Low-priority cores and include the VM families to request.
b. Select a Severity according to your business impact.
In Contact information:
a. Select a Preferred contact method.
b. Verify and enter the required contact details.
Select Create to submit the support request.
Once you've submitted your support request, Azure support will contact you. Quota requests may be completed within a few minutes or up to two business days.
Related quotas for VM pools
Batch pools in the Virtual Machine Configuration deployed in an Azure virtual network automatically allocate additional Azure networking resources. The following resources are needed for each 50 pool nodes in a virtual network:
These resources are allocated in the subscription that contains the virtual network supplied when creating the Batch pool. These resources are limited by the subscription's resource quotas. If you plan large pool deployments in a virtual network, check the subscription's quotas for these resources. If needed, request an increase in the Azure portal by selecting Help + support.