Deploying Jupyter Notebooks at scale on XSEDE resources for Science Gateways and workshops

05/12/2018
by   Andrea Zonca, et al.
0

Jupyter Notebooks have become a mainstream tool for interactive computing in every field of science. Jupyter Notebooks are suitable as companion applications for Science Gateways, providing more flexibility and post-processing capability to the users. Moreover they are often used in training events and workshops to provide immediate access to a pre-configured interactive computing environment. The Jupyter team released the JupyterHub web application to provide a platform where multiple users can login and access a Jupyter Notebook environment. When the number of users and memory requirements are low, it is easy to setup JupyterHub on a single server. However, setup becomes more complicated when we need to serve Jupyter Notebooks at scale to tens or hundreds of users. In this paper we will present three strategies for deploying JupyterHub at scale on XSEDE resources. All options share the deployment of JupyterHub on a Virtual Machine on XSEDE Jetstream. In the first scenario, JupyterHub connects to a supercomputer and launches a single node job on behalf of each user and proxies back the Notebook from the computing node back to the user's browser. In the second scenario, implemented in the context of a XSEDE consultation for the IRIS consortium for Seismology, we deploy Docker in Swarm mode to coordinate many XSEDE Jetstream virtual machines to provide Notebooks with persistent storage and quota. In the last scenario we install the Kubernetes containers orchestration framework on Jetstream to provide a fault-tolerant JupyterHub deployment with a distributed filesystem and capability to scale to thousands of users. In the conclusion section we provide a link to step-by-step tutorials complete with all the necessary commands and configuration files to replicate these deployments.

READ FULL TEXT

page 3

page 4

page 5

research
05/12/2018

Deploying Jupyter Notebooks at scale on XSEDE for Science Gateways and workshops

Jupyter Notebooks have become a mainstream tool for interactive computin...
research
04/12/2013

Survey of Server Virtualization

Virtualization is a term that refers to the abstraction of computer reso...
research
07/05/2018

A Comparative Study of Containers and Virtual Machines in Big Data Environment

Container technique is gaining increasing attention in recent years and ...
research
07/08/2019

Enabling Microsoft OneDrive Integration with HTCondor

Accessing data from distributed computing is essential in many workflows...
research
05/20/2019

Scylla: A Mesos Framework for Container Based MPI Jobs

Open source cloud technologies provide a wide range of support for creat...
research
07/10/2020

MiniConf – A Virtual Conference Framework

MiniConf is a framework for hosting virtual academic conferences motivat...
research
03/22/2018

Pando: a Volunteer Computing Platform for the Web

Volunteer computing is currently successfully used to make hundreds of t...

Please sign up or login with your details

Forgot password? Click here to reset