Oracle AI Data Platform provides a unified environment where teams can organize data, run analytics, and build AI solutions collaboratively. One of the key components of the platform is the AIDP Workbench, which allows users to create workspaces, configure compute clusters, and develop notebooks for data analysis and machine learning tasks.
In the previous blog, we learnt how to provision an Oracle AI Data Platform instance from Oracle Cloud Infrastructure console. In this blog, we will walk through the step-by-step process of setting up a workspace, creating a compute cluster, installing libraries and attaching the cluster to a notebook. This guide is intended for beginners who are getting started with Oracle AI Data Platform.
Prerequisites
Before starting, make sure:
- You have access to Oracle AI Data Platform Workbench
- You have the required permissions to create workspaces and compute clusters
- Your environment is active and properly configured
Setting up a New Workspace
Workspaces are containers that help teams to organise Notebooks, Files, Folders, Workflows and Compute Clusters in the AIDP Workbench, in a way that makes sense to business users. To create a Workspace, navigate to your Oracle AIDP Home page. Click on Create.

In the Create Workspace page, add a Name to your workspace. Optionally, add a Description. Select the Default catalog and click Create.

You should be able to see the workspace once it is created is created.

Now that my workspace is created and is Active, navigate to the workspace by clicking on the workspace hyperlink. AIDP workbench will automatically created a Shared Folder.

To create a Folder, click the Add button and select Folder.

Name your folder and click Create.

You can change the Permissions to the Workspace from the Permissions tab.

You can give permissions to either Users or Roles to the workspace.

You can restrict access to each of the folders by clicking on the options menu and then clicking on Permissions.

Create Compute Cluster
A compute cluster provides the processing power required to run notebooks, Python files, SQL queries and workloads. To create a Compute Cluster, navigate to the cluster menu under the workspace and click on Add.

Provide the required details – Cluster Name, Runtime Version, Driver Node and Worker Node. These settings define the cluster size and performance.

You can also configure the Number of workers, Runtime duration and Spark configurations. Click Create to provision the cluster.

The cluster will be created.

Installing libraries
Before we start using a notebook, we need to install the Python libraries at the cluster level. We will specify the libraries that we need to install in requirements.txt file. Navigate to the main workspace page. Click on the Linear_Algebra folder that we had created.


Save the changes.

Navigate back to the cluster and open the Library tab.

Click on the Add button, select the requirement.txt file and click Install.

The libraries will be installed and be ready to be used in any notebook.

Adding a Notebook
To add a notebook, navigate to the folder we created earlier and click Add. Select Notebook.

Rename the file.

Before running notebook code, we need to attach the compute cluster. Without attaching a cluster, notebook cells cannot be executed. To attach the cluster, select the cluster dropdown and attach the cluster we created earlier.

From the dropdown list, select Python or any other language as needed. I will select Python.

Add a cell and the python code and execute.

You should see the results.

By following the steps covered in this blog, you can quickly create a structured workspace, configure compute resources, install shared libraries, and start working with notebooks in Oracle AI Data Platform Workbench.
Hope this was helpful. Happy learning.
References

Leave a Reply