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 usage 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:

Console Dashboards Integration

You can use Console Dashboards to get a quick view of billing and cost management information in your tenancy.

Use the following billing and cost management widgets on your dashboard:

  • The Infrastructure Billing Widget widget lets you quickly view your current charges or usage and the days elapsed in your billing cycle, depending on the account type.
  • The Cost Management Widget widget integrates with Cost Analysis and helps you track and optimize your Oracle Cloud Infrastructure spending, by generating charts and reports of aggregated cost data.

See Overview of the Console Dashboards Service and Configuring Widgets for more information on using Console Dashboards and dashboard widgets.

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.

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.