Skip to main content

Jupyter Deploy

Jupyter deploy is an open-source command line interface tool (CLI) to deploy and manage interactive applications such as JupyterLab to the Cloud.

Documentation: jupyter-deploy.readthedocs.io

Templates

The jupyter-deploy CLI interacts with templates: infrastructure-as-code packages that you can use to create your own project and deploy resources in your own cloud provider account.

Templates are nominally python packages distributed on PyPI. You can install and manage templates in your virtual environment with pip or uv. jupyter-deploy automatically finds the templates installed in your Python environment.

jupyter-deploy ships with a default template: jupyter-deploy-tf-aws-ec2-base. Refer to jupyter-deploy-tf-aws-ec2-base on PyPI for instructions on setting up the AWS infrastructure needed for your deployment.

Installation

Consider creating or activating a virtual environment.

We recommend using uv.

From your uv environment:

uv add jupyter-deploy

Or with pip:

pip install jupyter-deploy

The CLI

Entry points

From a terminal, run:

jupyter-deploy --help

# or use the alias
jd --help

# or use the jupyter CLI
jupyter deploy --help

Start a project

First create a new project directory:

mkdir my-jupyter-deployment
cd my-jupyter-deployment

In the rest of this page, we will use the default template.

# Get started with the default template
jupyter-deploy init .

# Or use the init flags to select another template that you installed in your virtual environment
jupyter-deploy init --help

# For example, the AWS EC2 base template
jupyter-deploy init -E terraform -P aws -I ec2 -T base . 

Configure your project

There are two ways to configure your project:


File based: Edit the variables.yaml file:

  • add required variable values in the required and required_sensitive section
  • optionally override default values in the overrides section

Then run:

jupyter-deploy config

Interactive experience: Alternatively, fill in the variable values from your terminal with:

# Discover the variables available for your specific template
jupyter-deploy config --help

# Run the interactive configuration and set the variables values as prompted
jupyter-deploy config

# Optionally save sensitive values to your project files
# Sensitive values are passwords, secret keys or API tokens that your applications
# need to access at runtime.
jupyter-deploy config -s

# Update a variable value afterwards (variable names depends on the template you use).
jupyter-deploy config --instance-type t3.small

Deploy your project

The next step is to actually create your infrastructure

jupyter-deploy up

Access your application

Once the project was successfully deployed, open your application in your web browser with:

jupyter-deploy open

You will be prompted to authenticate. You can share this URL with collaborators, they will prompted to authenticate on their own web browser.

Turn on and off your compute instance

The default template supports temporarily turning off your instance to reduce your cloud bill.

# Retrieve the current status of your compute instance
jupyter-deploy host status

# Stop an instance
jupyter-deploy host stop

# Restart it
jupyter-deploy host start

# You may also need to start the containers that run your application
jupyter-deploy server start

Winddown your resources

To delete all the resources, run:

jupyter-deploy down

License

The jupyter-deploy CLI is licensed under the MIT License.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyter_deploy-0.6.8.tar.gz (399.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyter_deploy-0.6.8-py3-none-any.whl (270.7 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_deploy-0.6.8.tar.gz.

File metadata

  • Download URL: jupyter_deploy-0.6.8.tar.gz
  • Upload date:
  • Size: 399.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for jupyter_deploy-0.6.8.tar.gz
Algorithm Hash digest
SHA256 cad3d3366a4874ec28371dd377e149960f65a2bc65737929ecb813890117de0f
MD5 c05307fe05021bfde7629c3d2f9cbce3
BLAKE2b-256 e46f222e920f8e91f0bade9e134e8aaf6ec5e3d788f5a32a2a9ca568e0e3aa01

See more details on using hashes here.

File details

Details for the file jupyter_deploy-0.6.8-py3-none-any.whl.

File metadata

  • Download URL: jupyter_deploy-0.6.8-py3-none-any.whl
  • Upload date:
  • Size: 270.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for jupyter_deploy-0.6.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4746e9ce3b19c0da4f5216a6af7c1946f109c3f4a8c7ca494573a6f2a0e90b2a
MD5 5a87d31b412b155a58656baf4f7b5e05
BLAKE2b-256 12c6b95a5136b6e7a39c339d5aada85e1eda22d5d0701f3d3d2c739b61f8df2b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.0

2 files

This release

0.6.8 This release

2 files

0.6.7

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.5.1

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.3.0

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 files

0.1.0a0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page