Derek Coleman & Associates Inc logoDerek Coleman & Associates Inc

Home / Marketplace / HAProxy on Ubuntu 24.04 LTS

HAProxy on Ubuntu 24.04 LTS

The de-facto standard software load balancer. This image boots HAProxy 3.0 on Ubuntu 24.04 LTS with sane, production-oriented defaults — TCP and HTTP load balancing, health checks, and TLS termination for whatever sits behind it.

Version: HAProxy 3.0 (vbernat PPA)Platform: Ubuntu 24.04 LTSPorts: 80 (HTTP frontend), 443 (TCP pass-through frontend)Category: Web & Networking
HAProxy on Ubuntu 24.04 LTS screenshot

What's included

  • HAProxy 3.0 with HTTP/2 and modern TLS support
  • Layer 4 (TCP) and layer 7 (HTTP) balancing modes
  • Built-in health checks; runtime API on /run/haproxy/admin.sock (add a loopback stats frontend if you want the HTML page)
  • Ubuntu 24.04 LTS with automatic security updates
  • Trusted Launch: Secure Boot + vTPM supported
  • Pairs with Azure Load Balancer for zone-redundant entry

Quick start

  1. SSH into the VM with the username and key you chose at deploy.
  2. HAProxy runs as a systemd service with a placeholder frontend bound on *:80 and *:443; the main config is /etc/haproxy/haproxy.cfg. The in-image ufw allows 80/443 — open them in the NSG to publish.
  3. Add your frontend/backend definitions, validate with `haproxy -c -f /etc/haproxy/haproxy.cfg`, then `sudo systemctl reload haproxy`. No stats frontend ships — add one bound to 127.0.0.1:8404 if you want it (the runtime API socket is /run/haproxy/admin.sock).

Common use cases

  • TLS termination and HTTP routing for VM fleets
  • Blue/green and canary traffic splitting
  • TCP balancing for databases and brokers
  • Rate limiting and connection shaping at the edge

Why our images

Freshly rebuilt against the latest security advisories, no shared default credentials, Trusted Launch support, and automatic OS security updates — everything runs in your own Azure subscription under your governance.

Deploy HAProxy in minutes

Production-ready, hardened, and maintained. Deploy straight from the Azure Marketplace into your subscription.