Overview
This is a repackaged software product wherein additional charges apply for hardening, security configuration, and support.
WHAT IS HAPROXY
HAProxy is the world's most widely deployed open-source software load balancer and reverse proxy - a single, high-performance C binary trusted for its reliability at scale. It balances TCP and HTTP/HTTPS traffic across pools of backend servers with active and passive health checks, multiple balancing algorithms (round-robin, leastconn, source, URI hash), sticky sessions, connection queuing, rate limiting, ACL-based routing, and request and response header rewriting. This image builds HAProxy 3.4 LTS from the official release source linked against the system OpenSSL 3 library, so it terminates TLS itself with no separate web server, and exposes a built-in real-time statistics and administration dashboard. A Lua scripting engine, PCRE2 regular expressions, and zlib compression are compiled in. GPL-2.0 license, no vendor lock-in.
WHAT THIS AMI ADDS
Security hardening:
- Per-instance self-signed TLS certificate generated at first boot - HTTPS works immediately on port 443; drop in your own PEM or a Let's Encrypt certificate any time
- Statistics and administration dashboard bound to 127.0.0.1 only, protected by a strong password generated at first boot - reach it over an SSH tunnel, never exposed to the network
- Healthy default configuration - the instance boots and answers on ports 80 and 443 with no backend configured; you edit one section to route to your own servers
- UFW firewall - SSH on 22, proxied traffic on 80 and 443 only
- fail2ban, AppArmor
- CVE scan - every image is scanned for vulnerabilities before release
OS hardening (CIS Level 1):
- CIS Ubuntu 24.04 LTS Level 1 benchmark applied via ansible-lockdown
- auditd, SSH hardening, Kernel hardening, IMDSv2 enforced
Compliance artifacts:
- SBOM - CycloneDX 1.6 at /etc/lynxroute/sbom.json
- CIS Conformance Report at /etc/lynxroute/cis-report.html
- CIS Tailored Profile at /usr/share/doc/lynxroute/CIS_TAILORED_PROFILE.md
Highlights
- HAProxy security baked in: a per-instance TLS certificate and HTTPS on port 443 at first boot, a password-protected stats dashboard bound to loopback, and a healthy default config that boots ready - unlike bare HAProxy AMIs that terminate no TLS, leave the stats page open with no password, and ship an older distribution build you must configure from an empty file.
- CIS Level 1 hardened Ubuntu 24.04 LTS: auditd, fail2ban, AppArmor, SSH key-only, IMDSv2 enforced. CVE-scanned before every release. SBOM (CycloneDX) and CIS Conformance Report included.
- High-performance TCP and HTTP load balancing and reverse proxy: active health checks, multiple balancing algorithms, ACL routing, rate limiting, TLS termination, and Lua scripting, built from the official 3.4 LTS source. GPL-2.0 license - fully auditable, no vendor lock-in.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Free trial
Dimension | Cost/hour |
|---|---|
t3.small Recommended | $0.02 |
t3.large | $0.03 |
t3.medium | $0.02 |
m6i.xlarge | $0.05 |
m6i.large | $0.03 |
Vendor refund policy
We do not offer refunds for this product. AWS infrastructure charges are billed separately by AWS and are not refundable by us.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
HAProxy 3.4.0 - Initial release (June 2026)
- HAProxy 3.4.0 LTS on Ubuntu 24.04 LTS, built from official source against the system OpenSSL 3 library
- TLS terminated on port 443 with a per-instance self-signed certificate generated at first boot
- Password-protected statistics and administration dashboard bound to loopback (127.0.0.1:8404)
- Healthy default configuration - boots and answers on ports 80 and 443 with no backend configured
- CIS Level 1 hardening applied (ansible-lockdown/UBUNTU24-CIS)
- CVE-scanned before every release
- UFW firewall pre-configured (ports 22, 80, 443 only)
- fail2ban, auditd, AppArmor pre-configured
- SBOM (CycloneDX 1.6) at /etc/lynxroute/sbom.json
- CIS Conformance Report (OpenSCAP) at /etc/lynxroute/cis-report.html
- IMDSv2 enforced
Additional details
Usage instructions
- Launch instance (t3.small recommended)
- Open Security Group - allow TCP 80 and TCP 443 from your clients, and TCP 22 from your IP
- SSH: ssh -i key.pem ubuntu@<PUBLIC_IP>
- Read credentials: sudo cat /root/haproxy-credentials.txt
- Open https://<PUBLIC_IP>/ in your browser - accept the self-signed certificate warning
- Route to your backends: edit the "sample_backend" section in /etc/haproxy/haproxy.cfg (replace the placeholder with your "server name ip:port check" lines), then run: sudo systemctl reload haproxy
The statistics and administration dashboard is bound to localhost only. Reach it over an SSH tunnel: ssh -L 8404:127.0.0.1:8404 -i key.pem ubuntu@<PUBLIC_IP> then open http://127.0.0.1:8404/ and log in with user "admin" and the password from the credentials file.
The port 443 frontend uses a per-instance self-signed certificate. For production, drop in your own certificate at /etc/haproxy/certs/default.pem (full chain + private key concatenated into one PEM) and reload, or obtain a free Let's Encrypt certificate with the certbot standalone plugin.
Credentials are saved to /root/haproxy-credentials.txt at first boot.
Resources
Vendor resources
Support
Vendor support
This AMI packages the community open-source HAProxy distribution (GPL-2.0) as a self-hosted, hardened EC2 image. Lynxroute is an independent publisher and is not affiliated with the upstream HAProxy project or its maintainers.
Visit us online: https://lynxroute.com
For HAProxy documentation: https://docs.haproxy.org/3.4/configuration.html For HAProxy upstream issues:
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products
