From 2 hours to zero: fully automated VPS provisioning on an enterprise VDI cluster
La sfida
Every new VPS required roughly two hours of technical work: VM creation, Active Directory user binding, VDI portal login, software installation, license injection, local configuration, and manual registration in both an Excel spreadsheet and a CRM. An earlier PowerShell optimization had brought this down to 30 minutes per VM, but the model was still manual and brittle. At 500–1,000 VPS per year, the structural failures became unavoidable: the Excel inventory drifted from the real cluster state, CRM updates were missed or delayed, and licenses weren't reclaimed on dismissal — they just accumulated as waste. This wasn't a speed problem. It was an architecture problem.
La soluzione
I built an orchestration platform that covers the full VPS lifecycle — from initial request to final dismissal — with zero operator intervention in the standard flow. The system selects a VM from a pre-created pool, handles AD user binding, applies hardware configuration overrides (CPU, RAM, language), logs into the VDI portal, completes software installations, and injects licenses — including those that require GUI automation because they expose no API. Every lifecycle event is recorded on the CRM via bidirectional webhooks. A React dashboard lets non-technical staff monitor cluster state, run bulk dismissals, reconcile inventory against the CRM, and manage the domain without direct system access. The platform also includes a controlled Windows update rollout manager and an automated SSL wildcard certificate lifecycle manager.
Risultati
Operator time per VPS: from 2 hours to zero
Estimated savings: €15,000–40,000/year
100% of licenses reclaimed on dismissal
Inventory, CRM, and cluster always in sync
Dashboard operable by non-technical staff
SSL wildcard certificates renewed automatically
Stack tecnico
- Python / FastAPI
- MongoDB
- PowerShell
- pywinauto
- React (TypeScript)
- n8n
- Active Directory
- Let's Encrypt / DNS-01
- Telegram