One of the important tasks of a Cloud Administrator/Cloud Architect is to check & track the usage and billing of the Cloud resources they use for their day-to-day business goals.
This blog post, in a detailed manner, discusses how to get the usage reports in Oracle Cloud Infrastructure (OCI) using the Cloud Console.
What Is Usage Reports In OCI?
A usage report is a breakdown of the consumptions of your Oracle Cloud Infrastructure resources such as the compute, networking, storage, etc where you get a report in the CSV format for audit or an invoice reconciliation task.
Why Is It Required?
Analyzing your Cloud Bill
- If you want to get a granular view of spending or find the ways to save, you need detailed information about your Oracle Cloud Infrastructure consumption. Usage reports enable you to gain more insight regarding your bill or create custom billing applications.
- The reports contain one record per resource (for example, an Instance, a DB system, or an Object Storage Bucket) per hour with metadata and tags.
- In addition to enabling the new billing scenarios, usage reports also provide transparency into how the billing system works. For example, you can now see how and where the rounding occurs, and how the resources that existed for less than an hour are billed.
- You can download the usage reports through the web-based console or by using APIs.
Optimizing your Cloud Usage
- You can manage your Cloud credits by analyzing the cost and optimizing the use of the Cloud resource to a certain bound.
How Does It Work?
- The usage report is automatically generated daily and is stored in an Oracle-owned Object Storage Bucket.
- It contains one row per each Oracle Cloud Infrastructure resource (such as for an Instance, Object Storage Bucket, VNIC) per hour along with the consumption information, metadata, and tags.
- A usage report generally contains the 24 hours of data usage although occasionally a usage report may contain the late-arriving data that is older than 24 hours.
- The usage reports are retained for a year.
Steps To Get the Usage Reports In OCI
1. Open the navigation menu, and under “Governance and Administration”, go to the “Billing and Usage Report”.
2. Click on the “Usage Report” and copy the policies for configuring the Usage Report.
Note: This is a one-time operation & after that, you will get all your usage reports under the “Usage Report” section.
3. Once you have copied both the policies mentioned in the second step, now you need to create a new policy and then define the policy which you have copied from the “Usage Reports” section.
Note: We will use the “Administrator” group for defining the second policy.
Open the navigation menu, under “Governance and Administration”, go to “Identity” and select “Policies”.
Note: Make sure you write both the policies at the same time.
4. Once you have successfully created the policy, go back to the “Usage Reports” section and all your usage reports will start reflecting. Now, you will be able to download your usage reports.
Hope you find this blog post useful in understanding the usage reports in Oracle Cloud Infrastructure.
If you hit any issues while creating or accessing the usage reports in Oracle Cloud Infrastructure, please post in the comment section & stay tuned for my upcoming blog posts where I will be sharing some Oracle Cloud Infrastructure (OCI) related useful content.
- Register For FREE Oracle Cloud Trial Account
- Oracle Cloud Infrastructure (OCI): Region, AD, Tenancy, Compartment, VCN, IAM, Storage Service
Begin your journey towards becoming an Oracle Cloud Certified Architect Associate by Joining the FREE Masterclass on How To Become Oracle Certified Cloud Architect Associate in 8 Weeks.