Quick revision
The short answer
I would decide on full costs and evidence rather than on per-request price or habit. That means comparing managed pricing at our real traffic, including capacity and connection units, against instances, engineering time, on-call and the risk of a four-person team; testing whether the two missing features are needs that could move to a gateway layer; weighing lock-in against real portability plans; and comparing reliability records. Often a hybrid wins, managed layer 4 at the edge with our own layer 7 proxies behind it, decided through a pilot with an exit path.
What to remember
In this answer, we saw that choosing between a self-run HAProxy and Envoy fleet and managed load balancers should rest on full three-year costs including people and risk, a hard look at whether the two features are needs and could move behind the balancer, honest weighing of lock-in and reliability, and usually a hybrid of managed layer 4 with our own layer 7, decided by a pilot with clear criteria and an exit path.
Your turn
Answer it aloud as you would in the interview, or type your answer below. Then show one part at a time and compare.
I would decide on full costs and evidence rather than on per-request price or habit. That means comparing managed pricing at our real traffic, including capacity and connection units, against instances, engineering time, on-call and the risk of a four-person team; testing whether the two missing features are needs that could move to a gateway layer; weighing lock-in against real portability plans; and comparing reliability records. Often a hybrid wins, managed layer 4 at the edge with our own layer 7 proxies behind it, decided through a pilot with an exit path.
Why this question is asked
Build-versus-buy decisions about infrastructure are often argued on the wrong numbers. The managed option looks expensive per request, and the self-run fleet looks free because the people running it are already on the payroll. Interviewers ask this to see whether a senior leader can put full costs, risks and capabilities on the same table, and make a decision that is reversible if it turns out wrong. In this answer, we will build the full cost comparison, look hard at the two features, weigh lock-in and reliability, and then describe the hybrid option and the pilot that would settle the question.
1Comparing Full Costs, Not Unit Prices
Managed load balancers are usually priced by hours plus a usage unit that combines new connections, active connections, processed bytes and rule evaluations, such as AWS's load balancer capacity units. At our traffic, the bill could be large, and we should model it with our actual connection counts and bytes, not just requests, because long-lived connections and large responses change the result a lot.
On the self-run side, the true cost includes instances or hardware, but also the four engineers' time spent on the fleet, the on-call burden, upgrades and security patches for HAProxy and Envoy, capacity planning, and the risk carried by a small team: what happens when two of the four are away during an incident. A rough way to compare is to price that team's time and the expected cost of incidents, then set both totals side by side over three years.
| Cost item | Self-run fleet | Managed balancers |
|---|---|---|
| Compute or usage charges | instances, network | hourly plus capacity units at real traffic |
| People | share of 4 engineers, on-call | smaller share for configuration |
| Upgrades and security patches | our team | provider |
| Risk of key people leaving | high with 4 experts | low |
| Missing features | none | cost to rebuild them elsewhere |
| Exit cost | low | certificates, config, tooling to migrate |
2Are the Two Features Needs or Habits?
The two features we rely on deserve a hard look. For each one, I would ask what business outcome it serves and whether there is another place it could live. Features like custom Lua scripts in a proxy, special header manipulation, advanced rate limiting or particular routing rules often grew from a past problem and may no longer be needed, or may fit better in an API gateway or a layer 7 proxy that sits behind the managed balancer.
If a feature turns out to be a real need that can only live at the edge, such as a specific protocol or traffic-steering behaviour the managed product cannot do, that is a strong reason to keep at least part of the fleet. If it can move one layer back, the gap disappears.
3Lock-In, Portability and Reliability
Managed balancers tie configuration, certificates, health checks and often the surrounding automation to one provider. That matters if a multi-cloud strategy or an exit plan is real, with dates and budget, and matters much less if it is only a slide. I would ask the business which it is before giving lock-in much weight.
Reliability evidence should be compared honestly in both directions. The managed service has an incident history, published limits such as scaling speed during sudden spikes, and quotas; some managed balancers need pre-warming or time to scale for very sudden traffic jumps. Our own fleet has its track record too, and a dependence on a few experts that is itself a single point of failure. Neither side is automatically safer.
4The Hybrid Option and a Pilot
Often the best answer is not either-or. A managed layer 4 balancer at the edge takes over the most operationally painful part, high-volume connection handling, DDoS protection and cross-zone resilience, while our own Envoy or HAProxy layer 7 proxies behind it keep the features we rely on. The team of four then runs a smaller, simpler fleet.
I would settle the question with a pilot rather than a debate: move a share of traffic, for example one product or 10 percent of requests, through the target setup for a month or two, measure real cost, latency, error rates and operational effort, and confirm the features work. Before starting, we define success criteria and an exit path, so going back is a planned step rather than an emergency.
- Model full three-year costs for both options
- Can the two features move behind a managed balancer?YesConsider managed L4 plus own L7NoKeep the fleet for that traffic
- Run a pilot on 10 percent of trafficcost, latency, errors, effort
- Did the pilot meet the agreed criteria?YesMigrate in stages with an exit pathNoStay and invest in the fleet
4 steps in order. Play them, or step through them one at a time.
5Making the Decision Stick
Whatever we choose, I would write it down as a decision record with the numbers and assumptions, and set a review date. The four engineers deserve a clear plan too: if the fleet shrinks, their expertise moves to the remaining layer 7 proxies, the gateway or platform reliability, which is usually a better use of scarce skills than patching edge hardware.
6Follow-up questions
What would make you reverse the decision in two years?
For a move to managed: costs growing much faster than traffic, repeated incidents or limits we cannot work around, or a new requirement the provider cannot meet, especially if exit plans became real. For keeping the fleet: losing the people who run it, a security incident tied to slow patching, or the managed product gaining the missing features. Writing these triggers into the decision record at the start makes the review objective.
How do you keep the decision from being driven by the team's preferences?
Involve the team in building the comparison, because they know the hidden costs best, but agree the criteria with finance and the product side before seeing the results. A pilot with measured outcomes also takes the emotion out, since the data rather than opinions decide.
Does moving to managed make the team of four redundant?
Usually not. Someone still owns configuration, certificates, capacity limits and incident response with the provider, and the layer 7 tier and gateway keep needing expertise. The work shifts from running machines to running the traffic platform.
7Conclusion
In this answer, we saw that choosing between a self-run HAProxy and Envoy fleet and managed load balancers should rest on full three-year costs including people and risk, a hard look at whether the two features are needs and could move behind the balancer, honest weighing of lock-in and reliability, and usually a hybrid of managed layer 4 with our own layer 7, decided by a pilot with clear criteria and an exit path.
Open with
I would avoid deciding on the per-request price alone. First I would build a full three-year comparison: managed pricing modelled with our real connection counts and bytes, including capacity units, against our instances plus the real cost of four engineers, on-call, upgrades and security patching, and the risk of depending on a small team.
Then, if they want more
Second, I would examine the two missing features: are they real needs or habits, and could they move to a layer 7 proxy or API gateway behind a managed balancer?
Third, I would weigh lock-in only as much as our multi-cloud or exit plans are real, and compare reliability evidence honestly, the provider's incident history and scaling limits against our own track record.
In practice a hybrid often wins: a managed layer 4 balancer at the edge for connection handling and DDoS protection, with our own Envoy proxies behind it keeping the features.
I would settle it with a pilot on a share of traffic, agreed success criteria and a clear exit path, record the decision with the triggers that would make us revisit it, and redeploy the team's expertise to the layers we still run.
About this answer
- Last updated
- 13 November 2026
- Checked
- Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
- Where the question comes from
- Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer
Copy the line below and send it to the author with what you found. It carries the address of this page.
Issue with "As the senior technical leader, how do you decide whether to keep the self-run fleet or...": https://scrivio-interview-library.netlify.app/architecture/load-balancing-networking/a675ceb7ac/