Oracle Cloud Setup
This guide explains how to connect Oracle Cloud Infrastructure (OCI) to Cloudaware by generating key pairs in Cloudaware, configuring an OCI user with an API key and read‑only policies, and adding the tenancy in Cloudaware.
Before You Begin
Make sure that:
- You have access to Admin Console in Cloudaware.
- You have permission in OCI to create or manage the IAM user, groups, policies, and API keys used for Cloudaware access.
- You have the required OCI identifiers ready:
- Tenancy OCID
- User OCID for the user that will hold the Cloudaware API key
- Default region for API calls from Cloudaware
- You know whether Cloudaware should discover: the whole tenancy, or selected compartments only.
- You are ready to use a dedicated OCI IAM user and group for Cloudaware with read-only policies.
If you are new to Cloudaware and don’t have the account yet, use the Get Started guide to register a trial.
High-level Setup Flow
To integrate Oracle Cloud with Cloudaware:
- Generate a key pair in Cloudaware.
- Configure access for Cloudaware in Oracle:
- Upload the public key as API Key for the user
- Create a read-only policy for the user
- Add Oracle Cloud tenancy to Cloudaware.
Generate a Key Pair in Cloudaware
In Cloudaware, open the Oracle Cloud setup form:
- Go to Admin.
- Select Oracle Cloud.
- Click + ADD to add the tenancy.
- If Oracle Cloud is already configured, click CONFIGURED → select the Tenancies tab and click + ADD TENANCY.
- Use the link to create a private and public key pair (for initial setup) or proceed to the integration form.
- Fill out the form:
- Name: Enter a meaningful tenancy name.
- Tenancy OCID: Enter the tenancy OCID from OCI.
- Click GENERATE.
- Copy or download the public key when prompted; Cloudaware stores the key pair and lists it under the Key Pairs tab.
Upload the Public Key to the OCI User
In the Oracle Cloud console:
- Navigate to the user that will represent Cloudaware.
- Upload the public key as an API key for that user.
- After the key is uploaded, note:
- User OCID for that user.
- Fingerprint of the uploaded key.
- Default region you will use for API calls from Cloudaware.
Allow some time for OCI to propagate the new key configuration.
Create a Read‑Only Policy for the Cloudaware User
In OCI IAM:
-
Add the user to a dedicated group for Cloudaware (for example,
CloudawareReadOnly). -
Create or update a policy at the tenancy level using the following statement:
Allow group id <groupId> to read dedicated-vm-hosts in tenancyAllow group id <groupId> to read all-resources in tenancyAllow group id <groupId> to read compartments in tenancyWhere:
Replace
<groupId>with the ID of the group the Cloudaware user belongs to. -
If you prefer compartment‑scoped access, adjust
in tenancytoin compartment <compartmentName>as needed.
Add the OCI Tenancy in Cloudaware
Return to Cloudaware → Admin:
- Select Oracle Cloud.
- Open the Tenancies tab and click + ADD TENANCY.
- Fill out the form:
- Name: Enter a meaningful tenancy name.
- Default Region: Select the OCI region.
- Tenancy OCID: Select the tenancy OCID you configured when generating the key pair.
- Key Pair: Select the key pair generated earlier.
- User OCID: Paste the OCID of the OCI user where you uploaded the public key.
- Fingerprint: Paste the fingerprint of the uploaded key.
- Click SAVE.
After saving, the tenancy status indicator should turn green once Cloudaware successfully authenticates and begins discovery.
Verify the Connection
After setup:
- Confirm that the Oracle Cloud tenancy shows a healthy status in Cloudaware.
- Confirm that compartments and resources begin to appear in CMDB after discovery starts.
- If the connection validates successfully but no resources appear yet, wait for the next discovery cycle and check again.
For detailed steps, see Verification.
Next Steps
- Review Oracle Cloud Services Coverage and Oracle Cloud Resource Coverage to understand which Oracle Cloud services and objects Cloudaware discovers.
- If the tenancy remains unhealthy, see Troubleshooting or contact Cloudaware Support at
support@cloudaware.com.