In my quest to make my services highly available I decided to use keepalived. keepalived is a framework for both load balancing and high availability that implements VRRP. This is a protocol that you see on some routers and has been implemented in keepalived. It creates a Virtual IP (or VIP, or floating IP) that acts as a gateway to route traffic to all participating hosts. This VIP that can provide a high availability setup and fail over to another host in the event that one is down. In this video, we'll set up and configure keepalived, we'll test our configuration to make sure it's working, and we'll also talk about some advanced use cases like load balancing.
00:00 - Intro 00:43 - How does keepalived work in HA mode? 01:22 - How does keepalive act as a load balancer 02:01- What are we going to cover today? 02:30 - Requirements 02:49 - Setting up your servers 03:26 - Installing keepalived 03:46 - Configuring your fist server (config explained) 06:58 - Enable keepalived 07:51 - Configuring your second server 09:31 - Testing keepalived 11:31 - Testing nginx with keepalived 13:42 - Real world scenarios with keepalived (HA PiHole) 16:36 - Use Gravity Sync to keep PiHole HA in Sync 17:00 - What I think about keepalived 17:33 - Stream Highlight - What version of Linux do you use?