PierCloud FinOps Platform - Oracle Cloud Basic Configurations

Basic Configuration Process for Pier Cloud FinOps Platform

Welcome to Pier Cloud!

This document is intended to be a guide for you to prepare the environment so that Pier Cloud can install the Platform modules in your account.

The entire process will allow Pier Cloud to only read information, without any possibility of changing or deleting data from your account.

Configuring access to the billing report

  1. Access the URL https://cloud.oracle.com/ and log in as Administrator.

  2. In the side menu, click on Identity & Security and then on Policies.

Note: To perform this procedure, you must have the root 0 profile and access to the “Default (Current domain)” domain.

  1. Create the policy that grants billing access to the piercloud group. Enter the following statements:

  • define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq

  • endorse group piercloud to read objects in tenancy usage-report

  • allow group piercloud to inspect tenancies in tenancy

  • allow group piercloud to inspect compartments in tenancy

  1. When finished you will see the screen below:

  1. Click on Identity and then on Domains (Current domain) and select the domain.

  1. With the domain selected, click on Groups and create a new group with the name piercloud. In the form we have the option to add a user, but since we don't have one yet, we can just create the group.

  1. In this step, we will create the user who will have access to the billing reports.

In Identity, click on Users and fill out the form with the requested information. In this form, you can add the user that is being created to a group. Select the piercloud group that was created in the previous step.

  1. After creating the user, you need to generate an access key.

Click on API Keys, then Add API Key. Download the private key and then click on the Add button.

  1. After creating the access key, the page below will be displayed. Copy the generated data to perform the configuration on the PierCloud platform.

In the Pier Cloud Environment

Creating the Secret

  1. In the Pier Cloud platform, click on the User Icon, then go to Settings.

  1. In the left-hand menu, click Secrets, then click Add to create a new Oracle Cloud billing secret.

  1. Fill in the secret creation form:

    • Name: A friendly name for the secret

    • Type: Select OCI

  1. Upon selecting OCI, additional fields will appear. Fill them with the values copied from step 9:

    1. Region

    2. User

    3. Fingerprint

    4. Tenancy

    5. Private Key: Paste the contents of the .pem file downloaded in step 8.

  1. Click Save to create the secret.

Last updated