Outcomes
- 14 pre-provisioned sandbox partitions and 7 lifecycle actions: create, create without data, redeploy, migrate, update settings, refresh database and destroy.
- Always-on dev verification service retired.
The problem
Engineers and QA shared one dev stack. Testing a backend change with its database and storage meant waiting, or testing in the wrong place.
Operators also needed one place, behind access control, for deploy controls and operations tooling.
What I built
- A full-stack internal platform: Express, TypeORM and PostgreSQL behind a React and Vite console.
- Branch environments from the UI, the API or a PR comment (/jupiter create). Each one builds the branch image, provisions its own ECS, RDS, S3 and SSM partition with OpenTofu, restores the latest dev Aurora snapshot, runs migrations and sets DNS.
- A time to live (24 hours by default) and live status posted back to the PR and to Discord.
- On-demand proof-verification sandboxes and benchmark machines, so I could retire the always-on dev verification service.
- Scoped deploy controls, scheduled key-rotation jobs and role-based access with GitHub sign-in.
- CI gates on file size, complexity and code duplication (2.5% or less).
Architecture and stack
- TypeScript, Node.js, Express, React, Vite, Tailwind
- PostgreSQL and TypeORM
- AWS: ECS Fargate, Aurora, S3, SSM, KMS
- OpenTofu, GitHub Actions, Octokit