Spin up a live preview environment for every pull request. Comment /start on a PR, get a running app in ~2 minutes. Close the PR, environment auto-destroys.
Built with SuperPlane.
- Open a PR — bot posts a welcome comment with instructions
- Comment
/start— SuperPlane creates a AWS EC2, deploys your app via SSH, and posts the preview URL - Comment
/destroy— tears everything down - Close/merge the PR — environment auto-destroys
- Forgot to clean up? A daily TTL check reaps environments older than 72 hours
GitHub Deployments are created along the way, so you get the native "View deployment" button and status badges on the PR.
- SuperPlane account
- GitHub integration connected (with Deployments permission)
- AWS integration connected
- An SSH key added to both AWS and SuperPlane (as a secret)
- A setup script at
scripts/preview-setup.shin your repo
- Connect GitHub and AWS integrations in SuperPlane
- Create an SSH key secret in SuperPlane
- Add a
scripts/preview-setup.shto your repo (installs deps, starts your app) - Import the canvas:
superplane canvases create --file canvas.yaml- Update the integration IDs, repo name, SSH key reference, and setup script URL to match your setup
| Setting | Default |
|---|---|
| EC2 instance type | t3.micro |
| Region | nyc1 |
| Image | ubuntu-24-04-x64 |
| TTL | 72 hours |
| Command | /start and /destroy |
MIT