Deploy HAProxy

Keep an application reachable while a replica is patched by routing incoming connections to servers ready to handle them.

USD 299 a month on Team for one server, with unlimited apps and deployment automation through the Pilae Agent. Pilae Cloud machines are rented separately.

  • Instant deployment setup
  • Engineering and security
  • GPL-2.0 with OpenSSL exception
  • Replaces Hand-managed application endpoints

Start deploymentInfrastructure

Runs on
Your own hardware or a Pilae Cloud region you choose
Replaces
Hand-managed application endpoints
Licence
GPL-2.0 with OpenSSL exception
Your serversAdvisoryPatchSandboxPolicyDeployLive

HAProxy Community among the engineering and security apps

Source code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.

HAProxy Community system requirements

Before anything is deployed, this is what has to exist. We size it with you in the first session, and we say so when your own hardware is already enough.

Where it runs
Your hardwarebare metal, VMware, Proxmox, Hyper-V or Kubernetes, in your datacentrePilae Cloud regionzur1 fra1 fal1 gra1 ams1 hel1 …machines dedicated to you, in the region your contract namesprivate meshaccess by identityencrypted tunnelencrypted, offsiteHAProxy Communitypinned, patched, watched01ComputePeak connections and TLShandshakes02Application poolIndependently reachablereplicas03Front doorDNS name and addressownership04Readiness signalPer-backend service checkYour teamthe people you allowYour identity providerKeycloak or Entra IDPilae Agentplans, asks, applies, recordsPilae consolechange policy and logYour backup targetstorage you own, at asecond sitea second datacentre,same jurisdictionYour hardwareyour servers, your networkPilae Cloud regionzur1 fra1 fal1 gra1 …private meshby identitytunnelencryptedHAProxy Communitypinned, patched, watched01ComputePeak connections andTLS handshakes02ApplicationpoolIndependently reacha…03Front doorDNS name and addressownership04ReadinesssignalPer-backend service…Your teamthe people you allowYour sign-inKeycloak, Entra IDPilae Agentplans, asks, applies, recordsPilae consolepolicy and logYour backupsa second sitea second datacentre
On your hardware: the Pilae Agent installs HAProxy Community and what it needs on the machines you choose and runs beside it, and encrypted backups go to storage you own at a second location you pick.In a Pilae Cloud region: the same setup on machines dedicated to you, in the region your contract names, with encrypted backups in a second datacentre inside the same jurisdiction.
All 4 requirements, and why each is there
  1. ComputePeak connections and TLS handshakesMeasure concurrent sessions, handshake rate, bandwidth and connection duration. Size the surviving proxy for the load it must carry during maintenance.
  2. Application poolIndependently reachable replicasIdentify shared data and session dependencies. Confirm how much traffic the pool can handle with its busiest instance unavailable.
  3. Front doorDNS name and address ownershipChoose how callers reach a surviving proxy when one proxy host fails. Include certificate renewal and client DNS caching in the decision.
  4. Readiness signalPer-backend service checkSelect a cheap, representative probe. Decide which failures remove one server and what happens if every server reports unhealthy.

Running HAProxy Community in production: what it takes

  1. Observe a normal peak

    Compare request duration, connection counts, queues and backend error rates during the busiest part of a shift. Record the spare capacity available for a maintenance drain.

  2. Rehearse an application rollout

    Drain a replica, wait for the application owner’s completion criterion and replace it. Test a fresh session and a returning one before doing the same on the next replica.

  3. Recover the proxy configuration

    Recreate the listener on an isolated host using the pinned configuration and securely restored certificates. Exercise a read and a test write through the recovered listener and check the identity presented to the client.

Deployment reference

Which backend state belongs in the maintenance plan?

Server stateWhat the operator should expect
readyAn eligible healthy server can receive ordinary traffic.
drainOrdinary load balancing moves away from the server while probes continue.
maintThe server is administratively unavailable and active health checks stop.
HAProxy’s Runtime API documents these administrative states. Persistent sessions and connections already established need a separate check before the instance is stopped.

Migrating from Hand-managed application endpoints to HAProxy Community

Moving callers from individual application hosts to a shared endpoint changes where connections terminate. Inventory the clients that use a host directly, the TLS names they expect and any sessions or uploads stored on just one replica.

