How We Secure 100 Clusters Across 20 Clouds
Captured source
source ↗How we secure 100+ clusters across 20+ clouds Please enable JavaScript This website requires JavaScript in order to work properly.
Please rotate your device To continue exploring this website, please rotate your device to a vertical orientation
Security How we secure 100+ clusters across 20+ clouds We design clusters to be secure by default and apply controls that hold every cluster we run on to that design.
Authors Stephen Day Hao Wu
Last updated November 21, 2026 Originally published November 20, 2026
TLDR Because we treat compute as fungible across many GPU providers, we have to take steps to ensure our security standard holds on every cluster we run on. This post covers how we do it, including a checklist at the end you can apply to your own fleet, or when evaluating a provider’s security standards.
Running inference for other companies requires a high bar of trust, and we have to continuously earn that trust when it comes to serving our customers’ models, processing their data, and offering the products they build on both. We're proud to partner with teams like Cognition, Coinbase, Cursor, Datadog, HubSpot, Ramp, and many more, and we put controls in place to protect their models and data wherever they run.
This post covers how we hold our security standard across our entire fleet—20+ clouds and 100+ clusters—including over a dozen neoclouds that help us unlock global scale (and run workloads active-active) to reliably meet any level of customer demand. For an introduction to this security series and a look at how we’ve adapted our defenses to agent-speed attacks, read our overview blog here .
Why every cluster needs its own hardening
Multi-cloud Capacity Management (MCM) allows us to treat GPUs as completely fungible, regardless of the cluster or cloud provider they’re sourced from—hyperscalers and neoclouds alike.
When you work with hyperscalers like AWS or GCP, they hand over managed clusters with years of hardened defaults. Neoclouds are often less hardened (and less uniform): some lease bare machines, some run Kubernetes for you, and some work through a partner that operates the control plane. Often, they have public addresses and open ports.
Because we can run workloads on any of 20+ providers, every cluster must be evaluated so we can add necessary controls on top wherever needed. For neoclouds in particular, this often means building our security posture on top of them, so every cluster is hardened before it serves traffic.
Our threat model: four trust boundaries
To bring the same controls to every cluster, we start from a threat model with four trust boundaries: the infrastructure layer, operating partners, workloads, and internal access.
Boundary What it separates What we defend against The infrastructure layer Our platform from a provider's hardware, network, and defaults A compromised provider, or a cluster that arrives exposed Operating partners Baseten from any third party that operates a layer of the stack A compromised partner, or stolen partner credentials Workloads One customer's code from other tenants and from the node Malicious or compromised customer code, or a compromised image Internal access Our engineers from production clusters Misused or stolen engineer access
The infrastructure layer
The infrastructure layer is the foundational trust boundary and follows the cluster lifecycle. We control a cluster’s exposure from handover through operation to decommission.
At handover, we close every public port except the ones that serve traffic. We put the Kubernetes API behind an allowlist, and we set SSH to key-only access with regularly rotated keys. SSH access is provided on-demand with multi-factor authentication (MFA) and no long-lived credentials. A baseline scan then checks the cluster before it joins the fleet.
In operation, traffic to and from each cluster moves through secure channels so a cluster accepts traffic only from trusted Baseten infrastructure. Node joins are protected and designed so a machine can't add itself to a cluster. Hosts and Kubernetes are patched on a set cadence.
At decommission, we wipe customer data before the machines go back to a provider.
Operating partners
Some layers of the stack are operated by someone else: a provider runs the hardware and its console, and on some clusters a partner runs the Kubernetes control plane.
Anyone who operates a layer gets the least access that the layer needs. Partners notify us of control plane changes, so cluster changes don't arrive unannounced, and provider consoles require hardware-bound MFA.
Workloads
Because we treat all end-user code as untrusted, we isolate it at build, at runtime, on the network, and from other customers’ secrets.
To enforce workload isolation, we take the following steps:
Customer builds run in microVMs: Each build runs arbitrary customer code with broad permissions, so each one gets its own kernel.
Every image comes through our build platform: Customer and platform images live in separate registries, so the two stay separate.
Tenants are isolated on the network: Network policy separates tenants, and cross-cluster traffic uses mTLS for authentication and encryption in transit.
RDMA goes through a node agent: Direct memory transfers between nodes pass through an agent that authorizes each one.
Customer secrets are encrypted in our control plane: They’re segregated by organization, never baked into images or code, and reach only that customer’s own deployments.
Runtime detection runs on every node: It watches for breakout attempts, including through the GPU runtime.
Internal access
The last boundary is the one around us (or anyone managing a fleet). Access is restricted, fully logged, monitored, and audited. Those logs also leave the cluster, so someone with access to a cluster can't erase the record of how they used it.
Limiting the blast radius when a boundary fails
We assume any of these boundaries can fail, so we scope credentials to one cluster at most. Even a fully compromised cluster holds no credential that reaches another cluster or the control plane beyond a limited scope. Within a cluster, network policy and node boundaries keep a compromised workload or node from reaching the rest of the cluster.
We also plan for the worst case: an attacker who controls a whole cluster. In that case, it’s imperative that the damage is contained to that cluster; to do so, we scope keys by least privilege:...
Excerpt shown — open the source for the full document.
Notability
notability 6.0/10Substantive security infrastructure post from AI inference platform.