Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Railway 2 min read Incident mediumAdept

Incident Report: December 16th, 2024

Emptying a legacy static IP block list in Terraform took down inbound traffic on Railway's Google Cloud edge across all regions for about 10 minutes. The Google Cloud Terraform provider treats an empty source_ranges list the same as nil, so the GCP firewall rule lost its source ranges and defaulted to matching all IPs, turning "block nothing" into "block everything." Fixes include paging the engineer who merged the change, skipping the Terraform plan step during reverts (which cost about 3 minutes), and auditing legacy firewall rules for loose specificity. Longer term, Railway is betting on its own metal datacenters plus AWS for fault isolation.

Related posts

  • Incident Report: August 27th, 2024

    Railway mediumAdept

    A routine Terraform pull request adding instances of Railway's new edge proxy caused all live proxy machines to be recreated at once, timing out roughly 30% of traffic (HTTP and public TCP) for about 30 minutes, with full recovery after about 60. The root cause was a stale config. An engineer had resized boot disks in the GCP console to work around a Google Terraform Provider issue, but the matching PR was still unmerged, so the IaC vendor applied the old disk sizes and forced replacement. Two safeguards failed: the vendor's PR comment showed "0 to destroy" while the actual plan destroyed 17 resources, and deletion protection was missing on the new proxy because it was dropped during promotion from staging. Fixes include deletion protection by default in production Terraform policies, removing destroy permissions from the Terraform coordinator boxes in favor of privileged escalation, extra alerting, and pre-baked machine images so proxies don't need just-in-time bootstrapping.

  • Incident Report: May 19, 2026- GCP Account Suspension

    Railway mediumAdept

    An automated Google Cloud account suspension took Railway's GCP-hosted control plane, API, dashboard and databases offline for about 8 hours. Once edge proxies' cached routing tables expired, the outage cascaded to workloads on Railway Metal and AWS, because route discovery depended on a network control plane API hosted in GCP. Restoring account access did not restore the platform: persistent disks, compute and networking each needed separate recovery. Afterward, queued deploys had to be drained gradually and GitHub rate-limited OAuth and webhook traffic from retries against cold caches. Planned fixes include removing the single-cloud discovery dependency so the network becomes a true mesh, spreading HA database shards across AWS and Metal for quorum survival, and moving GCP out of the data plane hot path.

  • Incident Report: January 31st, 2024

    Railway mediumAdept

    A ~12 million RPS, ~650 Gbps TCP SYN flood, likely from a Mirai botnet, overwhelmed Railway's EU edge proxies on January 31, 2024. EU users could not reach hosted workloads for about 5.5 hours, a separate 250k RPS L7 attack had earlier destabilized the dashboard. Mitigation was hard because the flood came from clean or spoofed IPs, connection rate limits were ineffective against half-open connections, and Railway terminates TLS itself, so it could not simply put Cloudflare in front. Recovery required tuning kernel TCP settings (backlog, SYN-ACK retries, syncookies), inserting a non-TLS-terminating filtering service between the load balancer and edge, and recreating the load balancer.

  • Incident Report: October 16th, 2025

    Railway easyNovice

    A traffic spike on Railway's Edge Network coincided with a routine edge service upgrade and exhausted memory in an internal routing service that was already running at high utilization. New proxies could not initialize, failed health checks and were pulled by load balancers, causing 2-3 minutes of intermittent HTTP/TCP failures (404s, 522s) across all regions while private networking stayed unaffected. Recovery came as caching absorbed the load. Fixes include higher memory limits, tiered memory alerts and overload safeguards, with a memory-efficient rewrite and a multi-region architecture planned to isolate failures per region.

  • Incident Report: July 2, 2026 — US East Services Outage

    Railway mediumAdept

    An upstream Tier 1 carrier's backbone degradation caused packet loss between Railway's US regions, and while routing around it, engineers disconnected the last carrier supplying a default route to a first-generation US East site, leaving it without a stable internet route for about 20 minutes. That instability exposed latent bugs: Linux hosts fell back to a slow management network for storage traffic, and connections stayed pinned there after recovery, capping throughput at a third and pushing I/O wait to 58%. WireGuard-style mesh tunnels also learned a NAT device's address as their peer and, being silent when idle, never self-corrected, blackholing about 20,000 links until agents were restarted. Fixes include self-generated default routes at older sites, making missing fabric routes fail closed instead of falling back, and alerting on management-network utilization and blackholed links.

The quest for software engineering knowledge.

Look:
Layout: