Daeseon Yoo
Back to project
·Troubleshoot·4 min

Go-live night — real AWS deploy + the bugs only prod surfaced

Go-live on AWS EC2 (t3.micro) exposed bugs no local run had: a single-player 'Game not found' from 2 uvicorn workers over in-memory state, a broken disconnect/reconnect + forfeit-stats + /health HEAD path, a pubsub listener that crashed on idle, and OOM during builds — fixed with --workers 1, a session repair, get_message polling, and 2GB swap baked into user_data.

This is the go-live post. The stack went up on AWS EC2 and started serving real traffic, and a handful of bugs surfaced that nothing local had ever shown — the classic prod tax: multi-worker state, real disconnects, idle WebSockets, and a RAM-tight instance. Each one got fixed and live re-verified the same day.

What

The backend went live on a single AWS EC2 t3.micro running the full docker-compose.prod.yml stack. Five issues only real production surfaced, then got fixed and re-verified against the live instance. Per docs/engineering-log.md Part 0, the deploy is LIVE behind api.jjan.daeseon.ai (Seoul ap-northeast-2), brand renamed to "JJAN! · 짠" (internal slug stays ki-clash).

Changes

Why

These are all "only prod surfaces it" failures:

Decisions

Notes

Commits