Postmortem: Delayed Start Compute Operations
A query plan change overloaded Neon's control plane database in AWS us-east-1, which stopped it from suspending idle databases. Running pods climbed to about 8,000, and those pods used up the IP addresses in two of the three subnets, so customers couldn't create or wake scale-to-zero databases for 5.5 hours across two days. Mitigation meant upscaling the control plane database, adding temporary proxy rate limiting, and setting the AWS CNI WARM_IP_TARGET and WARM_ENI_TARGET to 0. Restoring WARM_IP_TARGET=1 three days later caused IP allocation to fail again even though free IPs were available, and that was eased by doubling prewarmed compute pools. Follow-ups include doubling the VPC subnets and a new Kubernetes 'Cells' architecture.
Related posts
- AWS CNI lessons from a Production Outage
Neon hardMaster
Neon's us-east-1 Kubernetes cluster ran out of VPC subnet IPs at ~8k Computes despite 12k addresses, because AWS VPC CNI's default WARM_ENI_TARGET=1 behaviour over-allocates whole ENIs (49 IPs each) and only releases an ENI when it has no assigned Pods. Go's random hashmap iteration spread Pods across all ENIs, so ~3.4k IPs stayed stranded on nodes with no spare CPU or memory. The emergency fix, WARM_IP_TARGET=1, freed those IPs but then blocked Pod starts for 30s after each deletion, which kept start rates low after recovery. The write-up traces ipamd's pool logic through its source code and links an upstream PR to improve it.
- Delayed Start Compute Operations – Triggering Event
Neon mediumAdept
Neon's 2025-05-16 us-east-1 outage was triggered when the Postgres planner for the control plane database switched to a suboptimal index for the Activity Monitor query that finds idle Computes to suspend. The resulting broad scan of the tens-of-millions-row computes table saturated CPU and pushed fetchEndpointWithCompute latency from hundreds of milliseconds to over 100 seconds. With suspensions stalled, running VMs grew past the planned 6,000 and IP allocation failed. Neon fixed it by running ANALYZE and wrapping the expensive subquery in a materialized CTE as an optimization fence. Planned follow-ups include more aggressive garbage collection to shrink the table and moving historical data to an OLAP system.
- A Recap on May/June Stability
Neon mediumAdept
Neon's May and June 2025 incidents were caused by a load surge from agentic AI platforms. Database creation rose more than 5x and branch creation more than 50x. In May, US regions hit Kubernetes scaling limits around 10,000–12,000 concurrent database pods: EKS etcd memory, pod start times, network configuration and API rate limits. Stopgap tuning raised risk until the horizontally scaled "Cells" architecture shipped. In June, branch metadata growth in the Postgres-backed control plane caused query plan drift, vacuum pressure and expensive billing queries. Fixes include stricter limits on every workload dimension, tests with high-branch-count scenarios, defensive query rewrites, moving billing data to an analytical store, and splitting start/suspend hot-path logic into a small isolated service.
- How Neon's lakebase architecture stays resilient to cloud failures
Neon mediumAdept
Neon (and Databricks Lakebase) hardens its serverless Postgres against cloud failures by keeping Postgres compute stateless over zone-redundant storage, so failed computes are replaced instantly without hot standbys or WAL replay. Because agents now start tens of millions of databases daily, the start/suspend path of the control plane is being split into a minimal-dependency data plane controller. Further measures include avoiding cloud provider control planes on the hot path via pre-allocated bare-metal pools and a custom autoscaling virtualization layer, and cell-based regions that limited a May 2026 us-east-1 AZ incident to ~13% of databases. Chaos testing, whole-AZ disconnect simulations targeting under 30s of downtime, and per-database SLIs with 99.99% monthly attainment tracking round out the approach.
- How Render Services Stayed Up During the AWS October Outage
Render mediumAdept
Render's hosted services stayed up through AWS's 15-hour us-east-1 outage on October 20, 2025, though builds, deploys, database creation and proxy latency degraded in its Virginia region. Three long-standing choices limited the damage: building on low-level primitives (EC2, S3, ELB) instead of DynamoDB, RDS or Lambda, which sat upstream in the failure cascade; self-managing Kubernetes with a control plane outside us-east-1; and keeping most customers in Oregon and Ohio. During the incident, engineers pinned Auto Scaling group minimums to prevent scale-down, moved proxy nodes from free to paid tiers, and manually cleaned up stuck persistent volume claims. Planned follow-ups are runbooks for those improvised fixes, fallback communication channels, and synthetic EC2-provisioning probes to detect provider failures sooner.