Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / Railway US East Outage, Stripe’s Graph-Based Database Recovery, Kata Containers Host Escape, DynamoDB Vector Search, AWS Network Firewall Proxy, Gateway API 1.6, and containerd 2.4
Transcript
- 0:00Railway lost an upstream network path, recovered
- 0:02it, and still kept having problems because stale
- 0:06connections had moved onto the wrong network.
- 0:10Stripe says it cut database pages by about 30
- 0:13% by replacing hard-coded recovery logic with
- 0:17graph search. And a critical Kata Containers
- 0:20vulnerability let guest root become host root.
- 0:24This week is mostly about what happens after
- 0:27the obvious failure. I'm Brian Teller from Teller's
- 0:30Tech, and this is Ship It Weekly. Welcome back
- 0:50to Ship It Weekly, the show about the DevOps,
- 0:53SRE, Cloud, platform, and security stories that
- 0:57matter when you are the person keeping the thing
- 0:59running at three in the morning. For the weekly
- 1:02story list and source links, check out OnCallBrief.com
- 1:06For past episodes and show notes, head
- 1:10over to ShipItWeekly.fm. This week, Railway
- 1:14published the RCA for a major U.S. East outage.
- 1:19Stripe shared how it uses graph search and state
- 1:22machines to automate database remediation. Kata
- 1:26Containers patched a critical guest to host escape.
- 1:31And DynamoDB now has native vector search. Then
- 1:36we have three quick lightning stories and a closer
- 1:39about learning cloud-native engineering by actually
- 1:43working on real systems instead of just finishing
- 1:47another tutorial. Let's get into it. First up,
- 1:55Railway published the incident report for its
- 1:58July 2nd US East outage. The incident started
- 2:02with an upstream ISP problem. That alone is not
- 2:07especially unusual. The more interesting part
- 2:10is what happened next. Railway disconnected the
- 2:13affected carrier. but in the process, it also
- 2:17removed the site's last default route. Storage
- 2:21traffic then fell back onto a management network
- 2:25that was never intended to carry that load. Eventually,
- 2:29the routing problem was fixed, but recovery did
- 2:33not mean everything immediately went back to
- 2:36normal. Some long-lived connections had already
- 2:39established themselves over that slower management
- 2:42network. they stayed there. So even after the
- 2:46main route came back up, some traffic continued
- 2:49using the wrong path. Railway also described
- 2:53around 20,000 private network connections ending
- 2:57up blackholed during the incident. This is
- 3:00one of those failures where the original trigger
- 3:03matters less than the state it leaves behind.
- 3:07We tend to think of recovery as a binary thing.
- 3:11Route is broken. Route is fixed. Incident over.
- 3:15But distributed systems do not always reset themselves
- 3:19just because the thing that caused the problem
- 3:23has been corrected. Connections stay open. Caches
- 3:27preserve bad information. Sessions remain pinned.
- 3:32Retries build pressure somewhere else. And the
- 3:36failover paths can quietly become the new steady
- 3:40state. That is the lesson that I like here. When
- 3:43you restore the control plane, you still need
- 3:46to ask what data-plane state was created while
- 3:50things were broken. What connections need to
- 3:53be recycled? What caches need to expire? What
- 3:57sessions need to be re-established? And what
- 4:00fallback paths are still carrying traffic they
- 4:04were never supposed to handle? The first fix
- 4:07gets you out of the fire. The second part is
- 4:10making sure the system actually returns to the
- 4:14architecture you intended. Next, Stripe shared
- 4:22how it reduced database paging by replacing a
- 4:25lot of hard-coded remediation logic with something
- 4:29much more dynamic. Stripe operates a large MongoDB
- 4:34fleet, and like a lot of mature infrastructure,
- 4:37recovery used to depend heavily on specific runbooks
- 4:41and rules. If this condition happens, run this
- 4:45action. If that action fails, try this other
- 4:49one. That works. Until the number of possible
- 4:52states gets large enough that the runbook itself
- 4:55becomes a system you have to maintain. Stripe's
- 5:00newer approach models remediation as a graph.
- 5:04The current state of the database is a node.
- 5:06Possible recovery actions are edges. And the
- 5:10system can search for a safe path from the current
- 5:13broken state toward a healthy one. They combine
- 5:16that with state machines to track what is happening,
- 5:19and Dijkstra's algorithm to find possible remediation
- 5:23paths. The result, according to Stripe, is roughly
- 5:27a 30% reduction in database-related pages.
- 5:31They also reported around 200 fewer pages per
- 5:35year and fewer days where shards stay unhealthy.
- 5:39What I like about this is that it is not really
- 5:42an AI story. It is an automation story. We sometimes
- 5:46jump straight from manual runbooks to give an
- 5:51agent access to production. There is a huge middle
- 5:54ground between those two. You can model the problem,
- 5:58you can encode valid state transitions, you can
- 6:01define which actions are safe, and then let software
- 6:05calculate the recovery path without making the
- 6:09recovery system completely open-ended. That
- 6:12is a much more interesting form of automation
- 6:14to me. It still gives the system flexibility,
- 6:17but the flexibility exists inside boundaries
- 6:21engineers actually defined. And just as importantly,
- 6:25the recovery logic becomes something you can
- 6:29reason about. You can inspect the graph. You
- 6:32can test transitions. You can understand why
- 6:36the system selected one path instead of another.
- 6:40Automation gets much more useful when it reduces
- 6:43toil without also reducing explainability. Third,
- 6:52Kata Containers patched a critical guest -to
- 6:55-host escape. The vulnerability affected the
- 6:59runtime-rs virtio-fs path. In the affected
- 7:03configuration, root inside the guest could cross
- 7:07the isolation boundary and end up executing as
- 7:11root on the host. That is about as bad as container
- 7:15isolation bugs get. Kata exists specifically
- 7:19to strengthen the boundary between a workload
- 7:23and the machine underneath it. Instead of relying
- 7:27only on normal container isolation, workloads
- 7:30run inside lightweight virtual machines. So when
- 7:35a vulnerability crosses from guest root to host
- 7:38root, it is attacking the exact security property
- 7:42people adopted Kata to get. Affected versions
- 7:46run through 3.30.0. The fix is in 3.31.0.
- 7:53The practical takeaway here is pretty simple.
- 7:56If you are running Kata Containers, this is not
- 7:59a patch that I would leave sitting in the normal
- 8:02backlog. But there is a broader point too. Isolation
- 8:06technology changes the attack surface. It does
- 8:10not remove it. A VM boundary is stronger than
- 8:14a namespace boundary in a lot of scenarios. But
- 8:18virtio, shared filesystems, device emulation,
- 8:22runtime components, and the glue connecting guest
- 8:26and host all become part of that trusted boundary.
- 8:30Every time that we say that something is sandboxed,
- 8:33the next question should be, by what? And what
- 8:37still crosses that boundary? Isolation is not
- 8:41a checkbox. It is an architecture. DynamoDB now
- 8:51supports native vector search. That means that
- 8:55applications can store embeddings and run similarity
- 8:58searches without automatically reaching for a
- 9:02separate vector database. For teams already using
- 9:06DynamoDB, that can remove a surprising amount
- 9:09of architecture. Today, a common pattern is to
- 9:12store application data in one system, generate
- 9:16embeddings, write those embeddings somewhere
- 9:19else, and then keep both stores synchronized.
- 9:22Now you can potentially keep the primary data
- 9:26and vector representation closer together. That
- 9:29is attractive for things like semantic search,
- 9:32recommendations, retrieval-augmented generation,
- 9:36and agent memory. But I would not read this as
- 9:40vector databases are dead. A specialized vector
- 9:43engine may still be the right answer if vector
- 9:47search is the core of the workload or if you
- 9:51need capabilities DynamoDB does not provide.
- 9:54The interesting part is that vector search is
- 9:57becoming another normal database feature. We
- 10:00have already watched this happen with JSON support,
- 10:04full-text search, caching, analytics, and other
- 10:08capabilities that once demanded separate systems.
- 10:12That usually leads to a good architecture question.
- 10:15Do I actually need another service? Every additional
- 10:19database creates another backup strategy, another
- 10:23availability model, another security boundary,
- 10:26another cost center, and another thing someone
- 10:29has to understand during an outage. Sometimes
- 10:33that complexity is justified. Sometimes the best
- 10:36infrastructure decision is deleting a box from
- 10:40the diagram. Quick lightning round. First, AWS
- 10:50brought explicit proxy functionality into network
- 10:54firewall. That gives teams another way to control
- 10:57outbound traffic while keeping firewall rules,
- 11:01intrusion detection, TLS inspection, and workload
- 11:05-aware controls in the same general system. There
- 11:08is also a new no-source-preservation mode that
- 11:12can work with NAT Gateway. Useful, but as always
- 11:16with AWS networking, look closely at the traffic
- 11:20path and processing costs before you decide the
- 11:24cleaner diagram is also the cheaper one. Second,
- 11:28Gateway API 1.6 makes TCPRoute and UDPRoute stable.
- 11:34That matters for workloads that are not HTTP.
- 11:38Databases, queues, game servers, DNS. and other
- 11:43Layer 4 services can now use stable Gateway API
- 11:47resources instead of treating Gateway API as
- 11:51mostly an HTTP routing story. And third, containerd
- 11:562.4 is in beta. The release includes work around
- 12:01warm image caching, runtime introspection, snapshotters,
- 12:06and other internals, along with some breaking
- 12:09changes. If containerd sits underneath your platform,
- 12:13beta release notes are worth reading early. The
- 12:17worst time to learn that something you depended
- 12:19on disappeared is during the Kubernetes upgrade
- 12:22that also changed six other things. The human
- 12:34closer this week comes from a developer writing
- 12:38about getting deeper into cloud-native through
- 12:41the LFX mentorship program. What stood out to
- 12:44me was not the specific technology. It was the
- 12:48progression. Documentation work leads to actually
- 12:52deploying things. Deploying things leads to debugging
- 12:56OpenTelemetry and Prometheus. And debugging leads
- 13:00to understanding why the pieces behave the way
- 13:03they do. That is where most engineering knowledge
- 13:06really comes from. Tutorials are useful because
- 13:10they remove friction. Everything works in the
- 13:13order that the author expected. The YAML is correct.
- 13:17The versions match. The network behaves. And
- 13:20the command in step 7 produces the output shown
- 13:24in the screenshot. Real systems do not do that.
- 13:28A real environment has the wrong version. The
- 13:31collector starts but exports nothing. The service
- 13:34account technically exists, but does not have
- 13:37the permission you thought it had. The dashboard
- 13:40is empty. The example in the documentation was
- 13:43written for a different release. And now you
- 13:47have to figure out why. That frustrating part
- 13:50is where judgment starts getting built. You stop
- 13:53memorizing commands and start building a mental
- 13:56model. You learn which logs matter. You learn
- 14:00what assumptions to check first. You learn what
- 14:04healthy actually looks like. And eventually,
- 14:07you get faster. Not because you know every answer,
- 14:11but because you know how to narrow the problem.
- 14:14That is one reason that I think contributing
- 14:16to open source mentorship programs, labs, and
- 14:20even small personal projects can be more valuable
- 14:24than stacking another 10 hours of tutorials.
- 14:27You need environments where things can be wrong.
- 14:31Because production is mostly an environment where
- 14:34things can be wrong. There is nothing bad about
- 14:37starting with the happy path. Just do not stop
- 14:40there. The goal is not to finish the tutorial.
- 14:43The goal is to become comfortable when the tutorial
- 14:47stops matching reality. That's it for this week
- 14:51of Ship It Weekly. We covered Railway's US East
- 14:54outage, Stripe's graph -based database remediation,
- 14:58the critical Kata Containers escape, and DynamoDB
- 15:02native vector search. Plus, AWS Network Firewall
- 15:07Proxy, Gateway API 1.6, and containerd 2.4.
- 15:12Follow or subscribe wherever you are watching
- 15:15or listening. You can find the weekly story list
- 15:18and source links at OnCallBrief.com and past
- 15:23episodes and show notes at ShipItWeekly.fm.
- 15:26I'm Brian Teller from Teller's Tech. Thanks for
- 15:29listening. And remember, recovery is not finished
- 15:32just because the original failure is gone.