Introduction

Configuring Oracle Cloud (OCI) in OpsRamp involves creating users and IAM policies, obtaining necessary credentials from Oracle Cloud, and setting up the integration in OpsRamp. Follow the steps below to ensure a smooth setup process.

Create User and IAM Policies

  1. If a new user is needed to create API keys and access resources in the OCI tenancy, follow the steps mentioned in Create a new OCI user to create a new user.
  2. After creating a user or for an existing user, ensure they have the appropriate IAM policies assigned to their user group to access the required resources. Add the following permissions to the IAM policies for the user group:
    • If a user is unable to view or add API keys under My Profile → API Keys, ensure that the following permission is added to their IAM policy:
      allow group <GroupName> to manage api-keys in tenancy
    • To discover and monitor OCI resources across the tenancy, add the following permissions to the IAM policy:
      allow group <GroupName> to manage all-resources in tenancy

Get Credentials List from Oracle Cloud

To configure Oracle Cloud (OCI), you need to first get the credentials from Oracle Cloud (OCI) portal:

  1. Login to the Oracle Cloud (OCI) portal.
  2. Open the Profile menu and click My Profile.
  1. In the Resources section at the bottom left, click API keys.
  2. Click Add API key at the top left of the API keys list.

The Add API Key dialog box is displayed.

  1. Click Download Private Key.
  2. Click Add.

The key is added and the Configuration File Preview is displayed. Copy the required parameters and values displayed in the file snippet as you need to provide the values while creating OpsRamp integration.

OpsRamp Configuration

After you have copied all the details from your Oracle Cloud (OCI) account, use the details to install Oracle Cloud (OCI) integration on the OpsRamp console.

To install Oracle Cloud (OCI) integration:

  1. Click All Clients and from the drop-down list, select a client.

  2. Navigate to Setup > Account.

  3. On the ACCOUNT DETAILS page, select Integrations and Apps.

  4. The INSTALLED INTEGRATIONS page is displayed with all the installed applications.
    Note: If there are no installed applications, it will navigate to the AVAILABLE INTEGRATIONS AND APPS page.

  5. Click + ADD on the INSTALLED INTEGRATIONS page. The AVAILABLE INTEGRATIONS AND APPS page displays all the available applications along with the newly created application.
    Note: You can even search for the application using the search option available. Also, you can use the All Categories option to search.

  6. Click +ADD on the Oracle Cloud tile.
    The Add Oracle Cloud page is displayed.

  7. Provide the details in the ADD OCI page:

    • Name - Provide a name for the integration.
    • Select Regions - Enter list of regions for which you need to discover the resources.
    • Tenancy OCID - Enter Tenancy OCID that is saved while creating API Key in Oracle Cloud (OCI).
    • User OCID - Enter User OCID that is saved while creating API Key in Oracle Cloud (OCI).
    • Finger Print - Enter finger print that is saved while creating API Key in Oracle Cloud (OCI).
    • Confirm Finger Print - Reenter the finger print.
    • Upload Private Key file - Upload private key file that downloaded from in Oracle Cloud (OCI) portal.
  8. Click NEXT.

  9. Under FILTER BY RESOURCE TYPE select:

    • ALL: All the existing and future resources will be discovered.
    • SELECT: You can select one or multiple resources to be discovered.
  10. Select the required resource types.

  11. In the DISCOVERY SCHEDULE section, select Recurrence Pattern to add one of the following patterns:

    • Minutes
    • Hourly
    • Daily
    • Weekly
    • Monthly
  12. Click Finish.
    The application is now installed and displayed on the Installed Integration page. Use the search field to find the installed application.