JupyterLab Workspace

Deploys a Instance with Python and JupyterLab pre-installed. Accessible through a browser. Useful for data science, ML experimentation, or quick Python development.

Architecture:

  • 1 Instance (StellarSurge — 4 vCPU, 16 GB RAM)

  • 1 private network (10.200.0.0/24)

  • 1 floating IP (public access)

  • 60 GB boot volume

  • Security group allows SSH, port 8888

What is automated:

  • Instance creation with selected flavor and image

  • Private network, subnet, and router

  • Floating IP assigned to Instance

  • Security group with ports 22, 8888

  • Python 3 venv created under dedicated jupyter user

  • Installed: JupyterLab, NumPy, Pandas, Scikit-learn, Matplotlib, Seaborn, Transformers, PyTorch (CPU)

  • JupyterLab configured with random password

  • Runs as systemd service (auto-restart on reboot)

  • Credentials saved to /root/.jupyter_credentials

Before you launch:

Update these parameters in the template or at launch time:

Parameter
Default
What to change

key_name

stack-test

Required. Replace with your SSH keypair name from Compute - Key Pairs.

image

Ubuntu 22.04 Updated

Change only if you need a different OS image.

flavor

StellarSurge

Minimum StellarSurge (4 vCPU, 16 GB). Do not use smaller flavors.

volume_size

60

Increase if you plan to work with large datasets (in GB).

public_network

Public

Do not change unless your cloud has a different external network name.

circle-info

key_name is the only parameter you must change before launching. Everything else works with defaults.

JupyterLab Template

Save as jupyterlab.yaml and upload via Orchestration or Past Direct.

Access:

  • JupyterLab: http://floating-ip:8888

  • SSH: ssh ubuntu@floating-ip

  • Password: sudo cat /root/.jupyter_credentials

Deploy:

  1. Upload jupyterlab.yaml

  2. Select keypair, flavor, image

  3. Launch stack

  4. Open http://floating-ip:8888 and enter the password from credentials file

circle-info

Note: First boot takes 5–8 minutes for pip packages to install. If port 8888 is not responding, wait and retry.


Last updated