Manually Configuring a Data Science Tenancy
In this tutorial, you set up your tenancy for Data Science and test it by creating a notebook session.
This tutorial is directed at administrator users because they are granted the required access permissions.
In this tutorial, you are:
1. Creating a Data Scientists User Group.
2. Creating a Compartment for Your Work.
Before You Begin
To perform this tutorial, you must have the following:
-
A paid Oracle Cloud Infrastructure (OCI) account, or a new account with Oracle Cloud promotions. See Request and Manage Free Oracle Cloud Promotions.
- Administrator privilege for the OCI account.
-
At least one user in your tenancy who wants to access the Data Science service. This user must be created in IAM.
1. Creating a Data Scientists User Group
Create a user group for the data scientists to work in.
2. Creating a Compartment for Your Work
Create a compartment for your data science resources.
3. Creating a VCN and Subnet
Create a virtual cloud network (VCN) for use by the Data Science service.
For a private subnet to have egress access to the internet, it must have a route to a NAT Gateway. For egress access to the public internet, we recommend that you use a private subnet with a route to a NAT Gateway. A NAT gateway gives instances in a private subnet access to the internet.
4. Creating Policies
Before users start their notebook sessions, you have to configure the Data Science policies.
5. Creating a Dynamic Group and Writing Policies for it
Create a dynamic group for Data Science resources and allow this dynamic group to access other OCI resources, such as Object Storage and Logging.
To give permission to OCI resources to access other OCI resources, first, you add the resources to a dynamic group, instead of a user group. Then you write policies to allow the dynamic group to access specified resources. Here, your dynamic group has three Data Science resources: notebook sessions, model deployments, and job runs.
6. Creating a Notebook Session
Lastly, create a notebook session and test its access to the public internet.
What's Next
You have successfully set up a Data Science tenancy and created a Data Science project that includes a notebook session. You can now proceed to the following tasks: