Gateways 2018 has ended
Back To Schedule
Tuesday, September 25 • 1:30pm - 5:00pm
Hands-on Tutorial Deploying JupyterHub with Kubernetes on Jetstream (3 hours)

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Jupyter Notebooks have become a mainstream tool for interactive computing in every field of science. Being a web-based platform, they are naturally suited to serve as companion application to Science Gateways: a scientist can use a Jupyter Notebook in their browser to pre-process inputs, launch a job on the Science Gateway via web API and then access, analyze, plot and postprocess the job outputs, without ever worrying about setting up and keeping updated their software environment.
The JupyterHub project provides a multiple-user platform for Jupyter Notebooks and it is very easy to install and configure on a single server. However, when we need to provide computational resources to a large pool of users, we need to distribute the users on a cluster of machines, the best way to achieve scalability is thanks to the container orchestration platform Kubernetes.
In this tutorial we will work through the installation of Kubernetes on a set of Jetstream Virtual Machines, setup persistent storage and install a bare-bone JupyterHub deployment using the zero-to-jupyterhub recipe provided by the Jupyter team.
Then we will customize the setup configuring authentication (XSEDE, Globus or Github), choosing our preferred software environment for the users via Docker.
Finally we will show how to execute computational jobs, either interfacing with the web APIs of a “test gateway” to submit jobs or launching a pool of workers on Kubernetes and execute a distributed computation (using dask).
- Prerequisites: no specific technical skills, but familiarity with the shell, editing text files, and a general knowledge of Jetstream will be helpful.
- Required: Participants should bring a laptop to participate in the hand-on parts of the workshop as well as have an XSEDE account to participate in the Kubernetes portion of the tutorial.
- Audience: This workshop will be useful for Gateway developers interested in deploying JupyterHub. It could also be of interest of people wanting to deploy JupyterHub for workshops and tutorials about using a Gateway programmatically.

Presenters and Authors
avatar for Andrea Zonca

Andrea Zonca

HPC Applications / Gateways, San Diego Supercomputer Center
Interested in Kubernetes, Jupyter Notebook applications, Jupyterhub, distributed computing with Python.

Tuesday September 25, 2018 1:30pm - 5:00pm CDT
TACC Training room 1.603 Texas Advanced Computing Center (TACC), Advanced Computing Building (ACB), J.J. Pickle Research Campus, Building 205, 10100 Burnet Rd, Austin, TX 78758

Attendees (6)