Setting up Keepalived in the cloud - AWS

Keepalived provides frameworks for both load balancing and high availability. Unless you have a specific use case for keepalived in the cloud, there are almost always better methods for load balancing or HA. This article is just to prove it is possible to use in the cloud and a creative way I’ve utilized it. What makes keepalived in the cloud different? There are two main issues with using keepalived in the cloud. VRRP and the VIP. ...

December 9, 2025 · 7 min · 1330 words

How to setup high-availability PiHole with Keepalived and Nebula-Sync

Abstract We will setup two PiHole instances in an active/passive failover setup using Keepalived. The two PiHole instances will be synced with each other using nebula-sync, where one instance will be the primary and one will be the secondary. This setup will allow your primary PiHole instance/hardware to fail for whatever reason and automatically switch DNS duty over to the secondary instance, without reconfiguring clients. The two instances will share a “Virtual IP Address”, and PiHole will be served from this address. ...

August 14, 2025 · 9 min · 1850 words

How to setup high-availability PiHole with Keepalived and Gravity-Sync

Abstract This guide is deprecated as of PiHole Verson 6. Gravity-Sync is not compatible with PiHole versions newer than 5.x. Nebula-sync is a new alternative tool for syncing PiHole 6+. We will setup two PiHole instances in an active/passive failover setup using Keepalived. The two PiHole instances will be synced with each other using gravity-sync, where one instance will be the primary and one will be the secondary. This setup will allow your primary PiHole instance/hardware to fail for whatever reason and automatically switch DNS duty over to the secondary instance, without reconfiguring clients. ...

June 25, 2024 · 7 min · 1437 words

How to obtain free SSL certificates with Letsencrypt, Certbot, and Cloudflare

Abstract Let’s say you host some services by yourself. You should make your services secure right? Maybe you want your users to feel safe while using your apps? Maybe you just want to see a little green padlock next to your URLs? Either way, this guide will show you step by step how to obtain free SSL certs for your webserver using Letsencrypt, Certbot, and Cloudflare. Why Using this method, you can have valid ssl certs to use on your https websites or apps. They will be signed by letsencrypt and should be auto renewed with certbot No ports are required to be opened for this since it uses api to modify DNS records. This allows for valid ssl certs to be used by any site, including internal only ones. ...

June 15, 2021 · 5 min · 995 words