Tired of Vercel’s pricing and policy changes? Self-hosting Vercel offers better control and significant cost savings. Here’s how to do it using Coolify on a Hetzner VPS.
Why Self-Host?
When considering self-hosting, cost and control are significant factors. For example, Hetzner offers a VPS plan starting at just €3.29 per month, a trustworthy company. Most of all, you can’t find more bang for the buck.
The Hetzner Plan
Hetzner’s 3.29€ per month plan is ideal for small to medium-sized projects. The plan provides:
- 2 vCPUs
- 4 GB Memory
- 40 GB SSD / Storage
This setup is more than sufficient for hosting Coolify and several small to medium web applications, making it an excellent choice for budget-conscious developers.
Coolify: A Self-Hosted Platform
Coolify is an open-source platform that simplifies the process of deploying various applications. It supports a wide range of languages and frameworks, including Go, Python, and Next.js.
Pros and Cons of Coolify
Pros:
- Supports multiple languages and frameworks.
- Simple setup and deployment processes.
- Cost-Effective: When used with affordable VPS providers like Hetzner, it significantly reduces hosting costs.
- Control: Complete control over your deployments and infrastructure.
Cons:
- Management Overhead: Requires manual updates and maintenance.
- Security: Self-hosting requires proper security management to protect against vulnerabilities.
Note: Coolify’s resource requirements are minimal. Hetzner’s 3.29 € shared plan, which is sufficient for Coolify.
Steps to take
- Get a VPS:
- Choose a provider like Hetzner.
- Create a new server
- For the image, choose Ubuntu 24.04.
- Install Coolify:
- SSH into your VPS ( you should have received a mail from Hetzner)
- Follow the installation instructions on Coolify
- Access Coolify:
- After installation, access the Coolify admin dashboard via the provided port.
- Secure your setup with proper firewall settings and HTTPS.
- Success! Deploy Your Projects:
How?
- Use the Coolify dashboard to deploy applications from your GitHub repositories.
- Configure DNS settings to point your domain to the Coolify server.
Alternatives
I didn’t investigate these completely, since they didn’t seem as full-featured/opensource to me as Coolify.
But if you want to see some alternatives to research further, check-out:
Now what?
Ready to save money and gain control? Head to Hetzner and get started!
Test