MITGATORResearch & insights

Containment Budgets Should Follow Service Dependencies

Set isolation limits for each sign-in flow, reserve the capacity a cut removes, and decide when stopping an exposure warrants a service interruption.

An isolation can leave a fleet with enough healthy hosts on paper and a sign-in route with too few to serve its users. Give each protected flow its own containment budget: the capacity it can lose while still meeting the service owner’s floor. Count only capacity that passes the incident’s trust checks and can carry the work over the routes that will survive the cut. An exception to a capacity floor buys containment at the price of a specified service interruption. An exception to a trust rule buys service at the price of a defined exposure window. The incident lead needs to price those exceptions separately.

Capacity belongs to the route

In a fictional service, employee and partner sign-in each start with ten trusted hosts. At the assumed load, hosts have equivalent capacity, each pool needs eight, and traffic stays in its assigned pool. Isolate four employee hosts and the pools have six and ten, respectively. Sixteen hosts still serve, exactly the sum of the floors. Employees face a two-host shortfall and cannot use the two spares above the partner pool’s own eight-host floor. Both pools also rely on the same ingress gateway. Cutting that path interrupts both flows even if all twenty hosts are healthy.

Figure 1 — Six employee hosts fall two below the eight-host floor. The ten partner hosts have two to spare in their own pool. Illustrative sign-in capacity, not measured data.

Draw the production and recovery paths with the people who operate them. Use traces to confirm active routes, then exercise any alternate route at representative load before adding its capacity to the budget. A successful failover request can conceal a bottleneck that appears when the entire pool switches over. Include background flows such as credential renewal. Existing sessions can stay healthy until cached credentials expire, long after an immediate post-cut health check passes. Check what carries the instruction to undo a cut as well. If isolation severs the management connection that the endpoint agent uses to receive commands, the rollback depends on an independent control path.

Separate serving from trusted

Consider a different fictional pool with ten hosts, demand that needs seven, and an eight-host floor that preserves capacity for a concurrent failure. One host goes down and evidence puts another above the incident’s suspicion threshold. Eight hosts count as trusted. Draining the suspect host costs zero additional trusted capacity in that pool, but the eight remaining hosts still have to absorb its live requests. Verify their ability to do that at the current traffic mix. Recompute the effect on any other flow the suspect host serves, especially if the other flow has fewer eligible replacements.

If moving the workload would interrupt service and the lead keeps the suspect host in rotation, cap what the host can receive. A load balancer that redistributes traffic after another failure can widen the exception without a new approval. Bind the exception to the routes and traffic the lead accepted, and give the operator an independent way to cut those routes at expiry.

Reserve the cuts that compete

Return to the separate ten-host pool after the failure but before the suspicion. One host is down and the other nine still qualify as trusted. Two responders each propose isolating a different host as a precaution. Either cut alone leaves eight. Together they leave seven. The first transaction to commit reserves the remaining headroom for a specific target and dependency map revision. The second transaction projects both cuts and rejects the second hold. Check the floor and reserve capacity in the same serializable transaction to prevent both requests from claiming the spare.

Recompute reachability across all proposed and reserved cuts. An ingress cut and an isolation in the same pool can remove the same capacity from that route, so count the loss once in the projection while retaining both reservations. If the ingress cut is withdrawn, the isolation still removes its host. The reverse problem occurs when two independent cuts together sever both routes to the same pool. Once a cut takes effect, record its impact and release its reservation in the same update so another responder always sees the capacity as either held or gone. For each majority-based quorum with fixed membership during the cut, verify that a connected partition still holds a majority of the configured voters. In an illustrative five-voter group, four live voters split into pairs cannot meet the three-voter quorum. Check that clients can reach the partition that maintains quorum before crediting it toward a service floor.

Budget freshness against the rate at which headroom can disappear. In an illustrative throughput model, a proposed cut and outstanding holds leave 90 requests per second of spare capacity. At an assumed gradual loss of 30 requests per second of capacity each minute, the surplus lasts three minutes from observation. If collection and enforcement together can take one minute, dispatch less than two minutes after receipt. That calculation covers gradual loss. A gateway failure can erase the margin at once, so recheck affected paths if their health or configuration changes before enforcement.

A drain that made sign-in slower

In a separate fictional rollout, twelve trusted hosts serve sign-in immediately before the first isolation. Each sign-in sends user and session attributes to a suspect destination for optional enrichment. When enrichment fails promptly, sign-in proceeds with baseline claims. When the call stalls, it occupies a request slot until its deadline. The resulting queue can push later sign-ins past their own deadlines. Pinned refresh jobs send refresh credentials to the same destination. They have no automatic takeover. The initial floor of eight trusted hosts comes from load tests with prompt enrichment failures.

