Overview of Compartment Quotas
Use Compartment Quotas in Oracle Cloud Infrastructure to control resource consumption within compartments.
Compartment quotas give tenant and compartment administrators better control over how resources are consumed in Oracle Cloud Infrastructure, enabling administrators to easily allocate resources to compartments using the Console. Along with compartment budgets, compartment quotas create a powerful toolset to manage your spending in Oracle Cloud Infrastructure tenancies. You can start using compartment quotas from any compartment detail page in the Console.
Compartment quotas are similar to service limits. The biggest difference is that service limits are set by Oracle, and compartment quotas are set by administrators, using policies that allow them to allocate resources with a high level of flexibility.
Compartment quotas are set using policy statements written in a simple declarative language that is similar to the IAM policy language.
Three types of quota policy statements are available:
set: Sets the maximum number of a cloud resource that can be used for a compartment.
unset: Resets quotas back to the default service limits.
zero: Removes access to a cloud resource for a compartment.
Some common questions about quotas are the following:
- Question: What are service family names, and where can I find
Answer: See Available Quotas by Service. Under each service, the family name is listed.
- Question: What are all the quota names and where can I find
Answer: See Available Quotas by Service, which lists all quota names under each service.
Compartment quotas are available on the Console's Limits, Quotas and Usage page, which you can use to automatically generate quota statements.
Quota Policy Quick Start
As a prerequisite, ensure you have the appropriate permissions to create quotas. See Authentication and Authorization for more information.
You can quickly create a quota policy for any resource by using the Console's Limits, Quotas and Usage page.
- Open the navigation menu and click Governance & Administration. Under Tenancy Management, click Limits, Quotas and Usage.
- Select the service and resource you want to create a quota policy for.
- In the table, click the and select Create Quota Policy Stub.
This selection allows you to automatically generate a quota policy statement that you can use to create quota policies in the Console's Limits, Quotas and Usage page. See Managing Quota Policies for more information on managing quota policies.