Viewing Usage Summary for Compartments

Compartments in Oracle Cloud Infrastructure (OCI) help you organize and control access to your resources. A compartment is a collection of related resources such as cloud networks, compute instances, or block volumes.

If you're using the Infrastructure Console, then you can view your service usage costs from the Account Management page. See Checking Your Balance and Usage in Oracle Cloud Infrastructure documentation.

If you’ve applied tags for your OCI compartments using the OCI console, then you can view their usage summary in Infrastructure Classic Console. For example, if you have a compartment called Sandbox for your test instances in OCI, then your tag should be: key=OCIcompartment, value=Sandbox. And, you can view its usage summary by selecting the appropriate tag in Infrastructure Classic Console.

  1. Sign in to Applications Console or Infrastructure Classic Console.
    Sign in to the Applications Console if you want to work with Oracle Cloud Applications. Sign in to Infrastructure Classic Console if you want to access Oracle Cloud infrastructure and platform services. If you see Infrastructure Classic at the top of the page when you sign in to Oracle Cloud, then you are using Infrastructure Classic Console and your subscription does not support access to the Oracle Cloud Console.
  2. Click Manage Account tile on the dashboard.
    The Usage page is displayed that shows the aggregated usage charges for individual services along with resource utilization and overages, if any.
  3. In the Usage Summary section, Click the Filter by tags text box and select the tag for OCI compartments. For example, OCIcompartment=Sandbox. You can select more than 1 tag.
The usage summary is filtered for the compartments you select.