Skip to main content
QUICK REVIEW

[Paper Review] Portable learning environments for hands-on computational instruction: Using container- and cloud-based technology to teach data science

Chris Holdgraf, Aaron Culich|arXiv (Cornell University)|Mar 15, 2017
Scientific Computing and Data ManagementDecision Sciences11 references5 citations
TL;DR

This paper proposes a portable, cloud- and container-based learning environment using Docker and cloud infrastructure (e.g., Jetstream/XSEDE) to deliver hands-on data science bootcamps without requiring local software installation. By hosting pre-configured Jupyter notebook environments in secure, remote containers, the system enables consistent, reproducible, and scalable instruction across diverse student devices, significantly reducing setup friction and improving pedagogical efficiency.

ABSTRACT

There is an increasing interest in learning outside of the traditional classroom setting. This is especially true for topics covering computational tools and data science, as both are challenging to incorporate in the standard curriculum. These atypical learning environments offer new opportunities for teaching, particularly when it comes to combining conceptual knowledge with hands-on experience/expertise with methods and skills. Advances in cloud computing and containerized environments provide an attractive opportunity to improve the efficiency and ease with which students can learn. This manuscript details recent advances towards using commonly-available cloud computing services and advanced cyberinfrastructure support for improving the learning experience in bootcamp-style events. We cover the benefits (and challenges) of using a server hosted remotely instead of relying on student laptops, discuss the technology that was used in order to make this possible, and give suggestions for how others could implement and improve upon this model for pedagogy and reproducibility.

Motivation & Objective

  • To address the challenge of inconsistent student laptop environments during intensive data science training events.
  • To reduce setup time and technical barriers in hands-on computational instruction by eliminating local software installation.
  • To enable scalable, reproducible, and secure remote execution of data science workflows using open-source tools.
  • To demonstrate a practical, low-overhead model for deploying cloud-based learning environments using widely available infrastructure.
  • To support pedagogical innovation in data science education through portable, containerized, and cloud-hosted learning environments.

Proposed method

  • The authors created a Docker image based on the jupyter/datascience-notebook, pre-installing all required data science packages with version pinning for reproducibility.
  • They built and pushed the Docker image to DockerHub, enabling easy deployment across different environments.
  • Using the Jetstream cloud platform, they deployed 50 pre-configured virtual machines (VMs) via the Atmosphere web interface, each hosting a containerized Jupyter notebook server.
  • Each VM was configured with a startup script that installs Docker, pulls the pre-built image, downloads workshop data, and launches the Jupyter server with a shared password for access.
  • The system used default secure Jupyter configurations requiring a password, minimizing exposure while enabling remote access.
  • Participants accessed their personalized, isolated notebook environments via web browser without installing any software locally.

Experimental results

Research questions

  • RQ1How can cloud- and container-based infrastructure improve the consistency and reliability of hands-on computational instruction in data science bootcamps?
  • RQ2To what extent can open-source, low-cost cloud platforms reduce the technical burden on instructors and students during intensive training events?
  • RQ3What are the practical challenges and security considerations in deploying remote, containerized Jupyter environments for educational use?
  • RQ4Can a standardized, portable learning environment be created that ensures reproducibility and reduces setup time across diverse student hardware and operating systems?
  • RQ5How can instructors scale remote learning environments without requiring deep expertise in cloud or container management?

Key findings

  • The use of Docker and cloud-based VMs eliminated local software configuration issues, enabling all students to access identical, pre-configured environments with minimal setup.
  • The entire deployment of 50 VMs was completed in minutes using a web interface, demonstrating rapid and scalable provisioning of learning environments.
  • Participants accessed their Jupyter notebooks via a web browser without installing any software, significantly reducing barriers to entry.
  • The system achieved consistent reproducibility by pinning software versions in the Docker image and using a standardized image across all instances.
  • Security was maintained through password-protected Jupyter servers and default secure configurations, with no exposure to external networks beyond controlled access.
  • After the workshop, participants could continue using their VMs for a limited time and later migrate to local Docker installations or apply for personal cloud allocations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.