Self-Service Training Labs with vRealize Orchestrator and VCD

Posted by : on

Category : vcd   vro   automation


One of the recurring bottlenecks in running hands-on classes has been lab setup: someone technical has to manually spin up the right VMs before every class, for every student. The goal was to hand that responsibility to our instructors directly, without requiring them to understand vCloud Director at all.

The result is a VCD Service Library built on vRealize (Aria) Orchestrator 8.18, targeting a vCloud Director 10.6.1 environment. Under the hood it’s a JavaScript action library with modular actions for session handling, catalog lookups, vApp instantiation, task polling, and post-deployment network validation. Each action returns a Properties object so the workflow stays composable rather than one giant script.

On top of that library sits a base “Deploy Training Labs” workflow that instantiates a single vApp from a chosen catalog item, waits for the task to complete, and then validates that the resulting network configuration (fencing, NAT, firewall rules) matches what the class actually needs.

The instructor-facing piece is a launcher workflow that wraps the base workflow in a loop: build an array of vApp names, kick off a deployment for each one, then poll until every token reports back. In the test run below, it built and monitored ten simultaneous vApp deployments (Student-Lab-01 through Student-Lab-10) from a single click, with each one landing correctly in the training organization.

Deploy Training Labs launcher workflow run, showing ten simultaneous student lab deployments

There are currently four labs available in the shared catalog, with more on the way. Once the presentation layer picks up the remaining loose ends, an instructor will be able to pick a lab, set a class size of up to ten students, and let the workflow handle the rest.


About Sam Aaron
Sam Aaron

Father, Husband, Geek. Workaholic.

Email : mail@micronauts.us

Website : http://micronauts.us

About Sam Aaron

Father. Husband. Geek. Workaholic. US Marine Corps Veteran.

Sam Aaron is a Senior Consultant in the Professional Services Organization for Entelligence, bringing over a decade of expertise in enterprise cloud automation and infrastructure. Sam has spent almost eleven years at VMware leading cloud automation initiatives using VCF Automation (formerly Aria Automation & vRA) and designing scalable, multi-tenant environments with VMware Cloud Director (vCD).

Sam holds multiple certifications including VCF-Architect 2024, VCIX-CMA, and dual VCPs (DCV & CMA), and is a recognized contributor to VMware’s certification exams. As a VMware Hands-On Lab (HOL) Captain and content author from 2015-2025, Sam played a key role in educating and mentoring the global VMware community. He helped to create and develop the automation challenge and troubleshooting labs for VMworld and global virtual forums.

When Sam is not working, he has several hobbies, among these are 3D printing Star Wars robots and turning them into animatronics.

Launched in April 2010, micronauts is Sam's online presence. Here, he has been blogging and sharing knowledge with the virtualization community. This blog acts as a central repository to retain the resolutions and other trivial knowledge that Sam has discovered.

** No information provided here was reviewed or endorsed by VMware by Broadcom, Microsoft, or anyone else for that matter. All information here are opinions based on Sam's personal experience. Use this knowledge at your own risk. **

Star
Useful Links