Jupyter Notebooks
It is extremely common for data scientists and researchers to use Jupyter notebooks for exploratory data analysis. Rafay GPU PaaS provides a turnkey experience for users with a "Notebook as a Service" type experience.
Rafay also provides a number of profiles for notebooks that allow users to spin up environments preloaded with the required libraries and frameworks.
New Notebook¶
To create a new notebook,
- Select notebooks from the menu on the left of the console
- Click on add/new notebook
- Select a suitable notebook profile that suits your requirements
- Provide a name for the notebook (optional description, display name)
- Select the compute instance from the drop down you would like to deploy the notebook to
- Click on save and launch the notebook.
It can take a few minutes for the notebook and associated software components to be deployed and ready for use.
Info
Users can deploy multiple notebooks on an instance. The only constraint is whether the underlying instance has the resources required for all the notebooks.
Notebook Profiles¶
A notebook profile maps to a notebook pre-installed and pre-configured with the required frameworks, libraries and software add-ons that match the profile. Profiles allow the data scientist to start using the notebook right away instead of wasting time trying to install and configure all the software on top of the notebook.
Profile | Description |
---|---|
Minimal | Basic libraries and frameworks only |
Data Science | With common libraries for data science |
Spark | With libraries required for Spark |
Tensorflow | With Tensorflow libraries |
Tensorflow with CUDA | With Tensorflow and CUDA libraries |
PyTorch | With PyTorch libraries |
PyTorch with CUDA | With PyTorch and CUDA libraries |
Use Notebook¶
Once a notebook has been successfully deployed onto a compute instance, the user is presented with the URL for the notebook and a token (authentication credentials) to securely access the notebook. To access the notebook, the user can either click on the URL or copy/paste it into a web browser.
They need to then provide the access token as a credential before they can access the Jupyter notebook.
View Notebook¶
Clicking on the notebooks menu will list of all the notebooks the user has access to. Note that notebooks may span different workspaces and different instances. To view details about a specific notebook, users just need to click on the name of the notebook.
Delete Notebook¶
To delete a notebook, users should click on the ellipses on the far right of the selected notebook and select delete.
Info
Once deletion has been initiated, it cannot be stopped or reversed. Users can create a new notebook if required.