oracle-samples / usage-reports-to-adw

Usage2adw is a tool which uses the Python SDK to extract the usage and cost reports from your tenant and load it to Oracle Autonomous Database. (DbaaS can be used as well) Authentication to OCI by User or instance principals.
Other
15 stars 9 forks source link

Usage2ADW - Oracle Cloud Infrastructure Usage and Cost Reports to Autonomous Database Tool

Getting Started

Usage2adw is a tool which uses the Python SDK to extract the usage and cost reports from your tenant and load it to Oracle Autonomous Database. (DbaaS can be used as well) Authentication to OCI by User or instance principals.

It uses APEX for Visualization and generates Daily e-mail report.

DISCLAIMER - This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes, and rather OCI's official cost analysis and usage reports features should be used instead.

For application issues, please open ticket at github issues

Developed by Adi Zohar, 2020-2024

Documentation

Cost Reports

Rate Card

Usage Reports

Daily E-Mail Report

Usage Reports Overview

A usage report is a comma-separated value (CSV) file that can be used to get a detailed breakdown of resources in Oracle Cloud Infrastructure for audit or invoice reconciliation.

How Usage Reports 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 instance, Object Storage bucket, VNIC) per hour along with consumption information, metadata, and tags. Usage reports generally contain 24 hours of usage data, although occasionally a usage report may contain late-arriving data that is older than 24 hours.

More information can be found at usagereportsoverview.htm

Installation

  1. Step by Step using Resource Management (Terraform)

  2. Step by Step Installation

  3. Step by Step Manual Installation

  4. Step by Step How to File

OCI SDK Modules and API used

Database Tables

3rd Party Dependencies including tested versions

Contributing

Usage2ADW utility is an open source project. Oracle gratefully acknowledges the contributions to Usage2ADW utility that have been made by the community. Before submitting a pull request, please review our contribution guide

Security

Please consult the security guide for our responsible security vulnerability disclosure process

My Other Projects

License

Copyright (c) 2024, Oracle and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/

See LICENSE for details.