Using the Oracle Resource Manager to Configure Your Tenancy for Data Science
The Data Science service tenancy can be automatically configured, including OCI resources, using the OCI Resource Manager.
You can configure your tenancy with the Resource Manager using a predefined Data Science sample solution or your Terraform configuration.
Before You Begin
To configure a tenancy for the Data Science service, you must have:
-
An OCI tenancy.
-
The OCID for the compartment where you want to create your stack.
-
A user with an administrator privileges to run the Resource Manager stack or Terraform scripts.
-
Ensure that your tenancy has service limits availability for the OCI resources you want to use.
Tenancy Resources
The tenancy configuration includes these resources:
Component | Description | Default Name | Optional? | Notes |
---|---|---|---|---|
Group |
OCI Users Group |
|
Required |
All policies are granted to this group. Add users to this user group to grant them permissions. |
Dynamic Group |
OCI Dynamic Group |
|
Required |
Dynamic group for Data Science resources. |
Policies |
OCI Security Policies |
|
Required |
A policy with policy statements that enable access to Data Science and related resources for the user group and dynamic group. |
Vault |
OCI Vault |
Data Science Vault |
Optional |
Use Vault to store credentials rather than storing them in a Data Science Notebook. |
Vault Master Key |
OCI Vault Master Key |
Data Science Vault Master Key |
Optional |
Use a Vault master key to encrypt and decrypt credentials for secured access. |
Configuring a Tenancy Using a Sample Template
Configuring a tenancy using a Resource Manager Terraform configuration is creating a stack, selecting a template, providing identifying information for the new stack, and updating variables. You can always edit your stack later.
Templates are available using the Console only.
To see a list of the Data Science resources, under Resources, click Associated Resources.
Managing Stacks and Jobs contains details about Resource Manager stacks.
Alternatively, you could configure your tenancy using the script we have provided on GitHub and following the instructions in the README.md
file.