Oracle Cloud Infrastructure

Cloud Cost Optimization uses bill data to provide an accurate view of your costs across accounts and services. This data is consumed by the Flexera One platform and made available for pre-built and ad-hoc analyses. In order to gather the cost information, certain configuration steps must be performed with specific data and credentials being shared with Cloud Cost Optimization.

Cloud Cost Optimization integrates with Oracle Cloud Infrastructure (OCI) billing by querying OCI cost reports and downloading and processing them. For more information on Cost reports, see Oracle Cloud Infrastructure Documentation, “Accessing Cost and Usage Reports”.

To gather cost information from OCI, certain configuration steps must be performed with specific data and credentials being shared with Cloud Cost Optimization. This is currently a manual process assisted by Flexera, with an automated onboarding flow to follow in the future.

Note:Amortization is not currently supported.

The following steps must be completed for Flexera One to provide insight on your OCI bill:

Set Up Oracle Cloud Infrastructure Bill Connect

Note:Contact your Flexera account manager for more details on setting up an Oracle Cloud Infrastructure Bill Connect in Cloud Cost Optimization.

Automate Bill Ingestion

Set Up Oracle Cloud Infrastructure Bill Connect

Important:To set up an OCI bill connect, the Manage policies and Manage bill ingestion roles are required. For complete descriptions of each role available in Flexera One, see Flexera One Roles.

Common Bill Ingestion (CBI) is a feature of Cloud Cost Optimization in Flexera One capable of ingesting virtually any cost or usage time-series billing data. Flexera One supports the Oracle Cloud Infrastructure billing ingestion using CBI. To build CBI-friendly bills for Oracle and integrate them into Cloud Cost Optimization, see Common Bill Ingestion.

After the OCI bill connect is set up in Cloud Cost Optimization, the Flexera One Automation capability can automatically upload the bills on a regular frequency.

Automate Bill Ingestion

The Oracle Cloud Infrastructure billing ingestion is automated using the Flexera One Automation capability.

To automate the Oracle Cloud Infrastructure bill ingestion, perform the following steps:

1. Create the Oracle Cloud credentials to connect to the Oracle Cloud Infrastructure Object Storage bucket to access the cost and usage reports. For more information about creating the Oracle Cloud credentials, see Provider-Specific Credentials.

Important:You cannot add the Oracle Cloud credentials in Flexera One. To create the credentials, use the Credentials API.

Important:To use the cost and usage reports, the following permissions are required:

Define tenancy usage-report as [OCID]. Replace [OCID] with the OCID shown on the Cost & Usage Reports page in Oracle Cloud’s web UI.
Endorse group [Group] to read objects in tenancy usage-report. Replace [Group] with a group that the user associated with the Oracle Cloud credential is a member of.
2. Upload the OCI bill into Cloud Cost Optimization using the Bill Upload API.

Important:To connect with the Bill Upload API, create Flexera One Provider-Specific Credentials.

3. Apply the Oracle Cloud Common Bill Ingestion policy from the Automation Catalog page. This policy is also available in our open-source GitHub repository. To apply the policy, do the following:
a. Go to the Automation Catalog page (Automation > Catalog). By default, you will see all the available policies grouped by type and displayed in card layout view.
b. Search for the Oracle Cloud Common Bill Ingestion policy and click Apply. The Apply Policy: Oracle Cloud Common Bill Ingestion window opens.
4. In the Apply Policy: Oracle Cloud Common Bill Ingestion window, fill in the following configuration information for the policy:
a. From the Policy Schedule dropdown list, select the interval at which you want the policy to run. It’s highly recommended to leave the default frequency as 15 minutes.
b. From the Select Account dropdown list, select the account to which you want to apply the policy.
c. From the Select Credentials: flexera dropdown list, select the Flexera One OAuth2 credentials created in Step 2.
d. From the Select Credentials: Oracle dropdown list, select the Oracle Cloud credentials created in Step 1.
e. In the Block Size box, type the number of files that you want to store in a single block. The maximum number of files that you can store in a block is 20.
f. In the Oracle Cloud Cost & Usage Bucket box, type the OCID of the Oracle Cloud Object Storage bucket containing the cost and usage reports.
g. In the Flexera CBI Endpoint box, type the name of the Flexera CBI endpoint to use. For example, cbi-oi-oracle-oraclecloud.
h. In the Commit Delay (Hours) box, type the number of hours to wait between committing bill uploads.
i. In the Billing Period box, type the month for which you want to process bills for in the YYYY-MM format. Leaving it blank will set it to the current month.
j. In the Oracle Cloud Region box, type the region of the Oracle Cloud Object Storage bucket containing the cost and usage reports. For example, us-phoenix-1.
k. Click Apply Policy.