Resource Usage Limits
Usage limits help you control how many dev environments a user can run at the same time and how resource-intensive they can be. This prevents infrastructure overuse, protects shared resources, and ensures fair access across teams.
How it works
The number of dev environments a user can run at the same time is measured by the concurrent usage cost of the dev environments.
Each instance type has a configured Usage cost (default: 0), which reflects the resource consumption of a dev environment based on that type.
Each user has a personal concurrent usage limit. If the total cost of their currently running dev environments exceeds this value, they can't start a new one until usage drops back below the limit.
The user's personal limit is calculated as follows:
Personal limit = Global limit + Sum of limits of all groups the user belongs toFor example:
The global usage limit is
6.0
and the user belongs to two groups:Group A – additional limit
2.0
Group B – additional limit
1.0
Their total usage limit is
6.0 + 2.0 + 1.0 = 9.0
The system has two instance types:
small
– usage cost1.0
large
– usage cost3.0
Based on these values, the user can simultaneously start:
9
small
environments (9 × 1.0 = 9.0)3
large
environments (3 × 3.0 = 9.0)1
large
and 6small
environments (3.0 + 6.0 = 9.0)and so on, as long as the total cost of running dev environments does not exceed
9.0
If a user tries to start a dev environment that would exceed their limit, the environment will fail to start with an error.
Set global usage limit
Select Administration in the header navigation, then in the sidebar menu, select Usage Limits.
Click Edit.
In Default concurrent usage limit, enter a numeric value. This limit applies to all users in the system.
Click Save.
Set additional usage limit for a group
Select Administration in the header navigation, then in the sidebar menu, select Groups.
Create a new group or edit an existing one. Learn how to create groups
In Additional concurrent usage limit, enter a numeric value (e.g.,
5.0
).Add users to the group. They will receive the additional limit on top of the default limit.
Set usage cost for an instance type
Select Administration in the header navigation, then in the sidebar menu, select Instance Types.
Create a new instance type or edit an existing one. Learn how to create instance types
In Usage cost, enter a numeric value (e.g.,
1.0
).Click Save.