Meet keepalived - High Availability and Load Balancing in One
Techno Tim
@technotimAbout
I make videos that help people do awesome things with technology.
Latest Posts
Video Description
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. Video Notes: https://technotim.live/posts/keepalived-ha-loadbalancer/ Support me on Patreon: https://www.patreon.com/technotim Sponsor me on GitHub: https://github.com/sponsors/timothystewart6 Subscribe on Twitch: https://www.twitch.tv/technotim Become a YouTube member: https://www.youtube.com/channel/UCOk-gHyjcWZNj3Br4oxwh0A/join Merch Shop 🛍️: https://l.technotim.live/shop Gear Recommendations: https://l.technotim.live/gear Get Help in Our Discord Community: https://l.technotim.live/discord 2nd channel: https://www.youtube.com/@TechnoTimTalks (Affiliate links may be included in this description. I may receive a small commission at no cost to you.) 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? #keepalived #OpenSource #HighAvailabilty "Siren Glitch" is from Harris Heller's album Breaker. https://l.technotim.live/sb-music-license Thank you for watching!
You May Also Like
Boost Network Reliability
AI-recommended products based on this video

TP-Link 5 Port Gigabit Ethernet Network Switch (TL-SG1005D) - Plug and Play, Desktop or Wall Mount, Plastic Case, Ethernet Splitter, Fanless, Traffic Optimization, Unmanaged (TL-SG1005D)

TP-Link USB to Ethernet Adapter (UE306) - Foldable USB 3.0 to Gigabit Ethernet LAN Laptop Network Adapter, Supports Nintendo Switch, Windows, Linux, Apple MacBook OS 10.11- OS 12, Surface

Laplink PCmover Ultimate 11 - Migration of your Applications, Files and Settings from an Old PC to a New PC - Data Transfer Software - With Optional High Speed Ethernet Cable - 1 License

Buruis Extra Large Capacity Toiletry Bag for Women and Men, Hanging Toiletry Organizer Cosmetics Makeup Bag, Water-Resistant Dopp kit Travel Bag for Full Sized Toiletries, Travel Essentials (Black)

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge R660XS R760XS

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge XE9680

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge R6625 R760 R7615 R7625

OWC 64GB DDR5 4800 PC5-38400 CL40 2Rx4 288-pin 1.1V ECC Registered RDIMM Memory RAM Module Upgrade Compatible with Dell PowerEdge HS5610 HS5620




















