Skip to main content

A simple creator of machines with Jupyterlab

Project description

labmachine

This is a POC with two purposes: refactoring a cluster package from labfunctions and allowing the creation and self registering of a jupyter instance.

This work was inpired by Let Deep Learning VMs and Jupyter notebooks burn the midnight oil for you

Right now only works for Google Cloud but should be easy to expand to other providers.

For examples, see examples

See infra_[cpu|gpu].py and lab_[cpu|gpu].py

infra_* files are raw implementacion of the cluster library.

Lab files are abstractions built over this library for jupyter lab provisioning.

Features

  • VM creation (Google)
  • Jupyter on docker
  • SSL certificates (ZeroSSL & Caddy)
  • Volumes managments (Creation, Resizing, deletion, formating, etc)
  • DNS A record creation (Google, Cloudflare)
  • Automatic shutdown by inactivity (by Jupyter)
  • GPU Provisioning (nvidia-smi installation, docker configuration, etc)
  • Linux image creation (Packer)
  • Entities types for autocompletion
  • Logging into cloud provider log service

Documentation

Next work

See https://trello.com/b/F2Smw3QO/labmachine

Project details


Download files

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

Source Distribution

labmachine-0.6.0.tar.gz (35.6 kB view hashes)

Uploaded Source

Built Distribution

labmachine-0.6.0-py3-none-any.whl (49.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page