I'm currently developing a web app using Next.js, Node.js, and SQL, and I'm considering the best hosting solution. I've heard Vercel is a good choice, and Fly seems interesting too. Render has been suggested as well. I have a VPS that I could potentially use with Coolify. My main goal is to focus on building my app and its features without getting bogged down by infrastructure issues. Right now, there's no load on the app, but I'm concerned about having to switch platforms in the future when I get more users and traffic. Any advice?
3 Answers
Are you planning to host the database yourself? If self-hosting is your plan, I'd say look into using Railway first, and if that doesn’t fit your needs, consider your VPS with Coolify or Dokploy.
What made you decide to go with Railway?
If you already have a VPS, I’d recommend just setting up your stack there. With a few Docker containers and some cron job scripts, you can run everything from your VPS. Plus, if it gets too crowded later, you’ll have the Docker setup ready to make migrating to another platform easier.
I’m all about Coolify! It's super user-friendly for both cron jobs and databases. You might need several services if you go another route, so just go with Coolify and set up backups via S3 storage. It keeps things simple!
I'm also using Railway for my Postgres and CMS backend and it's been great!