Four Egress IPs Caved Under 20K Long-Lived Connections: Diagnosing SNAT Port Exhaustion and 5 Production Decisions for Cloud Egress Governance

Overview At 01:47 the payment channel’s callbacks started failing. Not a full outage — intermittent: seven or eight out of ten succeeded, the remaining two or three timed out on connect. Egress QPS on the application was flat, node CPU, memory and bandwidth were all normal, ss on the hosts showed only a few hundred TIME_WAIT sockets, and ephemeral port usage was sparse. The on-call engineer’s first instinct was that the counterparty’s endpoint was flapping....

November 10, 2026 · 39 mins · 8247 words · ABao