Giter Club home page Giter Club logo

jupyterhub-ansible-deploy's Introduction

JupyterHub Vangrant+Ansible Deploy

This repository provides a reference deployment of JupyterHub, a multi-user Jupyter Notebook environment, on a single host using either Linux sudo processes or Docker using Vangrant and Ansible.

This setup provides a single-command way to startup start up a JupyterHub RHEL/CentOS machine. The only requirement is needed is vagrant. This setup heavily borrows from a number of ideas such as the JupyterHub deploy docker setup.

This repo contributes to what's already available in the following ways:

sudo spawner

JupyterHub single host sudo spawner deployment

docker spawner

JupyterHub single host sudo spawner deployment

How to run

from the repo root dir type: vagrant up

Default provisioning

The default provisioning runs docker image spawner, which allows the logged-in user to select a number of instances.

    - role: ansible-role-centos-jupyterhub
      jupyterhub_spawner: 'imagespawner'
      jupyterhub_spawner_docker_image:
        - 'natbusa/jupyterhub-scipy-lab'
        - 'natbusa/jupyterhub-datascience-lab'
        - 'natbusa/jupyterhub-tensorflow-lab'
        - 'natbusa/jupyterhub-all-spark-lab'
      generate_testusers: True
      gen_test_username:
        - amy
        - joe
        - sue
        - bob

for more details about the JupyterHub ansible script, pleas refer to https://github.com/natbusa/ansible-role-centos-jupyterhub

Debug

On the host - check the system journal:
sudo journalctl -u jupyterhub

when running docker containers:
sudo docker logs <container-id>

list running and paused containers:
sudo docker ps -a

jupyterhub-ansible-deploy's People

Watchers

 avatar  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.