How Are Compartment Quotas Applied In Oracle Cloud Infrastructure



Compartment quotas in Oracle Cloud Infrastructure (OCI) are a way to manage resources and control spending in your OCI tenancy. They allow administrators to set limits on the amount and type of resources a compartment can consume, ensuring that usage stays within organizational policies and budgets. Here’s how compartment quotas are applied:

  1. Defining Policies: An administrator defines quota policies using the OCI Identity and Access Management (IAM) service. These policies specify the types and quantities of resources that can be created within a compartment.

  2. Policy Syntax: Quota policies are written in a specific syntax that the OCI understands. The policies can set quotas on various types of resources such as compute instances, block volumes, and network resources.

  3. Policy Application: Once written, the policies are applied to a compartment or a set of compartments. These policies are then enforced by OCI, which checks against the quotas when resources are requested.

  4. Resource Allocation: When a user or a service tries to create a new resource in a compartment, OCI checks the quota policies to ensure the request doesn’t exceed the allowed limits. If the action would exceed the quota, OCI denies the request.

  5. Quota Consumption Tracking: OCI tracks the resources consumed in a compartment against the defined quotas. Administrators can monitor usage to ensure that resources are being used efficiently and within the set boundaries.

  6. Adjusting Quotas: Administrators can adjust quotas as necessary, either increasing them to allow more resource consumption or decreasing them to tighten control.

  7. Automatic Enforcement: The quota system works automatically without any day-to-day intervention needed from administrators once the policies are in place.

To avoid issues with quotas and ensure that the necessary resources are always available, organizations need to:

  • Plan Quotas Carefully: Understand the workload requirements and set quotas that reflect the actual needs while leaving room for growth.
  • Monitor Usage: Regularly monitor resource usage against the set quotas to make informed decisions about adjustments.
  • Update Quotas Proactively: Update quotas before they become a bottleneck to avoid disruption of services.

Using compartment quotas effectively helps organizations to avoid over-provisioning and unexpected costs, while also enabling resource isolation and governance.

OCI Training Demo Day 1 Video:

You can find more information about Oracle Cloud Infrastructure application in this Oracle Docs Link



Unogeeks is the No.1 Training Institute for Oracle Cloud Infrastructure Training. Anyone Disagree? Please drop in a comment

You can check out our other latest blogs on Oracle Cloud Infrastructure (OCI) in this Oracle Cloud Infrastructure (OCI) Blogs

You can check out our Best in Class Oracle Cloud Infrastructure Training details here – Oracle Cloud Infrastructure Training

 Follow & Connect with us:


For Training inquiries:

Call/Whatsapp: +91 73960 33555

Mail us at:

Our Website ➜

Follow us:





Leave a Reply

Your email address will not be published. Required fields are marked *