You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.3 KiB
2.3 KiB
Questions for the backend / devops owner (house conventions)
Purpose: confirm HQ's deployment matches how the other apps on the company EC2 box are set up, so nothing is inconsistent. Each item notes what HQ currently does, in parentheses, so answers can be a quick "matches" / "change to X". Tick answers inline as you get them.
Runtime & Node
- How do the other Node/API apps run on this box —
docker run, docker-compose,pm2, orsystemd? (HQ uses docker-compose.)- A:
- What Node version do the APIs use, and how do you get Node 20+ given the host is Node 16 with old glibc (2.26) — containerized,
nvm, or something else? (HQ runs Node 20 inside its container.)- A:
Database
- Do all apps connect to
accurate-postgresas thepostgressuperuser, or do any have their own DB user/role? (Checked: onlypostgresexists; HQ uses it, matching.)- A:
- Is port
5432intentionally open to the public internet (0.0.0.0), or should it be restricted to specific IPs in the security group?- A:
- Are there backups of the shared Postgres — how and where?
- A:
Environment & secrets
- Where do apps keep their
.env/ secrets, and any convention for file location or permissions? (HQ:apps/hq/.env,chmod 600.)- A:
nginx & TLS
- Do all vhosts go in
/etc/nginx/conf.d/*.conf, and is there a filename convention? (HQ:sims.hq.conf.)- A:
- For the APIs behind nginx, how do you pass the real client IP / handle
X-Forwarded-Forandtrust proxy? (HQ: nginx setsX-Forwarded-For $remote_addr; app usestrust proxy 1.)- A:
- How is the
*.simssoftware.inwildcard cert renewed/managed (/etc/ssl/sims/)?- A:
Networking & ports
- What port range do internal apps use, and do they bind to
127.0.0.1or0.0.0.0? (HQ binds127.0.0.1:5182— only nginx reaches it.)- A:
Deploy & operations
- How are updates deployed — WinSCP copy,
git pull, or a pipeline? (HQ: copied into/usr/share/nginx/sims-hq.)- A:
- What restarts containers/apps after a reboot — docker
restartpolicy,systemd? (HQ:restart: unless-stopped.)- A:
DNS
- Where is
simssoftware.inDNS managed and who adds records? (We addedhqA -> 13.232.53.115.)- A: