Zero downtime deployments & high availability setup using Coolify + Hetzner • 2026 Guide
Автор: Airoflare
Загружено: 2025-12-18
Просмотров: 3521
This tutorial walks you through setting up zero downtime deployments and a high availability setup using Coolify and a Hetzner Load balancer. You’ll learn how to scale your application across multiple servers, use a load balancer, and deploy new versions without taking your app offline.
In this video you’ll learn how to:
Set up multi-server deployments using Coolify
Configure a Hetzner load balancer for traffic distribution and failover
Use health checks and graceful shutdowns during deployments
Set up automatic deployments with Docker and a container registry
Put Cloudflare in front of the load balancer for DDoS protection
🌟 Video Sponsor!
This video is made possible thanks to Hetzner, my go-to hosting provider. If you're looking for affordable and reliable cloud infrastructure, check them out here: https://airoflare.com/hetzner
❤️ Support the Creator!
Creating these videos takes a significant amount of time and effort. If you found this helpful, consider supporting us:
Share the video
Leave a comment
Or donate (optional): https://airoflare.com/support-us
Your support is genuinely appreciated!
⏰ Timestamps
0:00 ➔ Intro
0:24 ➔ Why Single Servers Fail: The Scaling Problem
0:49 ➔ Scaling Step 1: Separate the Database
1:15 ➔ Scaling Step 2: Separate the Application
1:37 ➔ Scaling Step 3: Implement High Availability (HA)
2:13 ➔ How to Prevent Downtime: The Deployment Problem
3:05 ➔ The Zero Downtime Deployment Logic Explained
4:15 ➔ The SIGTERM / SIGKILL Grace Period
5:20 ➔ Essential Health Check & Shutdown Logic
6:02 ➔ 5 Rules for Zero Downtime with Coolify
7:35 ➔ Sponsor: Hetzner
8:34 ➔ Full-Stack App Setup (Next.js, Prisma, Bun)
10:01 ➔ Code Breakdown: Health Check Implementation
12:15 ➔ Infrastructure Pre-Setup
13:39 ➔ Hetzner: Create a Private Network
14:41 ➔ Hetzner: Provision a Load Balancer
16:05 ➔ Hetzner: SSL Certificates Configuration
17:15 ➔ Hetzner: Crucial Health Checks Setup
18:55 ➔ Hetzner: Setup DNS
19:48 ➔ Hetzner: Setup firewalls & SSH keys
22:56 ➔ Hetzner: Server Creation & Automated Docker Login
25:54 ➔ Coolify: Connecting All Servers
29:13 ➔ Coolify: Deploying the PostgreSQL Database
30:56 ➔ Coolify: Deploying the Next.js Application
37:18 ➔ Zero Downtime Deployment Live Demo
41:22 ➔ Adding Cloudflare for DDoS protection & Caching
43:28 ➔ Outro
🔗 Links used/mentioned in the video
Github App tutorial ➔ • Setup GitHub App on Coolify • 2025
Cloudflare DDoS protection tutorial ➔ • Setup Cloudflare DDoS protection for Cooli...
Nextjs App codebase ➔ https://github.com/Airoflare/Youtube-...
Tester Site codebase ➔ https://github.com/Airoflare/Youtube-...
Hetzner Cloud Config ➔ https://github.com/Airoflare/Youtube-...
💎 More from us
Website ➔ https://airoflare.com
Discord Community Server ➔ https://airoflare.com/discord
Become a Supporter ➔ https://airoflare.com/donate
Business inquiries (email) ➔ team@airoflare.com
⚠️ Important
Please do not re-upload or redistribute this video on any platform without permission.
Sharing the link to this video is completely fine.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: