anjanesh I don't know if it ticks all of the same boxes as Google Colab, but you can run Jupyter notebooks via JupyterLab on our service.
Note that this requires an AlmaLinux 9 server. If you would like to migrate to an AlmaLinux 9 server, first please read Migrating to another server and take all of the pre-migration steps required for your applications. After you've done so, please contact support to schedule the migration.
Here are the steps:
- Create a new Nginx proxy port app and assign it to a site. Make a note of the app's port number.
- Log in to SSH as the app's shell user and run the following commands, replacing NAME_OF_YOUR_APP with your app name:
cd ~/apps/NAME_OF_YOUR_APP
mkdir tmp notebooks
export TMPDIR=$PWD/tmp
python3.13 -m venv env
source env/bin/activate
pip install jupyterlab
jupyter lab --generate-config
jupyter lab password
- Follow the prompts in your terminal to set the password.
- Edit the file
~/.jupyter/jupyter_lab_config.py
to uncomment and set the following settings, replacing XXXXX with your app's port assignment:
c.ExtensionApp.open_browser = False
c.ServerApp.allow_origin = '*'
c.ServerApp.allow_remote_access = True
c.ServerApp.port = XXXXX
- Finally, start the app with the following command, replacing NAME_OF_YOUR_APP with your app name.
daemonize -c $HOME/apps/NAME_OF_YOUR_APP/notebooks -a -o ~/logs/apps/NAME_OF_YOUR_APP/output.log -e ~/logs/apps/NAME_OF_YOUR_APP/error.log -p ~/logs/apps/NAME_OF_YOUR_APP/pid ~/apps/NAME_OF_YOUR_APP/env/bin/jupyter lab
At this point JupyterLab should be up and running on the URL of the site you created in step 1. You should be able to log in with the password you set in step 2 and start working with Jupyter notebooks.
To stop the app, run:
kill $(<~/logs/apps/NAME_OF_YOUR_APP/pid)
Hope this helps 🙂