vistaconvert.com, a live SaaS on AWS
[FILL: one sentence on what VistaConvert does and for whom.] I run its production deploy: GitHub Actions to Docker, ECR and EC2 in ap-south-1, behind Caddy.
Problem
[FILL: what users come to VistaConvert to do, and why existing tools didn’t cover it. Users: [FILL: count or “early users”, only if true].]
My role
[FILL: be precise. “I built X and run Y” is stronger than a vague “full-stack”.]
Architecture
- One EC2 instance in ap-south-1 (Mumbai), close to Indian users.
- Images are built once in CI and pulled by the host. The server never builds code.
- Caddy terminates TLS with automatic certificates and proxies to the containers.
Key decisions and trade-offs
Single EC2 host instead of ECS, Fargate or a PaaS
[FILL: why. Likely: cost, full control, and the traffic doesn’t need more yet. The cost you accepted: a single point of failure and manual capacity management. The disk incident below is that cost.]
Caddy instead of Nginx
Automatic HTTPS with almost no config. [FILL: anything else, e.g. simpler reload on deploy.]
Hard bug I fixed: disk exhaustion from image bloat
Symptom. [FILL: what broke first. Deploy failing on pull? 5xx? Container not starting?]
Diagnosis. The root volume was the default 8 GB EBS. Every deploy pulled a new image into containerd’s store and nothing removed the old ones. [FILL: commands you used to confirm it, e.g. df -h, du -sh /var/lib/containerd, and what the numbers were.]
Fix.
- Removed unused images to get the host healthy.
- Resized the EBS volume from 8 GB to 20 GB, then grew the partition and filesystem.
Prevention. [FILL: this is the part interviewers care about. Does the deploy now prune old images? Is there a disk alarm in CloudWatch? If neither, add one before you publish this.]
Security finding: tenant data isolation
I found that a transfer-targets endpoint did not scope its query to the caller’s tenant. [FILL: how you found it: code review, testing with two accounts?]
[FILL: Was it fixed? How: tenant id from the session instead of the request, a row-level policy, a test that runs as two tenants? Who fixed it?]
Outcome / status
Live at vistaconvert.com. [FILL: metric, only if you can source it.]
Stack
- React
- TypeScript
- [FILL: backend]
- Docker
- GitHub Actions
- AWS ECR
- AWS EC2
- Caddy