I'm in search of a self-hosted platform that can do everything AWS Elastic Beanstalk does—specifically, I want to be able to push my code to GitHub and have it automatically deploy, while also handling horizontal scaling on VPS servers. I'm not looking for a serverless solution, and I definitely want to avoid Kubernetes, as I don't want to manage any K8s clusters. Are there any open-source tools or platforms you could recommend that meet these criteria?
5 Answers
I'm actually working on something similar in my spare time! It's a bit complex since there are many components to consider. While I'm not a big fan of Kubernetes either, it really offers a lot of useful tools for automating this process. Looking into options like Rancher and k3s might really help you out, too.
You could also build your own setup fairly easily using Ansible. It's a powerful tool for automation that might suit your needs well.
You might want to try using Docker Swarm. It could fit your needs pretty well. Just a heads up though, even if Kubernetes can be a bit overwhelming, a lightweight version like k3s is quite easy to get up and running, and it covers a lot of functionalities you might be looking for.
Have you checked out Kamal? It might be the solution you're looking for!
OpenStack is a robust option for creating your own AWS-like cloud setup. You can also utilize GitHub Actions to deploy to your self-hosted servers. I'm curious though—why the preference for VPS over containers for your setup? Also, have you figured out how you plan to host your virtual servers to scale them? There are easier ways to manage it, like using a managed K8s service. K8s might feel complicated, but it could really simplify the process for you in the long run.
Yeah, Swarm has really matured and is a solid choice these days! It doesn't get the recognition it deserves.