Using Graph Studio with Resource Analytics

Use Graph Studio with Resource Analytics to visualize the OCI resources being used.

This feature, gives users a detailed and intuitive overview of their OCI resources using Graph Studio. By providing a visual map of resource relationships, it lets users trace how different resources are interconnected within their cloud environment.

As a part of Resource Analytics Graph offering, the following notebooks are available:

  • Release Notes: This text-only notebook acts as a quick guide for your resource exploration
  • Property Graph Creation Notebook Release 1.1: This notebook needs to be run only once by the OCIRA_GRAPH_ADMIN user. When run, this notebook creates property graphs for you. These property graphs are referenced in the explorer notebooks.
  • Resource Explorer Notebooks: Sample notebooks for exploring the property graphs created after running a Property Graph Creation Notebook.
    Note

    These notebooks contain sample paragraphs, you can do a lot more by creating your own paragraphs when you get started.
  • Template: This helps you get a standard visual representation for the graphs that are created.

Before You Begin

Before you can use Graph Studio with Resource Analytics you must take these steps.

Enable Public Access to ADW

Resource Analytics creates ADW with private endpoints by default. We recommend that you Enable Public Access on Private Endpoints, by specifying a collection of IPs or CIDR block, to access the ADW and Graph instances.

Resetting the OCIRA_GRAPH_ADMIN User Password

This user serves as the owner of the property graphs, which are shipped as part of the Resource Analytics Graph offering. Graphs are created in later steps. The OCIRA_GRAPH_ADMIN user is the only one with the privileges to share these property graphs with other graph users.

  1. Log in to ADW using the ADMIN user.
  2. Reset the password for the OCIRA_GRAPH_ADMIN user:
    ALTER USER OCIRA_GRAPH_ADMIN IDENTIFIED BY <your new password>;

Creating Graph Studio Users

This step can be done as and when you need a new user.

  1. Log in to ADW using the ADMIN user.
  2. Create a new database user:
    CREATE USER <user_name> IDENTIFIED BY <passsword>;
  3. Grant connect privileges:
    GRANT CONNECT TO <user_name>;
    ALTER USER <user_name> GRANT CONNECT THROUGH GRAPH$PROXY_USER;
  4. Grant the required role:
    GRANT GRAPH_DEVELOPER TO <user_name>;
    GRANT OCIRA_RO TO <user_name>;