rw

Published August 29, 2024.

Introduction Oracle Analytics Platform

The Oracle Analytics platform comprises OAC (Oracle Analytics Cloud) and OAS (Oracle Analytics Server). It supports the efforts of every analytics user role. AI and ML are embedded throughout the platform to accelerate productivity and power better business decisions. Features include:

  • Data visualization and storytelling
  • Machine learning
  • Mobile analytics
  • Open data source connectivity
  • Data preparation and enrichment
  • Enterprise data modeling

OAC PLATFORM


About

This post is a member of the Oracle Analytics Terraform series and a sequel to the Prepare for Oracle Analytics Services post. It guides you in deploying initial OCI (Oracle Cloud Infrastructure) identity components for Oracle Analytics services using OCI Cloud Shell and the OCI Terraform provider.

It includes architectural diagrams, a deployment module, and links to other references.


Prerequisites

Following the guidance in this post requires:

  • An existing OCI tenancy.
  • An OCI Administrator with the authority to:
    • Manage Compartments
    • Manage Identity Domains
    • Manage Policies
    • Use Cloud She

Topics
rw
Architecture
Initial State

Slide53

This diagram depicts the OCI region in a customer tenancy where Oracle Analytics services are deployed.


Prepared State

Slide55

This diagram depicts the recommended initial OCI components before provisioning Oracle Analytics services.

rw
Components

The components are descriptions are found in the Prepare for Oracle Analytics Services post.

rw
Deployment

An OCI cloud shell simplifies OCI authentication and provides a standardized method for various workstations.

These initial components are deployed using a package of OCI Terraform resources run in an OCI Cloud Shell:

  • An example compartment.
    • An example identity domain.
      • An example user account.
    • If the deployment region is not the tenancy’s home region, the example identity domain is replicated to the region where components are deployed.

  • Example policies.

Follow these steps to deploy the example components:

The example compartment is created as a child compartment under the compartment hosting the identity domain you have signed into.

  1. Sign in to the OCI Tenancy console.
    • Change to the designated OCI Region for Oracle Analytics services.
       
  2. Download the deployment module (INIT_OA_COMPONENTS.zip) from here.
     
  3. Upload the deployment module. Click on
    Developer Tools
    Developer Tools and select Cloud Shell.
    • Click on the
      GearIcon
      Gear Icon and select Upload.
      • Drop or Select the ZIP archive package.
        Slide57
      • Click Upload.

         

    • In Cloud Shell, decompress the uploaded package.
cd; [ -d INIT_OA_COMPONENTS ] && rm -r INIT_OA_COMPONENTS; unzip INIT_OA_COMPONENTS.zip;
  1. Deploy the components.
cd ~/INIT_OA_COMPONENTS; source setup.sh \
> >(tee -a INIT_OA_COMPONENTS_setup.log) 2> >(tee -a INIT_OA_COMPONENTS_setup.log >&2)

Note: Wait for all components to finish. Domain replication, if necessary, can take 10 minutes or more.

Important : Look for an email from Oracle <no-reply@oracle.com> with the subject of “Secondary domain creation”. Click Sign In and create/reset a password for the Example.ServiceAdmin user account.

Secondary_Domaiin_Creation

Optionally, view the setup log file.

cd ~/INIT_OA_COMPONENTS; more INIT_OA_COMPONENTS_setup.log;
  1. Save the terraform state.

Additional blog posts in this series build upon the components just deployed. These examples have you sign in as the Example.ServiceAdmin user created in the new Example_Domain. As this is a different user account, the terraform state must be downloaded and uploaded to that user’s cloud shell.

Download the terraform state zip file. The file’s name, e.g., INIT_OA_COMPONENTS-2024-09-03-04:46:59.zip, is displayed in the last line of the setup output. Double-click the file name to copy it to the clipboard.

  • Click on the
    GearIcon
    Gear Icon and select Download.
    • Paste the Terraform state zip file name.

      Download_Terraform_State

    • Click Download.
  1. Validate the components using the OCI console.
    • Navigate to Identity & Security > Compartments.
      • Navigate to the parent compartment.
      • View the child compartment, i.e., Demo_Compartment.
    • Navigate to Identity & Security > Domains.
      • Select the Demo_Compartment.
      • Click and view the example identity domain, i.e., Example_Domain.
      • From the menu on the left of the screen, click Users and view the example User, i.e., Example.ServiceAdmin.
    • Navigate to Identity & Security > Policies
      • Select the Parent Compartment.
      • Click the example policy, i.e., Example_Policy, and view the policy rule.
rw
Removal

If desired, the deployed components can be removed by following these steps:

Note: The example identity domain is deactivated before the components are removed.

  1. Sign in to the OCI Tenancy console.
  2. Change to the designated OCI Region for Oracle Analytics services.
  3. Click on
    Developer Tools
    Developer Tools and select Cloud Shell.
  4. Run the removal script.

Note: When prompted to approve the destroy step, type yes (case-sensitive).
Wait for all components to finish. Compartment removal can take 10 – 30 minutes or more.

cd ~/INIT_OA_COMPONENTS; source remove.sh > >(tee -a INIT_OA_COMPONENTS_remove.log) 2> >(tee -a INIT_OA_COMPONENTS_remove.log >&2)
  1. Optionally, view the removal log file.
cd ~/INIT_OA_COMPONENTS; more INIT_OA_COMPONENTS_remove.log;
  1. Validate the component removal using the OCI console.

    • Navigate to Identity & Security > Compartments.
      • Navigate to the parent compartment.
        • Ensure the Example_Compartment has been removed.
    • Navigate to Identity & Security > Policies.
      • Select the parent compartment.
        • Ensure the Example_Policy has been removed.
rw
Explore More

An example environment that is ready for OAC has been provisioned.

Explore more about Oracle Analytics by visiting the community, blogs, and library.


Explore Analytics Platform Features
rw
var coll = document.getElementsByClassName(“collapsible”); var i; for (i = 0; i < coll.length; i++) { coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block") { content.style.display = "none"; } else { content.style.display = "block"; } }); }