Across Politecnico di Torino (PoliTo), the phrase “Virtual Machine PoliTo” refers to two distinct, high-impact pillars of the university’s digital ecosystem: the student-facing virtual computing labs that power everyday engineering coursework, and CrownLabs, the open-source, Kubernetes-native cloud platform built in Turin that revolutionized how remote academic laboratories operate.
Together, they bridge the gap between complex industrial software and a student’s personal laptop—turning any browser into an engineering workstation.
1. The Student Experience: Virtual Labs and Remote Desktops
Engineering curricula rely heavily on resource-intensive software—from CAD suites like SolidWorks and AutoCAD to simulation engines like MATLAB, Ansys, and specialized Linux development environments. Requiring thousands of students to buy high-end workstations or struggle with multi-gigabyte dual-boot installations creates an immediate barrier to learning.
PoliTo solves this through centralized Virtual Machine (VM) environments accessible via the university’s IT infrastructure (managed by the Area Information Technology and accessible through the Portale della Didattica):
- Zero Local Setup: Instead of spending the first two weeks of a semester troubleshooting broken dependencies or OS incompatibilities, students launch a pre-configured desktop environment directly from their browser or remote desktop client.
- Hardware Equalization: Heavy computational rendering and compilation happen on PoliTo’s server clusters, allowing a student on an entry-level ultrabook or tablet to run the exact same toolchain as someone on a flagship workstation.
- Standardized Exam & Lab Environments: Because every student connects to an identical virtual image, professors can guarantee that grading scripts, compilers, and software versions behave consistently across an entire cohort of hundreds of students.
2. Under the Hood: CrownLabs and Cloud-Native Virtualization
When remote learning scaled overnight in 2020, traditional Virtual Desktop Infrastructure (VDI) struggled under the sudden spike in concurrent users. Rather than relying solely on rigid, monolithic legacy VDI systems, researchers and students within PoliTo’s NetGroup (Computer Networks Group) developed CrownLabs—an open-source platform designed specifically for academic laboratories.
CrownLabs reimagines how virtual machines are orchestrated by running full VMs inside a Kubernetes cluster:
- VMs Managed Like Containers: Using KubeVirt, CrownLabs treats traditional virtual machines (running full Linux or Windows graphical desktops) as native Kubernetes workloads. This combines the strong isolation and full OS compatibility of a VM with the automated scaling, self-healing, and declarative management of cloud-native containers.
- Browser-Native Access via WebRTC: Students do not need to configure complex VPN tunnels or install proprietary clients. CrownLabs streams the virtual machine’s graphical desktop directly into a standard web browser tab using noVNC and WebRTC, providing low-latency interaction even on modest home internet connections.
- Persistent Storage & Ephemeral Compute: Each student gets a dedicated, persistent home directory (backed by network storage like NFS/Rook-Ceph) mounted automatically whenever they spin up an environment. The compute instance itself can be destroyed when the student logs off—freeing CPU and RAM for other courses—while their code, CAD files, and notes remain intact for the next session.
- GitOps Course Templates: Professors define the software stack for a course using Infrastructure-as-Code templates. Updating a library or adding a tool for 400 students takes a single update to the base image, rolling out cleanly across the cluster.
3. Why It Matters Beyond the Classroom
The PoliTo virtual machine ecosystem is more than a convenience tool; it serves as a living laboratory for modern cloud architecture:
- Built With Students, Not Just For Them: CrownLabs is actively maintained as an open-source project on GitHub, with thesis students and PhD researchers contributing directly to its Kubernetes operators, custom web interfaces, and scheduling algorithms.
- Sustainable Campus Computing: Dynamic provisioning ensures servers spin up resources on demand during lab hours and scale down overnight, reducing idle power consumption compared to maintaining hundreds of physical PCs running 24/7 in campus computer rooms.
- Blueprint for European Academia: Because CrownLabs is open-source and built on standard CNCF (Cloud Native Computing Foundation) technologies, its architecture serves as a reference model for other universities seeking to replace expensive proprietary VDI licenses with resilient, self-hosted cloud infrastructure.
Getting Started as a PoliTo Student
If you are enrolled in a course at Politecnico di Torino that uses virtualized labs, accessing your environment typically follows three steps:
- Check Course Materials on Portale della Didattica: Professors specify in the syllabus or lab instructions whether the course uses the centralized VDI portal or a dedicated CrownLabs workspace.
- Authenticate via PoliTo SSO: Log in using your institutional credentials (
[email protected])—no separate account registration is required. - Select Your Course Template & Launch: Choose the workspace matching your course code (
Leave a Reply