Skip to content

A jupyter lab instance with automatic DNS and SSL certificate

License

Notifications You must be signed in to change notification settings

dymaxionlabs/labmachine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A jupyter lab instance with automatic DNS and SSL certificate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 88.1%
  • Shell 8.7%
  • HCL 2.6%
  • Makefile 0.6%