The team would ordinarily pause refresh jobs and disable enrichment first. Both admin consoles authenticate through the suspect destination, as does the login needed to stop a job on its host. Responders set those paths aside pending integrity checks. An immediate address-level edge block would also cut a required recovery endpoint on the same address. The lead has an independent route control for suspending sign-in and an independent management path for reversing host isolation. The network team starts staging a destination-specific deny on the egress proxy at minute zero, targeting activation at minute eighteen and verification before minute twenty.

Before minute zero, the lead authorizes a partial cut and responders rank hosts by their pinned refresh traffic using off-host telemetry. They isolate the highest contributors in that order. Each isolation stops refresh calls pinned to that host while interactive enrichment calls follow sign-ins to the survivors. The lead checks the earliest credential expiry against the time needed to stage the deny and switch refresh jobs to a trusted endpoint. The pilot stops at minute fifteen or earlier if failures exceed the health threshold or fresh evidence indicates compromise.

The first three isolations finish at minutes zero, five and ten, bringing the trusted serving count to eleven, ten and nine. At minute twelve, sign-in failures cross the stop threshold. Trace samples show enrichment occupying request slots longer than in the load test, while incoming demand and ingress gateway latency hold steady. With ten hosts after the second drain, sign-in had stayed within the threshold at comparable demand and enrichment latency. The lead stops the pilot, cancels the fourth drain scheduled for minute thirteen and adopts ten as the temporary floor under those conditions. The pool is one host short. The scheduled drain would have left eight, two below the revised floor.

Responders verify that the most recently isolated host still meets trust criteria, then restore it through the independent management path. It begins serving at minute fourteen and its pinned refresh jobs resume. A separate rollback authorization allows until minute fifteen to verify recovery. If the check fails or evidence of misuse appears first, responders suspend the affected sign-in route. The check passes at minute fifteen with ten hosts serving and zero headroom. Readmission relieved a queue on the serving hosts. If a shared egress path to the destination had been the bottleneck, adding host capacity could have increased traffic into that path while leaving sign-in failures high.

Figure 2 — At minute twelve the floor rises from eight to ten while nine hosts serve. Readmitting one host closes the gap at minute fourteen. Illustrative drain and recovery timeline, not measured data.

Account for what reached the destination

After the recovery check at minute fifteen, the lead authorizes continued routing through minute twenty. Responders suspend the route sooner if they see evidence of misuse or another health breach, and at expiry if verification remains pending. The network team applies the deny at minute eighteen and verifies by minute nineteen that every serving host, including the readmitted one, can no longer send refresh or enrichment traffic to the destination. They check established connections as well as new ones. A rule that applies only to connection setup can leave a pooled connection usable. Controlled sign-ins confirm prompt fallback to baseline claims and a separate probe confirms the recovery endpoint still works. A silent drop would leave enrichment calls waiting on the same deadlines that filled the queues. Verification ends the exception before expiry and sign-in stays up.

Treat refresh credentials and user or session attributes that reached the destination from the start of the suspected compromise through block enforcement as exposed. Each drain stopped only the isolated host’s pinned refresh jobs. Refresh traffic from the remaining hosts and interactive enrichment calls continued, and readmission resumed one host’s share of refresh traffic. Use the credential issuer’s independent admin path to rotate exposed refresh credentials, invalidate the old ones and configure a trusted refresh path before credential expiry. Use off-host routing records to identify affected users and include everyone the affected path could have served where those records leave gaps. Revoke their sessions and confirm that relying applications reject them, including any application sessions that survive revocation at the identity provider. Record which fields the destination received to assess disclosures that session revocation cannot reverse.

The decision at zero headroom

At zero headroom, another drain requires verified replacement capacity or explicit acceptance of a floor breach. Replacement capacity must be ready before the cut. A warm spare that needs the affected sign-in route to fetch credentials may pass a health probe and still fail to take traffic.

Before returning either of the two remaining isolated hosts, clear its trust checks and verify that its production egress enforces the deny. Admit the hosts individually and count each after it handles its expected share of traffic within the health threshold.

A floor raised after a health stop belongs to the conditions that produced it. Change it only after a representative load test under the new egress policy checks both sign-in latency and the failure reserve at the proposed lower host count. A healthy pool after readmission proves it can carry the observed load at its current size. Spending that capacity on another cut requires evidence that a smaller pool can carry the next peak.