Dharun Ashokkumar India

LPU Labs

FastAPI · React · Docker · 2025

On-demand, isolated, browser-accessible development and learning environments. Persistent storage, multi-tenant network isolation, zero local setup.

Stack: FastAPI, React, Docker SDK, MongoDB (Motor), WebSockets, JWT/OAuth2, KasmVNC, code-server, APScheduler, Prometheus, OpenAPI, Nginx

LPU Labs dashboard overview
The LPU Labs dashboard — main interface.

What it is

LPU Labs is a platform-as-a-service (PaaS) layer above Docker, abstracting container complexity into a web-based interface. Users authenticate via OAuth2 or email and password, then provision pre-configured lab environments — Ubuntu desktop, Kali Linux, DevOps toolchains, data science stacks — or database services through a React frontend.

The platform enforces isolation at the network layer: each user gets a dedicated Docker network, which prevents cross-user traffic. Persistent volumes ensure data survives container restarts.

LPU Labs lab selection interface
Lab environment selection — choose from 20+ pre-built environments.
LPU Labs browser-based terminal
Browser-based access via KasmVNC and code-server — no local install needed.

How it works

  1. Authenticate — the user logs in via Google/GitHub OAuth or email.
  2. Select an environment — pick a lab, database, or DevOps toolchain from the catalog.
  3. Provision — the backend creates an isolated Docker network and persistent volume, then spawns a container with resource limits.
  4. Access via browser — the user connects through KasmVNC or code-server, fully in-browser.
  5. Auto-cleanup — idle environments terminate after 30 minutes; data persists in volumes.
LPU Labs login page
The login page.

Core features

  • Container orchestration — Docker SDK integration, lifecycle management, image building patterns, CPU and memory limits.
  • Network isolation — user-specific overlay networks, multi-tenant segmentation, bridge networking, zero cross-user traffic.
  • Persistent storage — Docker volumes per user, bind mounts, data retention across container lifecycles and restarts.
  • Browser-based access — KasmVNC for full desktop environments, code-server for VS Code. Nothing to install locally.
  • Auth and security — OAuth2 (Google/GitHub), JWT with refresh tokens, rate limiting, session management.
  • Auto-cleanup — background schedulers (APScheduler) handle idle container termination, resource cleanup, and health checks.
  • Real-time updates — WebSocket connections for live notifications, container status broadcasts, resource monitoring.
  • Observability — Prometheus metrics, structured logging with rotation, usage tracking, audit trails.
LPU Labs container management panel
Container management — start, stop, and monitor running environments.
LPU Labs resource monitoring dashboard
Resource monitoring — CPU, memory, and network usage per container.

20+ pre-built environments

LPU Labs ships with ready-to-use environments covering development, cybersecurity, data science, and DevOps:

  • Development — Ubuntu desktop, code-server, Python/Node.js/Go stacks, static site hosting.
  • Cybersecurity — Kali Linux, CTF challenges (gcc3-exploit, OWASP Juice Shop), penetration testing.
  • Data science — Jupyter notebooks, data science stacks, ML environments.
  • DevOps — Jenkins, GitLab, Ansible, Terraform toolchains.
  • Databases — shared or isolated database services (MongoDB, PostgreSQL, MySQL).
  • Embedded — Buildroot embedded systems environments.
LPU Labs catalog showing available environments
The lab catalog — Ubuntu desktop, Kali Linux, Jupyter notebooks, Jenkins, GitLab, Ansible, Terraform, and more.
LPU Labs n8n workflows dashboard
n8n — automation workflows.
LPU Labs MinIO object browser
MinIO — object storage service.
LPU Labs Apache Airflow
Apache Airflow — workflow automation and scheduling.

Technology stack

Built with production-grade patterns — async architecture, RESTful API design, JWT auth, rate limiting, structured logging, and separation of concerns (controllers, services, core modules).

Project scope

LPU Labs spans multiple engineering domains, applying cloud computing, educational technology, DevOps automation, cybersecurity training infrastructure, and distributed systems architecture.

The platform serves practical use cases in cybersecurity training, software development education, and computer science labs — while exercising network engineering, async web architecture, and multi-tenant resource management.

LPU Labs backend code overview
The backend service implementation — controller and orchestration logic.