DEV Community

Cover image for Configuring HA-proxy LoadBalancer on RedHat & AWS using Ansible Roles & Dynamic Node Addition into Ha-proxy config file
Rajit Paul
Rajit Paul

Posted on • Edited on

1 1

Configuring HA-proxy LoadBalancer on RedHat & AWS using Ansible Roles & Dynamic Node Addition into Ha-proxy config file

Alt Text
ImageCredits: wikipedia.org

About Haproxy

Haproxy is a fast, free and reliable open-source software that provides a high availability load balancer for TCP and HTTP-based applications distributed over multiple servers.
Haproxy - https://www.haproxy.org/


Alt Text
Image credits: serverlab.ca

What is Ansible?

https://dev.to/rajitpaul/automated-configuration-management-using-redhat-ansible-4mk0
Alt Text
imagecredits volumes.blog

What are Ansible Roles?

Roles help us automatically load variables, handlers, templates and also helps to maintain a proper file structure which makes it simple for understanding and using the role.
Alt Text
image credits - edureka

Haproxy on RedHat

Alt Text
imagecredits redhat.com
Haproxy Role for RedHat - https://github.com/RajitPaul11/Ansible-Roles/tree/master/haproxylb_role

Haproxy on AWS

Alt Text
imagecredits wikipedia.org
Haproxy Role for AWS - https://github.com/RajitPaul11/Ansible-Roles/tree/master/haproxyaws_role

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

AWS Security LIVE!

Hosted by security experts, AWS Security LIVE! showcases AWS Partners tackling real-world security challenges. Join live and get your security questions answered.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️