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
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.
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!
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
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads