Checking Your Expenses and Usage

This topic describes how to analyze the Oracle Cloud Infrastructure costs associated with your account.

You can use the following cost-related tools in the Console, which can help you gain insight into your costs and attribution of Oracle Cloud Infrastructure resources:

Billing and Cost Management Required IAM Policy

To enable users to monitor the costs associated with your account, you will have to grant them access by writing a policy . If you're new to policies, see Getting Started with Policies and Common Policies.

See the corresponding required IAM policy topics for each Billing and Cost Management feature:

Working with Costs Analysis Tools

Cost Analysis is a visualization tool that helps you track and optimize your Oracle Cloud Infrastructure spending, allows you to generate charts, and download accurate, reliable tabular reports of aggregated cost data on your Oracle Cloud Infrastructure consumption. Use the tool for spot checks of spending trends and for generating reports. For more information, see Cost Analysis Overview.

To filter costs by dates
  1. Open the navigation menu and click Billing & Cost Management. Under Cost Management, click Cost Analysis.
  2. From Reports, select one of the predefined reports, or create a new one.
  3. In Start Date (UTC), select a start date.
  4. In End Date (UTC), select an ending date.
    Note

    Historical data is currently being back-filled for tenancies and may not appear immediately. As the process completes, up to twelve months of past consumption data will become available.
  5. Click Apply.
To filter costs by tags
  1. Open the navigation menu and click Billing & Cost Management. Under Cost Management, click Cost Analysis.
  2. From Filters, select the Tag filter. The Tag box is displayed.
  3. From Tag Namespace and Tag Key, select tagging filter options, and specify the match criteria.
  4. Click Select.
  5. Click Apply.
To filter costs by compartments
  1. Open the navigation menu and click Billing & Cost Management. Under Cost Management, click Cost Analysis.
  2. From Filters, select the Compartment filter. The Compartment box is displayed.
  3. Under Filter Compartments, select a compartment filtering option:
    • By name
    • By OCID
    • By Path (for example, root/compartmentname/compartmentname)
    Note

    Filtering by compartment displays usage and costs attributed to all resources in the selected compartments, and their child compartments.
  4. Click Apply.
To remove a compartment or tag filter
  • When you filter costs, a label appears under Filters with the name of the tag or compartment filter. To clear the filter, click the preceding X icon, or click Clear All Filters.

For more information on Cost Analysis field usage, see Cost Analysis Query Fields.