---
title: "Single-tenant Titus: VM-level isolation on a multi-tenant container platform"
description: "Netflix added a single-tenant mode to Titus, its Kubernetes-based multi-tenant container platform, giving selected tasks a dedicated, right-sized EC2 instance while keeping the same API, deployment path and platform-managed hosts."
url: "https://swe.quest/articles/single-tenant-titus-vm-level-isolation-on-a-multi-tenant-container-platform-3e32ce6c463704b4"
canonical: "https://netflixtechblog.com/single-tenant-titus-vm-level-isolation-on-a-multi-tenant-container-platform-6d8b1909d163"
source: "Netflix TechBlog"
published: "2026-10-22"
difficulty: "medium"
kind: "Case study"
reading_minutes: 27
tags: ["multi-tenancy","containers","kubernetes","virtualization","performance"]
---

# Single-tenant Titus: VM-level isolation on a multi-tenant container platform

A post on [Netflix TechBlog](https://swe.quest/sources/netflix.md), published 2026-10-22, 27 min read, Case study. Original: [https://netflixtechblog.com/single-tenant-titus-vm-level-isolation-on-a-multi-tenant-container-platform-6d8b1909d163](https://netflixtechblog.com/single-tenant-titus-vm-level-isolation-on-a-multi-tenant-container-platform-6d8b1909d163)

## Summary

Netflix added a single-tenant mode to Titus, its Kubernetes-based multi-tenant container platform, giving selected tasks a dedicated, right-sized EC2 instance while keeping the same API, deployment path and platform-managed hosts. Shared-kernel isolation (cgroups, CFS, iocost, HTB traffic shaping) cannot partition last-level cache, memory bandwidth, softirq budget or kernel locks, so stateful streaming jobs suffered tail-latency spikes and checkpoint restores from noisy neighbors. The team rejected microVMs (bare-metal or nested virtualization constraints, self-run hypervisor, no GPUs), gVisor (syscall overhead on IO-heavy paths) and raw EC2 (loss of the managed experience) because these workloads need resource isolation, not protection from hostile tenants. The implementation uses an allowlist in the federation layer, just-in-time autoscaling that picks the smallest fitting instance from allowed families, and anti-affinity, taints, a non-preemptible priority class and disabled repacking to guarantee one task per node.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Multi-tenancy](https://swe.quest/tags/multi-tenancy.md) (Architecture & design)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Virtualization](https://swe.quest/tags/virtualization.md) (Infrastructure)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- Kubernetes scheduling ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Linux cgroups and namespaces ([easy posts on Linux](https://swe.quest/tags/linux.md?difficulty=easy))
- container isolation basics ([easy posts on Sandboxing & isolation](https://swe.quest/tags/sandboxing.md?difficulty=easy))

## Keywords

Titus, Netflix, EC2, Firecracker, Kata Containers, gVisor, HTB, cgroups

## Related posts

- [Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams](https://swe.quest/articles/capacity-without-conflict-a-guide-to-multi-tenant-gpu-cluster-design-for-ai-c2f29c5aa8b2d044.md): Together AI · 2026-04-21 · Easy · 6 min read · Multi-tenancy, Hardware, Scheduling, Kubernetes, ML platforms
  Multi-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm.
- [How we built a secure, performant, multi-tenant cloud platform to run untrusted code](https://swe.quest/articles/how-we-built-a-secure-performant-multi-tenant-cloud-platform-to-run-untrusted-2ee4fd4f231472d5.md): Deno · 2024-05-17 · Medium · 10 min read · Multi-tenancy, Serverless, Sandboxing & isolation, CDN & edge, System design
  Deno Deploy runs untrusted JavaScript and TypeScript in pools of V8 isolates inside VMs called runners, split into a control plane for deployments and a data plane of edge regions.
- [How security and tenant isolation allows Deno Subhosting to run untrusted code securely](https://swe.quest/articles/how-security-and-tenant-isolation-allows-deno-subhosting-to-run-untrusted-code-bc85ef9b28cccb45.md): Deno · 2023-11-27 · Easy · 6 min read · Multi-tenancy, Sandboxing & isolation, Serverless, Linux
  Deno Deploy and Deno Subhosting isolate untrusted tenant code using layered defenses mapped to a five-point threat model: per-deployment V8 isolates, a virtualized filesystem, and separate VPCs for ingress and outbound traffic.
- [How OrderServ achieved up to 64% cost savings with multi-tenant ECS](https://swe.quest/articles/how-orderserv-achieved-up-to-64-cost-savings-with-multi-tenant-ecs-935530e80e7948f4.md): AWS Architecture Blog · 2026-11-06 · Medium · 13 min read · Multi-tenancy, Cloud platforms, Cost optimization, Capacity planning, Observability
  Cognizant's OrderServ food-ordering platform moved from one dedicated ECS Fargate cluster per brand (21 microservices each) to a shared multi-tenant cluster.
- [Modal becomes a gVisor maintainer](https://swe.quest/articles/modal-becomes-a-gvisor-maintainer-053bd8f08ca6c19d.md): Modal · 2026-11-11 · Medium · 9 min read · Sandboxing & isolation, Containers, Multi-tenancy, Hardware, Open source
  Google is donating gVisor to the CNCF under maintainer-led governance, and Modal, which launches over 40 million gVisor containers a day for GPU inference, training, and AI sandboxes, is joining as a maintainer. gVisor's Go-based Sentry application kernel implements the Linux syscall interface and is itself confined by namespaces, cgroups and seccomp, giving tenant isolation without hardware virtualization: about 25 ms boot and 12 MB overhead.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
