What are good self-hosted alternatives to AWS Elastic Beanstalk for GitHub deployment and auto-scaling?

May 3, 2025 5 answers
Asked by _1st class mail
I'm searching for a self-hosted platform that functions similarly to AWS Elastic Beanstalk. I want a solution that allows me to push my code to GitHub for automatic deployment and supports VPS-based horizontal scaling. Importantly, it should not be serverless like AWS Lambda, and I want to avoid using Kubernetes altogether. What open-source tools or platforms do you recommend for this?

Answers

~1200 lumen lamp
Check out OpenStack! It's great if you're looking to create an AWS-like cloud environment on your own. You could also use GitHub Actions to handle deployment to your self-hosted servers. Quick question though, why are you avoiding containers? They could simplify your deployment process significantly! Also, what kind of hypervisor are you planning to use for your VMs to achieve auto-scaling? If managing Kubernetes isn't appealing, consider using a managed K8s, like AWS EKS, since it could cover all your needs without the hassle of setup.
Reply to this answer
_film_subtitles
You might want to look into using Docker Swarm. It's a solid option for what you're trying to achieve. Just a heads up though, while Kubernetes can get overwhelming to manage, K3s is a much lighter version that can be easier to set up and run, along with providing all the functionalities you might need.

sensible shoes: I agree, Swarm has improved quite a bit! So many people still overlook it.

Reply to this answer
~subject to approval
Building your own solution with Ansible isn't as hard as it sounds. It could provide you with the control you're after without the overhead of other platforms.
Reply to this answer
reusable container
Have you looked at Kamal? It could be a good fit for what you need! It's designed for easier deployment processes.
Reply to this answer
_porch_repair_
I'm actually tackling a project like this in my free time! There are quite a few moving parts to consider at each level of your setup. Even though I'm not a big fan of Kubernetes, it does have some of the best tools for what you're looking for. I suggest looking into Rancher or K3s and other similar options that can help you out.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions