Access JupyterLab on Dev Pod

JupyterLab is a web-based interactive development environment for Jupyter notebooks, code, and data. DGX Cloud Lepton provides a simple way to access JupyterLab on your Dev Pod.

Step 1: Create a Dev Pod with JupyterLab enabled

In the creation process, select a default image in the Container configuration section, there will be a Enable JupyterLab option available.

Enable JupyterLab 0.8x

Turn on the Enable JupyterLab checkbox, and create the Dev Pod, DGX Cloud Lepton will automatically install and launch JupyterLab in the container with a generated token.

After your Dev Pod is created, visit the details page, you can see the JupyterLab token under the JupyterLab tab.

Step 2: Create ngrok account

First, you need to create an ngrok account.

Go to the ngrok signup page, and follow the instructions to create a ngrok account.

Step 3: Get ngrok authtoken

Go to the ngrok authtoken page, click on the Copy button to copy the authtoken, and save it for later use.

get ngrok authtoken 0.8x

Step 4: Install and setup ngrok on the Dev Pod

Go back to the Dev Pod details page, switch to Terminal tab, in the web terminal, run the following command to install ngrok:

curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
  | tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
  && echo "deb https://ngrok-agent.s3.amazonaws.com buster main" \
  | tee /etc/apt/sources.list.d/ngrok.list \
  && apt update \
  && apt install ngrok

Then, run the following command to setup ngrok, replace $NGROK_AUTHTOKEN with the authtoken you copied in step 3.

ngrok config add-authtoken $NGROK_AUTHTOKEN

Step 5: Start ngrok

After the authtoken saved in the ngrok config, you can start ngrok on port 18889 via the following command.

ngrok http 18889

You will see the ngrok tunnel is started, and the public URL is displayed in the terminal.

start ngrok 0.8x
Note

If you want to run ngrok continuously in the background, you can follow the following steps:

  1. Run apt install tmux to install tmux.
  2. Run tmux to attach to the tmux session.
  3. Run ngrok http 18889 in the tmux session.
  4. Now you can detach from the tmux session by pressing Ctrl+b and then d.
  5. You can reattach to the tmux session by running tmux a.

Step 6: Access JupyterLab

Now you can access JupyterLab via the public URL you got in the previous step.

You will be prompted to enter the token that you got in step 1, and then you can start using JupyterLab.

access jupyterlab 0.8x

Next steps

If you want to access JupyterLab from a Dev Pod with custom image, you can follow this example for more details.

Copyright @ 2025, NVIDIA Corporation.