Notebooks

Notebook service

Overview

The notebook service is like Google Colab, but without the time or resource limitations.

Starting a notebook environment

Select the geographic region where you want to run this (e.g. closest to you).

!!! Important: If you want to use GPUs you need to select a region that has GPUs availabe!!!!

  1. Nvidia GPUs V100 are available in Tokyo, London, (Seoul)
  2. Nvidia GPUs P100 are available in Frankfurt
  3. Nvidia GPUs V100 AND P100 are available in Ashburn
  4. CPU only instances are availabe in Sydney, Zurich, Stockholm, Singapore, Hyderabat, Marseille, Santiago, Toronto, Sao Paulo

image

Then search for Data Science under Machine Learning image

then select your project compartment (in this example testproject) image

then click on create project: image

enter a Name and a Description image

then click Create notebook session image

Name the notebook session and select which resources you need: image

Set how much disk space you want under Block storage size (in GB), leave the Default networking and hit Create

It will now create everything for you: image

Once this is done (it will take 2-3minutes), you can open the notebook environment with a click on Open: image

Then you have to log in - leave Tenancy as brainhack and click Continue: image

and you have a fully configured notebook environment :) image

The notebook environment uses Oracle Linux as a base image, so if you want to install additional packages use:

sudo yum update
sudo yum install ...

Hint for collaborating with multiple people: Multiple users can login to the same notebook system and work on separate notebooks simultaneously, but avoid editing the same notebook file - otherwise you risk overwriting your changes: image

Clean up for the day

When completed for the day, you can save costs (especially important when using GPUs!) by deactivating the environment:

Close the window and hit Deactivate image

This will shut down the compute instances but keep your data - so if you want to continue later, a click on Activate will bring everything back :) image

When reactivating you could even change the resources provided for the environment (e.g. adding a GPU or changing to a CPU only environment to save costs) :)

Clean up for good

If you don’t need the notebook environment anymore you can delete everything (including the data) by More Actions -> Delete

A quick confirmation and a click on Delete will remove everything: image

Last modified June 18, 2022: Update notebooks.md (680d480)