VPS vs Vercel + Fly.io: What’s the Best Hosting for My Web App?

0
16
Asked By CuriousCoder42 On

Hey everyone! I'm here to get your insights on the best hosting option for my full-stack web app. Specifically, I'm debating between setting up a VPS or using Vercel combined with Fly.io. Let me give you a bit of background:

- My tech stack consists of a front-end built with React and Vite, a back-end powered by FastAPI, and PostgreSQL for the database.
- This is my MVP, which is still under development.
- I'm comfortable using either a VPS or a service like Vercel and Fly.io, but right now, I'm focused on two main factors: cost and ease of updates.
- Just a note, authentication will be managed through a third party. I've done a bit of analysis on my own but I'd really appreciate some human feedback!

3 Answers

Answered By TechieTribe On

You might want to consider using either Vercel or Fly.io for the entire deployment rather than splitting them up. I've heard mixed reviews about Fly.io, though. If you're mainly concerned about cost, starting with a VPS could be a good option, and if it doesn't work out, you can always switch to Vercel later. Just keep in mind that while VPS can save you money, you'll need to invest more time in setup and dealing with security and maintenance issues later on.

Answered By ReactFanatic On

Hmm, I see your priorities are cost and ease of updates, but choosing React and FastAPI together can be a bit odd, don’t you think? What’s your thought process behind that choice? Seems a bit mismatched to pick a complex stack if you’re aiming for simplicity!

Answered By SkepticalDev On

So, is your front-end static? If that's the case, you might not need a backend for it right away. If you structured everything as a monorepo, you could deploy it all in one go with Python serving static files or even use a CDN as you grow. A VPS could let you deploy quickly using DollarDeploy without the limitations you might face with Vercel. Plus, if you have long-running tasks with your Python app, serverless options can complicate that.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.