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
- Runs on
- Your own hardware or a Pilae Cloud region you choose
- Replaces
- Hand-managed application endpoints
- Licence
- GPL-2.0 with OpenSSL exception
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.
All 4 requirements, and why each is there
- 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.
- Application poolIndependently reachable replicasIdentify shared data and session dependencies. Confirm how much traffic the pool can handle with its busiest instance unavailable.
- 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.
- 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
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.
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.
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 state | What the operator should expect |
|---|---|
| ready | An eligible healthy server can receive ordinary traffic. |
| drain | Ordinary load balancing moves away from the server while probes continue. |
| maint | The server is administratively unavailable and active health checks stop. |
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.
- CompareSelf-hosting vs managed open source: doing it yourself, or PilaeSelf-hosting gives you the apps and the whole job of running them. Pilae gives you the same open-source apps, operated under a contract, on your premises or in Pilae Cloud.
Moving from Hand-managed application endpoints to HAProxy Community, step by step
- 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.
- 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.
- 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.
- 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
Engineers who answer for it
On Business and Enterprise, our engineers respond to incidents and take over when the agent needs a hand.
Your data stays where the contract says
On your own servers or in Pilae Cloud, in the region you choose, and your contract names each location.
Who handles your data, in writing
Your data processing agreement names every company that handles your data, and none is added without notice and a right to object.
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 plansHAProxy Community: common questions
Will two application servers protect us if the proxy host fails?
What happens to a user halfway through an upload?
Can the application keep its existing certificate?
What should we prepare before deployment?
Talk to an engineer about your HAProxy Community
Tell us about the deployment you already have, or the one you are about to start.
Compare plans and prices, or write to us with a question this page leaves open.
- Go deeperManaged open-source hosting and operationsPatching, daily encrypted backups, monitoring and incident response for your open-source apps, under an SLA with an availability commitment of up to 99.9%.
- CompareEngineering and security appsSource code, container images, secrets and security events. The systems an auditor asks about first, kept where you can show them.
- CheckSecurity for self-hosted open-source apps, run by PilaePrivate networking, hardened machines, named access, tracked advisories and a full audit log, built to ISO 27001 controls.
