Arrakis / Blog / Start here
Jupyter on a Cloud GPU: The JupyterLab App or an SSH Tunnel
Jupyter on a cloud GPU is two minutes of setup once the machine runs. Rent the JupyterLab app and press Open, or start Jupyter on any machine and tunnel it over SSH. Both bill by the hour from a prepaid balance, and both have the same trap: the notebook you leave open overnight, billing every hour while you sleep.
Route 1: the JupyterLab app
The fastest path. JupyterLab with PyTorch and CUDA, ready when the machine is.
- Click Rent on a machine in the console and pick JupyterLab under Apps that open in your browser, in the image list.
- When the machine is ready, press Open on its page.
- Log in as
arrakiswith the password the console shows. That password is made for that machine and never reused.
The page is HTTPS, served by the machine itself. Your browser will warn about the certificate the first time, because the machine makes its own; the connection is still encrypted. Accept it once and carry on.
SSH works on the app exactly as on any rental, so a terminal is always one command away:
ssh root@<host> -p <port>From the API or an agent, the app is an image like any other: list the images (GET /v1/templates, or list_images over MCP) and pass its id as template_id when you rent.
Route 2: ssh -L on any machine
Already renting a machine with the default PyTorch image, or your own? Run Jupyter there and reach it through an SSH tunnel. Nothing listens on the internet; only your laptop can open it.
On the machine, inside tmux so it survives a dropped connection:
ssh root@<host> -p <port>
pip install jupyterlab
tmux new -s lab
cd /workspace && jupyter lab --no-browser --allow-root --ip=127.0.0.1 --port=8888Jupyter prints a URL with a token. Detach from tmux with Ctrl-b then d. On your laptop, open the tunnel and leave it running:
ssh -N -L 8888:localhost:8888 root@<host> -p <port>Now open http://localhost:8888/lab?token=... with the token Jupyter printed. --allow-root is there because you are root on a rented machine; --ip=127.0.0.1 keeps Jupyter reachable only through the tunnel.
Prefer typing ssh my-gpu? Copy the SSH config entry from the machine's page into ~/.ssh/config, then the tunnel is ssh -N -L 8888:localhost:8888 my-gpu. Several laptops or teammates? Each gets their own key: SSH keys for a GPU server.
Which route
| JupyterLab app | ssh -L | |
|---|---|---|
| Setup | Pick the image, press Open | Install, start, tunnel |
| Login | arrakis and a per-machine password |
Jupyter's token over your SSH key |
| Reachable from | The browser, over HTTPS | Only through your tunnel |
| Image | The JupyterLab app | Any image you like |
| Best for | Starting fast, no terminal needed | Your own image, your own Jupyter setup |
Want an editor instead of notebooks? The same app list has VS Code in the browser. The whole set is in ready-to-use GPU apps.
Which GPU for notebooks
Notebooks are exploration: load a model, poke at it, plot something. Size the GPU for the biggest thing you will load, not the biggest thing you can imagine.
| You are working with | GPU | Memory | Lowest price per GPU-hour now |
|---|---|---|---|
| Small models, data work, Qwen3.8-27B in 4-bit (17 GB) | RTX 4090 | 24 GB | the live price |
| The same, with room for long prompts and bigger batches | RTX 5090 | 32 GB | the live price |
| Qwen3.8-27B in 8-bit (33 GB) | L40S | 48 GB | the live price |
| Gemma 4 31B in 16-bit (75 GB) | H100 | 80 GB | the live price |
Memory figures are from our per-model facts. The GPU memory guide turns any model's size into the memory it needs.
First cell: check the GPU
Before you load anything big, make sure the kernel sees the card and how much of it is free:
import torch
print(torch.cuda.is_available(), torch.cuda.get_device_name(0))
print(torch.cuda.mem_get_info()) # free and total bytes on the GPUIf the first line prints False, the kernel is not running the Python that has PyTorch with CUDA. On your own image, install JupyterLab with the same pip that installed PyTorch, then restart it. !nvidia-smi in a cell shows the same card from the driver's side.
Stop paying for thinking time
A notebook session is mostly you reading, thinking and typing. The GPU bills the whole time. Three habits keep that in check:
- Set a removal time when you rent. The Rent sheet takes 1 hour to 3 days. Pick your session plus a margin, and the machine removes itself even if you forget.
- Stop it when you stop. Each started hour is charged in full, and the first hour is charged when the machine starts running. Stop now ends it at once; Stop later picks a time.
- Know the meter before lunch. A long break with the machine up is billed hours. Save, push, stop, rent again after; a new machine is usually ready to connect in 1 to 3 minutes.
Keep your work when the machine goes
Everything on the machine's disk, /workspace included, is deleted when it stops. Notebooks are files, so treat them like files:
- A volume at
/mntoutlives the machine and comes back on the next one. It is billed per GB-month of data held, and an empty one costs nothing. Copy datasets you read over and over to/workspaceonce (cp -r /mnt/datasets /workspace/): local disk is faster than network storage. Details: Volumes. - Git for the notebooks themselves: commit and push before you stop.
A volume makes the lunch-break habit painless. Save to /mnt, stop the machine, and after lunch rent a machine that takes a volume and attach the same one: notebooks, data and results are where you left them. Two cautions. One volume can be mounted on several machines at once and the last write wins, so two people with the same notebook open on two machines overwrite each other; give each person a folder. And leave public model weights off it: download them from Hugging Face to /workspace on each machine, and keep the volume for what only you have. The full pattern: persistent storage for cloud GPUs.
Secrets stay out of notebooks you save. On the ssh -L route, export them in the shell before you start Jupyter (export HF_TOKEN=..., as the images docs suggest for any secret) and every kernel inherits them. And remember that machines run on independent hosts who can see what runs on them: keep regulated data off.
Open a notebook on a GPU in two minutes
Rent with the JupyterLab image and press Open, or tunnel into any machine you already have. Find a GPU in the console.
New here? Use code FIRST25 for $25 off your first deposit of $50 or more, until 31 December 2026.
Rent the GPUs in this post
- RTX 4090the live price /GPU-hourRent
- RTX 5090the live price /GPU-hourRent
- L40Sthe live price /GPU-hourRent
- H100the live price /GPU-hourRent
New here? Use code FIRST25 for $25 off your first deposit of $50 or more, until 31 December 2026.
Lowest price now, per GPU-hour. Billed per started hour; stop any time.