I'm building a ride-hailing backend with FastAPI, PostgreSQL, Redis, Kafka, and Docker. It's already split into several services, including ride matching and location tracking, with Nginx in front.
Before launch, would you put everything on one VPS with Docker Compose, split it across a couple of servers, or pay for managed services? I want to keep costs down without ignoring security and recovery.
9m+clampfolio_462:
Separate machines help with isolation, but check the networking and backup costs as well as the VPS prices. The cheapest setup on paper isn't always the cheapest one to operate.