I'm considering where to deploy my stateful applications, specifically ones that need to handle websocket services. I've looked into VPS hosting, which seems like a solid option, but I'm also curious if there are any managed platforms available that support stateful servers. Most serverless options like Lambda and Vercel don't fit my needs. Do you think setting up proper infrastructure on a VPS with containerization and orchestration for each service is a viable way to go?
4 Answers
Using a VPS can definitely work, but be careful! Setting up container orchestration (like Docker Swarm or Kubernetes) can be a lot of work if your main goal is just to ship your application.
If you're looking for a compromise, I’m building Hostim.dev—a PaaS that manages containers and stateful services like Postgres and Redis without you having to deal with server management or K8s manifests. You can easily deploy your app with a Docker image or a Compose file, and it provides internal networking and scaling. It's in closed beta now, but I can send you an invite if you’re interested!
For stateful applications needing websockets, I wouldn’t recommend going serverless. Managed container platforms would be a better fit for what you’re building.
Check out managed container hosting platforms like Render and Railway. They’re pretty solid options for deploying stateful apps. Plus, AWS has ECS and Fargate if you're looking for something more robust.
Railway is fantastic for this type of work! Definitely worth considering.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads