Oracle Cloud Infrastructure (Beta)
Connecting Cloud Ctrl to your Oracle billing data requires granting access to the automatically generated 'Cost reports'. These reports are created every six hours, and are stored in an Oracle owned Object Storage Bucket.
Cloud Ctrl consumes the data from the reports and does not require direct access to you Oracle account.
Tips
More information about Oracle 'Cost reports' can be found here
Configure IAM Policy
To use the system generated 'Cost reports', the following IAM policy is required to be granted by an administrator.
define tenancy usage-report as ocid1.tenancy.oc1..aaaaaaaaned4fkpkisbwjlr56u7cj63lf3wffbilvqknstgtvzub7vhqkggq
endorse group <group> to read objects in tenancy usage-report
Configure Required Keys and OCIDs
To connect to Oracle's API, Cloud Ctrl will need the following
- Create a user in IAM for Cloud Ctrl, and put that user in at least one IAM group with any desired permissions. See Adding Users. You can skip this if the user exists already.
- These items:
- RSA key pair in PEM format (minimum 2048 bits). See How to generate an API Signing Key
- Fingerprint of the public key. See How to get the key's fingerprint
- Tenancy's OCID and user's OCID. See Where to get the Tenacy's OCID and User's OCID
- Upload the public key from the key pair in the Oracle Console. See How to upload the Public Key
Add a Credential and Cloud Account
Add a Credential
- Go to Settings → Cloud Connections → Oracle Cloud
- Click + Add Credential
Supply a name for the credential, this is an internal name used within Cloud Ctrl for you to be able to identify this connection amongst multiple connections, unless you have multiple Oracle connections then Oracle is a suitable name.
Attach or paste in the PEM Credentials created in the step above, as well as the Tenancy and User IDs and the Fingerprint for the created public key.
Add a Cloud Account
Once your credential is saved:
- From Settings → Cloud Connections → Oracle Cloud, scroll down to the Cloud Accounts section
- Click + Add Cloud Account
- Select the credential you just added
- Click Submit