Skip to content

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

Railway 10 min read Case study hardMaster

Zero-Touch Bare Metal at Scale

Railway automates bare-metal provisioning through MetalCP, an internal control plane that runs Temporal workflows. Each workflow scrapes Redfish BMC data to map physical NIC slots and NVMe bays to stable names, matches the result against known hardware configs written in Go, and exposes them to Ansible. Hardware that doesn't match a known config fails import, which has caught bad RAM and misplaced NICs. OS installs run hands-free via Pixiecore PXE boot with per-host Debian preseeds, and Claude reads Supermicro screen captures to track install state for under a dollar per 50 servers. The dataplane is an L3 CLOS fabric using FRR with BGP unnumbered over IPv6 link-local addresses, so a single config template per device type scales racks without reconfiguring switches.

Assumes: Linux device namingBGP routing basicsPXE network bootAnsible

Related posts

  • Claude please rack me a datacenter, make no mistakes

    Railway mediumAdept

    Railway's infrastructure team used Claude to plan, document and qualify a multi-site bare-metal datacenter buildout across 4 geographies with about one and a half planners. The approach rests on primitives inside their internal DCIM, Railyard: immutable changesets as version control for physical infrastructure, design rule checks, a parts library with attribute and constraint data generated from spec sheets, and curated MCP tools plus skills. Applied changesets move assets through a Draft/Buildout/Active lifecycle that auto-generates work orders, bills of materials and technician-friendly Excel cabling matrices. A /dc-provision skill then validates the build using LLDP, transceiver DOM stats and a burn-in Linux agent, checking wiring and light levels against the DCIM spec across SONiC and Arista EOS switches.

  • OCP Summit 2024: The open future of networking hardware for AI

    Meta Engineering hardMaster

    Meta is contributing two disaggregated network fabrics and a new NIC to OCP for its AI training clusters. The Disaggregated Scheduled Fabric (DSF) uses VoQ-based scheduling on Arista 7700R4 leaf (Jericho3-AI) and spine (Ramon3) switches, running FBOSS over OCP-SAI, to avoid congestion proactively and expose a standard Ethernet RoCE interface to accelerators. Two retimer-free 51.2T switches, the Tomahawk5-based Minipack3 and the Cisco 8501 on Silicon One G200, cover 400G/800G fabrics. The Meta-designed FBNIC multi-host NIC supports four isolated hosts and PTP timestamping, and its driver is upstream in Linux 6.11.

  • The next generation of Metal; Railway Metal Gen 2

    Railway easyNovice

    Railway has rolled out a second generation of its self-owned bare-metal infrastructure, with roughly 5x the compute and network throughput of Gen 1. The rebuild was driven by heavier workloads that shifted the CPU:RAM demand ratio from 1:20 toward 1:8, a tripling of RAM prices, and a demand spike that left a new Gen 1 site with only about three months of runway. Gen 2 uses AMD Zen 5c EPYC hosts with DDR5 and dual 100G NICs, NVMe storage servers with 4x 100G, and a Tomahawk 3 fabric with 400G spine uplinks, consolidating four SKUs into two and cutting network capex per host by about 30%. Each Gen 2 site sits beside its Gen 1 sibling over dark fiber; Gen 1 keeps running existing workloads while new and stateful workloads migrate over, and about 40% of workloads currently burst to GCP/AWS.

  • Less Dashboards. More Robots. Railway, for Agents

    Railway easyNovice

    Railway is repositioning its platform around coding agents, bundling the CLI, MCP configuration and agent skills behind a single installer (`install.sh --agents -y`) so harnesses like Claude or Codex can deploy, configure and debug services without the dashboard. The CLI gains `--json` output, non-interactive flags and explicit project/service/environment scoping. A CLI-based MCP and an OAuth Remote MCP replace the deprecated NPM server, and a route-first `use-railway` skill loads only the references a task needs. Safety layers include staged changesets reviewed as diffs, MCP `destructiveHint` flags, 48-hour soft deletes and workspace guardrails such as GitHub org allowlists.

  • Hello, World: We’re Railway

    Railway mediumAdept

    Railway launches US-East, EU-West and Southeast Asia regions alongside its original US-West GCP zone, with one-click region moves that need no URL or DNS changes. Getting there required several building blocks: private networking built on a WireGuard mesh with eBPF NAT and per-project IPv6 /64 address spaces, a global edge that splits Envoy edge proxies from regional routing proxies behind GeoDNS, and lazy-loading L4 TCP proxies that subscribe to a memdb-backed control plane for cache invalidation. Volumes use ZFS send/receive snapshots, orchestrated with Temporal, to move databases across regions with minimal downtime. The team also restructured a copy-pasted, module-less Terraform and Ansible stack so new regions are cheap to add.

The quest for software engineering knowledge.

Look:
Layout: