I'm looking to deploy my first web app, which is built on Vue and Node.js, and I'm using PostgreSQL as my database along with Redis for caching and WebSockets for real-time communication. I've been exploring several hosting services, including Render, Railway, Fly, DigitalOcean, Heroku, Vercel, and AWS, but I'm feeling a bit confused about which one would be the best fit. My app is designed to handle real-time information and has user accounts, so I'm concerned about cold starts. Ideally, I need a solution that can scale efficiently from around 100 users up to 10,000 users per day. I would really appreciate any advice on this!
6 Answers
Honestly, at the early stages, you don't need to overthink it too much. A simple VM with Cloudflare can do the trick. Just start with the basic tier of an AWS VM and upgrade as your user base grows. Make sure to set up budget limits and implement Nginx along with some rate limiting rules. Uptime is important, but you also need to protect your wallet from denial-of-service attacks!
Going for a VPS with Coolify is another solid option!
I recommend AWS or a similar service. Start with a VM and install everything you need. As you grow, you can decouple your services to make scaling easier, like using managed PostgreSQL and Redis, plus adding load balancing and rate limiting later.
I've had a good experience with DigitalOcean's app platform. It's quite affordable and user-friendly. I started with just one app and a static site, but managed to scale up to two main services and several app servers without too much hassle.
Your choice really depends on your tech capabilities. If you can handle setting up your own server, that could work well. Otherwise, Heroku is a great choice for quick deployment.
If you choose DigitalOcean, combining it with Node.js and Caddy could be a great choice. Just be cautious with Vercel; it may get expensive as you scale.

That's interesting! I'm leaning towards AWS too, mainly because I heard they offer a year of free service. Is that true? Will it work well with my setup? Also, I hear their setup can be a bit tricky.