Cloud Quota Manager concepts
Note
When designing an infrastructure, one should consider the quotas and limits the cloud resources are subject to. Cloud Quota Manager allows you to manage quotas of your Yandex Cloud services using different interfaces. Some services, such as SpeechKit and Yandex Cloud Video, are not available in Cloud Quota Manager.
Quotas are limits on the amount of resources you can use in cloud. These are organizational limits that can be changed as needed. Quotas help you avoid overspending and excessive use of resources through sensible budget planning and consumption management.
The two concepts in quota management are:
-
Quota limit or just quota: Current limit in place for a resource for a cloud or organization.
-
Quota usage: Amount or size of the actually used resource.
For example, your quota of VMs in the cloud is 12. Quota usage will range from 0 to 12, representing the number of currently used VMs. If you need more VMs than that, you need to increase the quota, e.g., to 25. Quota usage will thus range from 0 to 25.
Potentially, you can increase your quotas up to the limits.
Limits are technical constraints due to the Yandex Cloud architecture, physical characteristics of the hardware, or external limitations. For example, the Certificate Manager limits are dictated by the Let's Encrypt certification rules in place.
The diagram below illustrates the relationship between quotas and limits.
Quotas are allocated and applied at the Yandex Cloud cloud level; they are distributed between all the folders and services.
Cloud Quota Manager helps you monitor your quota values and usage automatically. Use the API methods to get notified as soon as your consumption hits the threshold values. It means you will never be late to increase your quota, prevent an abnormality or excessive consumption.
You can choose between the following interfaces for quotas: the console
Quota allocation
When you create a cloud, the default quotas are allocated automatically. When you update a quota, its default value is not saved. You cannot reset a quota to its default value.
There are no quotas for some resources. You will see Quota not allocated next to these resources in the console.
Quotas can potentially be increased up to the limit values. Quotas do not guarantee that resources are available.
Quota management via the CLI and API relies on quota ID in <service_name>.<resource_name>.<unit_of_measurement> format, e.g., dns.zones.count, serverless.networkPackets.rate, or mdb.memory.size.
See Yandex Cloud service quotas for quota IDs and default quotas for all Yandex Cloud services.
You can look up quota usage info in the console on the Cloud Quota Manager
Why quotas are needed
Quotas serve as a soft constraint for requesting resources and allow you to manage cloud service usage: with quotas, new users cannot take up too many resources for testing purposes.
Resource types
In Yandex Cloud, quota management is based on the resource hierarchy. Therefore, you will need to specify the resource type in the CLI command or API request:
resource-manager.cloudorganization-manager.organizationbilling.account