LVS Direct Routing (DR) Setup Using Keepalived

Job ID: 36831784

Budget: $250 – $750 USD

Requirements

PLEASE SEE THE ATTACHMENTS FOR DETAILES

Setup 2 Keepalived instances, 1 Master and 1 Backup using DIRECT ROUTING mode (DR) L4 load balancing 2 HAProxy dedicated servers doing load balancing on 2 backend NodeJS dedicated servers. Keepalived will be acting as a ROUTER. All what is required from the applicant will be making the request flow from Keepalived to HAProxy nothing more.

Provided

Cloud provider is Hetzner
Floating IP (provided)
SSH access to 2 cloud instances and 4 dedicated servers with all their public IP’S.
All the resources will be in the same network having fresh Ubuntu 22.04 installation with docker installed.
2 Cloud instances will be having Keepalived installed with keepalived.conf in place but the service will not be running.
2 Dedicated servers will have HAProxy already installed.
2 Dedicated servers will have a NodeJS server returning a simple JSON printing request details.


Deliverables

Detailed step by step guide to recreate similar environment providing
Ordered commands used
Configuration files

Note: Please don't apply if you didn't work with the Following before

Linux Virtual Server (LVS)
Keepalived as L4 DR load balancer
Related categories: System Admin Linux Ubuntu Network Administration DevOps