Project quotas and limits
Project quotas and limits apply to resources:
Project quotas and limits for the cloud platform
The default settings in each project are project limits — limits on the creation of cloud platform resources. Project limits can only be changed through technical support.
Within the project limits, users with certain roles can increase or decrease quotas to resources in the control panel or via API, more details in the subsection Change quotas.
Project limits
In projects is allocated a limit per resource — is the maximum number of resources that can be created in one project. The limits are set automatically when you create a project.
The limits of a single resource may vary from one resource to another pools and pool segments. By default, the limits of a particular resource in one pool or pool segment are the same across all projects in the account.
You can increase the limit any project through technical support. You can set different limits for different projects. Limits can be increased automatically as the product is used.
Increase the project limit
Different limits can be set for different projects.
- Create a ticket. Limits will increase in only one project.
- Increase quotas.
quotas
Quotas can be used to limit the creation of cloud resources in a project — to consumption control and cost containment.
When the resource quantity reaches the quota value, the resource will stop being created. For example, you have allocated a quota in one project to create ten vCPUs in the ru-7a pool segment. Until you increase the quota, no more than ten vCPUs will be created. You can completely limit resource creation by setting the quota equal to zero.
When a project is created, quotas are allocated to each resource by default equal to project limits. The quota values of a single resource may differ from one resource to another pools and pool segments. You can quota change within the project limit.
Unused quotas are not paid for — you pay only for the resources you use. For example, if you allocated a quota for ten public IP addresses, but created three IP addresses, only three addresses will be charged.
Change quotas
The quota value for each resource can be increased or decreased, but only within the limits of the project limit. A single resource can be allocated different numbers of quotas in different pools and pool segments.
You can change all project quotas at the same time: increase to the maximum (project limit) or reduce to the current consumption.
Quotas can be changed via Quota Management API or in the control panel.
-
In control panels go to Identity & Access Management → Projects.
-
Open the tab Quotas and limits.
-
Select region and pool where the quotas need to be changed.
-
In the row of the desired quota in the column Quota click .
-
Specify a new quota value. The quota value must not be less than the current consumption, it can be viewed in the column Used. If you have reached the maximum quota value, increase the project limit.
-
Click .
-
Optional: to change all project quotas at the same time:
- increase to the project limit — click Maximize;
- reduce to the current consumption — press Reduce to consumption.
View cloud platform quota consumption
You can see the current consumption of the project, the maximum possible consumption for the current number of quotas (how much the project will spend if all quotas are used) and the current number of used quotas for each resource and pool.
- In control panels go to Identity & Access Management → Projects.
- Open the project page → tab Quotas and limits → Cloud platform.
- On the line Current consumption of the project look at how much money the project is consuming right now.
- To see the maximum possible consumption of the project, click How much will the project consume if I use all the allocated quotas?
- In the table, in the column Used see the current quota consumption of each resource.
Project limits for object storage
By default, object storage has no limits, you can store any amount of files as long as there is money in your balance to pay for the storage.
To control the amount of downloaded data and resource consumption, you can set a limit on the amount of data stored in all project containers. You can set limits for a specific container separately, see the instructions for more details Container limits.
If the limit is set:
- when 90% of the storage space from the set limit is occupied, a warning message will appear in the control panel;
- when the limit is reached, a notification will appear in the control panel and the repository will return an error when you try to load objects. To continue loading, free up space or increase the limit.
Set limit
- In control panels go to Identity & Access Management → Projects.
- Open the project page → tab Quotas and limits → Object Storage.
- Select region and pool where you need to set the limit.
- Click Change the limit.
- Turn on the toggle switch Maximum size.
- Enter the limit value in gigabytes.
- Click Save.