/jupyter

📦 Simplify management of data science applications using The Ops Platform 🚀

Primary LanguageJavaScriptMIT LicenseMIT

Jupyter 🚀

An Op to create and destroy JupyterLab Servers for use in data science.

Requirements

To run this or any other Op, install the Ops Platform.

Find information about how to run and build Ops via the Ops Platform Documentation.

This Op requires credentials based on which cloud service you would like to deploy to. Instructions for acquiring the credentials for Google Cloud, AWS, or DigitalOcean follows (you only need creds for one).

For AWS

  • AWS Access Key Id: Generate via: AWS Management Console -> Security Credentials -> Access Keys
  • AWS Access Key Secret: Generate via: AWS Management Console -> Security Credentials -> Access Keys

For more information on creating AWS access keys see this guide.

For DigitalOcean

  • DigitalOcean API Access Token: Generate via : API -> Personal access tokens -> Generate new token

For more information on getting access tokens in Digital Ocean, see this guide.

For Google Cloud

  • Authentication will happen during the Op via a browser prompt.

Usage

Running ops run jupyter will start an interactive prompt to select your deployment configuration.

You can specify creation or destruction of a deployment and the cloud provider at runtime via arguments. Examples include ops run jupyter -s --google. Run ops run jupyter -h for a breakdown of the valid flags.

Local Development

To develop and run Ops locally:

  1. Clone the repo git clone <git url>
  2. cd into the repo directory and install dependancies with npm install
  3. Run the Op from your local source code with ops run path/to/op

Resources

JupyterLab

AWS

DigitalOcean

Google Cloud