Skip to content

rgbkrk/jupyterhub-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Deploy an interactive data science environment with JupyterHub on Docker Swarm

A workshop to deploy an interactive data science environment and share documents that contain live code by taking advantage of Docker and Docker Swarm to deploy Jupyter Notebook servers with JupyterHub.

Docker allows you to package an application and its dependencies into an image that can run in containers on any Linux server. You can use Docker Swarm to run containers across a distributed cluster, which allows you to scale out your application as if it were running on a single, huge computer. To get up and running in minutes we'll be using Carina by Rackspace, a hosted Docker Swarm environment.

We'll deploy Jupyter Notebook servers with JupyterHub to put this distributed development stack into practice.

The Jupyter Notebook server is a web application that allows you to create and share documents that contain live code, equations, visualizations, and explanatory text. That makes it an excellent environment for teaching without requiring students to install anything. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning, and much more. JupyterHub is a multi-user server that manages and proxies multiple instances the Notebook server enabling centralized deployments in companies, university classrooms, and research labs.

Slides

Timeline

Total Time: 3 hours

Setup - 15 minutes
Docker - 30 minutes
Docker Swarm - 10 minutes
Carina - 45 minutes
Break - 30 minutes (15 minutes of break intended, 15 minutes for catch up)
Notebook - 10 minutes
JupyterHub - 10 minutes
JupyterHub on Carina - 40 minutes
Wrap up - 5 minutes

About

Deploy an interactive data science environment with JupyterHub on Docker Swarm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.7%
  • CSS 38.1%
  • HTML 11.2%