Moving from Hand-managed application endpoints to HAProxy Community, step by step

  1. Capture the current routing contract: Record hostnames, ports, certificate ownership, timeouts and expected client IP handling. Ask application owners which writes are safe to retry and how long an in-flight request may take.
  2. Test a parallel listener: Use a pilot hostname and equivalent test accounts. Exercise a login, an upload and a read after a write. Correlate the request IDs with backend logs and confirm the same order or document appears exactly once.
  3. Drain one instance: Take one test replica out of ordinary rotation. Watch established connections, clients with persistence cookies and the remaining servers’ capacity before shutting it down. Restore the replica and confirm it accepts new traffic after readiness returns.
  4. Move clients in groups: Keep the old endpoint working while selected clients switch. Check failed requests, latency and completed business transactions against the baseline. If the checks fail, return the group to the old endpoint and reconcile outstanding writes before replaying any request.

What HAProxy Community is, and who runs it

The upstream core uses GPL version 2 with an OpenSSL linking exception. Exportable headers and other expressly marked files have their own terms. This guide covers the upstream community software.

Patch one replica during a shift

A warehouse operator submits a dispatch confirmation and immediately checks its status. If the request times out during a rollout, a second click might create a second confirmation. Test that transaction through the new endpoint with a disposable order. Have the warehouse application owner check the recorded dispatch and its identifier before the network team calls the rollout successful.

HAProxy can evaluate an HTTP response to decide whether an application instance should receive traffic. Choose an endpoint that reflects the instance’s ability to do useful work. If every replica depends on the same database, agree what the caller should see during a database outage. Keep a client-side check alongside per-backend probes so that an expired certificate or a failed front door is visible in monitoring. HAProxy health checks

Read the full briefFold the brief

Assign the failover decision

Draining a server helps an operator perform planned work. The proxy still needs its own failure and recovery plan. Include a test from the network where staff actually work and inspect long-lived client connections during the change. Use the NetBox inventory to identify who owns the service address, the route to each backend and the address clients should use during rollback. HAProxy server-state reference

Bring an example service, its load profile and an agreed maintenance window so the proposal can distinguish application availability from availability of the proxy itself. HAProxy community project and upstream licence

For a container estate where service discovery drives the routing configuration, compare Traefik. If a partner endpoint must also assemble fields from several backend systems, evaluate KrakenD’s API aggregation model.

What the managed plans cover

Compare the operating responsibilities included in Pilae’s plans. How the platform does it.

Ours

  • A pinned version: A version we have run, not whatever latest resolves to that day.
  • A runbook: What it depends on, how it fails, what to do about it. In your repository.
  • Daily backups: Encrypted and offsite, and on Business and Enterprise restored every month. A backup nobody has restored is a file.
  • A patch window: The agent applies security updates automatically in your window, with a rollback ready.
  • Continuous monitoring: Every endpoint probed on the minute. Alerts reach your team, and on Business and Enterprise a Pilae engineer too.

Yours

  • The credentials: You hold them. Ours are separate, named, logged and revocable with one command.
  • The change policy: The agent applies updates automatically in your window. You can require human approval for selected changes or for every update.
  • The exit: The machines, data, deployment configuration and runbook are already yours. Nothing stops when our access does.

Who runs it

HAProxy Community runs on every plan. Team is USD 299 a month for up to 3 servers (yours, or Pilae Cloud machines at their own price) and unlimited apps, with no charge per server.

Compare the plans

HAProxy Community: common questions

Will two application servers protect us if the proxy host fails?

They protect the application tier only. Scope a second proxy and a means of reaching it, then test that route from a client while one proxy host is offline.

What happens to a user halfway through an upload?

An established transfer still depends on the proxy and backend carrying it. Agree on a drain interval that accommodates real uploads. Test client recovery before interrupting a connection.

Can the application keep its existing certificate?

With TCP forwarding, the backend can continue terminating TLS. If HAProxy terminates TLS, assign an owner for keys, certificate renewal and the policy for the connection from proxy to backend.

What should we prepare before deployment?

Bring one listener, its backend inventory, a peak traffic sample and the longest acceptable interruption. Include any session affinity, long-lived streams or clients that connect to a fixed address.

Talk to an engineer about your HAProxy Community

Tell us about the deployment you already have, or the one you are about to start.

Start deployment

Compare plans and prices, or write to us with a question this page leaves open.