01 · The challenge
A trading-education business needed to give every subscriber an always-on cloud server running their trading terminal - a process that took hours of manual setup per server and did not scale.
02 · What I built
A platform that automates the entire lifecycle: one request provisions a cloud server, configures it, deploys the trading environment in containers, sets up remote access and delivers credentials - and a single command pushes a new strategy version to every active server at once.
03 · The hard part
Allocating a unique network port to each server with zero collisions under concurrent provisioning. I combined a distributed lock with a database-level row lock and a post-commit verification step - two independent safeguards - plus polling that survives server restarts and recovery tooling for interrupted migrations.
04 · The outcome
Provisioning cut from hours of manual work to minutes, fully automated. Strategy rollouts went from one-server-at-a-time to a single command across all servers. Handles dozens of servers with conflict-free networking.
05 · Stack