유대선
프로젝트로
·업데이트·3

Deploy-night checkpoint — Phase 7G/8/10 done, Phase 9 (live deploy) pending Jason

Deploy-night checkpoint: Phases 1-4, 7, 8, and 10 are done and the backend is production-ready; Phase 9 (the actual AWS EC2 + Vercel deploy) is the only outstanding work and is waiting on Jason — nothing is live yet.

State

Deploy-night checkpoint. The following phases are marked DONE:

Phase 9 (deploy to AWS EC2 + Vercel) is the only outstanding phase, marked "Waiting on Jason — code ready, QUICKSTART.md in place".

Nothing is live yet. All deploy code is committed; provisioning is Jason's next move (AWS console clicks, Vercel auth, DNS).

What's ready

Prod topology

docker-compose.prod.yml runs api (Python) + game (Go) + redis + db + caddy. The Caddyfile routes /api/v1/ws/game/* to the Go service and the rest to Python — so switching game traffic between runtimes is a one-line Caddy edit.

Domain plan (locked):

Phase 9 — next steps for Jason

  1. Launch a t3.micro Ubuntu 24.04 instance, security group ports 22/80/443, attach an Elastic IP.
  2. Install docker, set DNS, git clone to /opt/ki-clash.
  3. Generate secrets: JWT_SECRET_KEY via openssl rand -hex 32, POSTGRES_PASSWORD via openssl rand -base64 24.
  4. docker compose -f docker-compose.prod.yml up -d --build (boots api Python, game Go, redis, db, caddy with Let's Encrypt auto-cert).
  5. alembic upgrade head.
  6. Vercel: npx vercel then npx vercel --prod, with NEXT_PUBLIC_API_URL = https://api.kiclash.daeseon.ai.

Rough timing per the log: AWS EC2 deploy ~25 min, Vercel deploy ~5 min.

Open post-deploy follow-ups

Caveats

Commits