Notebooks
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!!!!
- Nvidia GPUs V100 are available in Tokyo, London, (Seoul)
- Nvidia GPUs P100 are available in Frankfurt
- Nvidia GPUs V100 AND P100 are available in Ashburn
- CPU only instances are availabe in Sydney, Zurich, Stockholm, Singapore, Hyderabat, Marseille, Santiago, Toronto, Sao Paulo
Then search for Data Science
under Machine Learning
then select your project compartment (in this example testproject
)
then click on create project:
enter a Name
and a Description
then click Create notebook session
Name the notebook session and select which resources you need:
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:
Once this is done (it will take 2-3minutes), you can open the notebook environment with a click on Open
:
Then you have to log in - leave Tenancy as brainhack
and click Continue
:
and you have a fully configured notebook environment :)
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:
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
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 :)
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: