Before You Begin

This tutorial shows you how to use a Resource Manager template to set up Oracle Cloud Infrastructure Data Science resources in Oracle Cloud Infrastructure. The Data Science service is required for the PeopleSoft Cloud Manager auto-scaling feature. This tutorial takes approximately 30 minutes to complete.

See Using the Oracle Resource Manager to Configure Your Tenancy for Data Science, in the Oracle Cloud Infrastructure documentation.

Background

This is the eighteenth tutorial in the Install PeopleSoft Cloud Manager series. Read the tutorials in the order listed. The optional tutorials offer alternate methods for setup.

Step 1: Prepare to Deploy

Choose a compartment to install the Data Science stack. The resources, including IAM policies, that are created by the stack will be specific to the compartment that you select. You must use the same compartment to install the Data Science stack and for your subsequent Data Science operations.

Ensure that the user who deploys the Resource Manager stack for Data Science has Administrator privileges in the tenancy.

Step 2: Deploy the Resource Manager Stack for Data Science

Tip:

This tutorial shows you how to obtain a template for the Data Science stack from the Oracle Cloud Infrastructure console. Alternatively, you can download a zip file that contains the Resource Manager stack for Data Science from the GitHub web site (https://github.com/oracle-quickstart/oci-ods-orm). In that case, use the My configuration option on the Create stack page.

To obtain the Resource Manager stack for Data Science:

  1. On the Oracle Cloud Infrastructure Console home page, click the menu icon (Menu icon) and select Developer Services, then Stacks under Resource Manager.
  2. Click Create Stack.
  3. Select the Template option.
  4. Under Stack configuration, click Select template.
    Stack information, Select template
    Description of this illustration (datasci_stack_info_select_template.png)
  5. On the Browse templates page, select Service.
  6. Select the check box for Data Science and then click Select template.
    Browse templates, Service page
    Description of this illustration (browse_templates_select_datasci.png)
  7. Enter a name and description  for the stack, or accept the defaults.
  8. Select a compartment to create the Data Science stack.
  9. Enter tags if desired.
  10. Click Next
    Click Next on the Stack information page
    Description of this illustration (datasci_stack_info_page_next.png)

Step 3: Configure the Data Science Stack

  1. Accept the default names for the IAM group and policy configuration variables, or enter new names. Do not use spaces.

    The values are auto-populated from the template.

    • Group name for security policies
    • Dynamic group name for Data Science resources
    • Policy name (Compartment Level)
    Create stack page, Configure variables
    Description of this illustration (datasci_stack_conf_vars.png)
  2. Click Next.
  3. Review the details and clear the option Run Apply.
  4. Click Create. You are taken to the stack details page.
    Create stack, Review page
    Description of this illustration (datasci_stack_review.png)

Step 4: Run the Resource Manager Plan and Apply Jobs for the Stack

Run the Resource Manager Plan job to review the resources that will be created by the stack, then run the Apply job.

  1. On the stack details page, click Plan.
    Stack Details page
    Description of this illustration (run_plan_job.png)
  2. Accept the default name for the plan, and click Plan.
  3. When the status changes to Succeeded, the job logs are displayed. Review the logs for the apply job, which list the resources, including groups, users, and policies, that will be created.

    See the section Resources Created by the Resource Manager Stack for Data Science in this tutorial.

  4. Select Stack Details from the navigation at the top of the page. On the stack details page, click Apply.
  5. Accept the default name and the option to Automatically approve. Click Apply.
    Apply job frame
    Description of this illustration (run_apply_job.png)
  6. The job details page for the apply job appears. Wait for the job to complete.

Step 5: Add User to Group

The user that is added to the group created by the Data Science stack must have the privileges listed in the tutorial Manage Cloud Manager Users, Roles, and Permission Lists.

  1. On the job details page for the apply job, select Job resources from the links on the left.
  2. Select the action menu for the Data Science group, PSInfodevDataScienceGroup in this example, and select View Resource.
    Job details page, select View resource
    Description of this illustration (job_resources_view_res.png)
  3. On the Group Details page, click Add User to Group.
    Add user on Group Details page
    Description of this illustration (grp_details_add_user.png)
  4. Select the Cloud Manager user with the appropriate privileges, and click Add.
    Add User to Group dialog box
    Description of this illustration (add_user_to_group.png)

Step 6: Add Object Storage Bucket

The Cloud Manager auto scaling feature requires an Object Storage bucket for data upload and model training.

  1. On the Oracle Cloud Infrastructure Console home page, click the menu icon and select Storage, then Buckets under Object Storage & Archive Storage.
  2. Select the compartment where you deployed the Data Science stack, and click Create Bucket.
  3. Enter a name, such as TRAINING_DATA. Make a note of the name for use in Cloud Manager.
  4. Accept the default options, and click Create.
    Create Bucket page
    Description of this illustration (create_bucket_page.png)

Step 7: Configure Data Science Settings in Cloud Manager

Sign in to Cloud Manager to configure the Datascience Settings page.

See the section Data Science Settings Page in PeopleSoft Cloud Manager. Select the PeopleSoft Cloud Manager page on the Oracle Help Center.

Datascience Settings page in Cloud Manager
Description of this illustration (cld_mgr_datascience_settings_page.png)

Resources Created by the Resource Manager Stack for Data Science

Type Description
oci_identity_group IAM group for user (that is, the Cloud Manager user)
oci_identity_policy IAM policy rules for granting permissions to DataScienceGroup and DataScienceDynamicGroup
oci_identity_policy IAM policy rules at tenancy level
oci_identity_dynamic_group IAM dynamic group for Data Science service principals


Learn More