Git Product home page Git Product logo

carina-jupyterhub's Introduction

carina-jupyterhub

Jupyterhub backed by carina!

Wat?

carina-jupyterhub allows you to host a jupyterhub instance where the users bring their own computing power. You host the jupyterhub frontend, and your users bring the computing power. Amazing!

Impress your friends

To setup your own jupyterhub frontend hosted on carina, create a new cluster on carina and complete the following steps.

Obtaining Access Creditentials

Using Carina CLI

  1. Install and configure the Carina CLI with your Carina username and API key.
  2. Run eval $(carina env name-of-your-cluster) to set up your environment.

Use Carina Credentials Zip

  1. Click "Get Access" on the Carina web interface to download a zip of your credentials.
  2. Unzip the credentials zip file.
  3. Run source docker.env from the unzipped access file.

Running JupyterHub on Carina

  1. docker run --net=host -ti --rm -p 8000 betatim/carina-jupyterhub:25112015 bash
  2. In the container modify jupyterhub_config.py with sed -i -e "s/public_ips()\[0\]/\'`ip addr list eth0 |grep "inet "|cut -d' ' -f6|cut -d/ -f1`'/g" jupyterhub_config.py This replaces public_ips()[0] with the public IP of your cluster in jupyterhub_config.py
  3. start jupyterhub: jupyterhub. This will eventually print JupyterHub is now running at http://SomeIPAddress:8000/. Congratulations, you now running jupyterhub on a carina cluster!

To use the service you just built:

  1. Create a second carina cluster, and download the access credentials using the "Get Access" button in the web UI.
  2. Visit http://SomeIPAddress:8000 enter a short username, and upload the credentials file of your second cluster as the Credentials file
  3. Share http://SomeIPAddress:8000 with your friends (they have to repeat these last three steps)!

Be safe out there!

While not an immediate threat to your health, please think carefully about the security implications of running untrusted code, giving away credentials to computing resources, etc before doing any of the above.

carina-jupyterhub's People

Contributors

betatim avatar captainsafia avatar

Watchers

Xubin Cao avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.