Troshka restores OpenShift workshop labs from snapshots on AWS
An AWS walkthrough shows how lab authors can capture a working OpenShift or OKD environment once and give each participant a fresh copy.
An OpenShift workshop can spend the first hour waiting for infrastructure that every participant needs in exactly the same state. A Nov. 30 walkthrough on the IBM & Red Hat on AWS blog describes a different approach: build the lab once in Troshka, save it as a reusable snapshot, then restore a copy for each participant instead of reinstalling the cluster and its operators on every request.
What gets reused
The reusable unit is a pattern: compressed VM disk snapshots and metadata for the lab topology, stored in Amazon S3. Lab authors can build that topology on a visual canvas or define it in YAML for version control. They can then layer post-deployment configuration on the restored environment with an Ansible collection and attach guided instructions, embedded terminals and consoles through Showroom.
For OpenShift or OKD labs, the documented AWS setup uses KVM on EC2 instances with nested virtualization enabled. Several labs can share one EC2 host, and copy-on-write storage lets copies share the base disk image. The authors report five-to-ten-minute restores and cite 30–50 GB as a typical OpenShift pattern size. Those figures describe the setup in the walkthrough, not a guarantee for every image or workshop size.
What to test before a workshop
The EKS quickstart deploys the Troshka control plane and seeds an EC2 host for nested labs. The walkthrough labels the default setup, which uses basic authentication and an sslip.io hostname, as evaluation-only. For a first trial, the single-node OKD template avoids the need for a Red Hat pull secret; the single-node OpenShift template requires one.
For a training or demo team, the useful test is to capture one complete lab, restore it several times concurrently, and measure how long it takes until attendees can actually start the exercise. Also verify what the lab needs to reach outside its nested network. The walkthrough describes a design that gives participants admin access inside their own lab without handing them AWS credentials. That makes the pattern a fit for repeatable training, not a substitute for testing applications that need to provision AWS resources themselves.
sources
comments · 0