proxy, aws, amazon linux 2,

Install HAProxy on Amazon Linux 2

Apr 13, 2022 · 1 min read · Post a comment

HAProxy is one of the best free and open source software for using high availability load balancing and reverse proxy. It’s most suitable for HTTP and TCP based applications. Let’s see how to install HAProxy on Amazon Linux 2.


  • Amazon Linux 2
  • sudo privileges

Install HAProxy on Amazon Linux 2

Step 1. Update the Amazon Linux 2 packages.

sudo yum update

Step 2. Install HAProxy.

sudo yum install haproxy

Step 3. If you want to check the default haproxy configuration, run:

cat /etc/haproxy/haproxy.cfg

Step 4. To verify version, run:

haproxy -v


HA-Proxy version 1.5.18 2016/05/10
Copyright 2000-2016 Willy Tarreau <[email protected]>


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.