---
title: "Zero-Copy Migration: How Yelp Moved Its Cassandra Fleet Between Kubernetes Clusters"
description: "Yelp moved roughly 1000 Cassandra pods and nearly a petabyte of data from self-managed Kubernetes clusters to Amazon EKS without streaming any data."
url: "https://swe.quest/articles/zero-copy-migration-how-yelp-moved-its-cassandra-fleet-between-kubernetes-0d6b3f088cd34645"
canonical: "https://engineeringblog.yelp.com/2026/11/zero-copy-cassandra-kubernetes-migration.html"
source: "Yelp Engineering"
published: "2026-11-09"
difficulty: "medium"
kind: "Case study"
reading_minutes: 12
tags: ["kubernetes","distributed-databases","storage-systems","cloud","refactoring"]
---

# Zero-Copy Migration: How Yelp Moved Its Cassandra Fleet Between Kubernetes Clusters

A post on [Yelp Engineering](https://swe.quest/sources/yelp.md), published 2026-11-09, 12 min read, Case study. Original: [https://engineeringblog.yelp.com/2026/11/zero-copy-cassandra-kubernetes-migration.html](https://engineeringblog.yelp.com/2026/11/zero-copy-cassandra-kubernetes-migration.html)

## Summary

Yelp moved roughly 1000 Cassandra pods and nearly a petabyte of data from self-managed Kubernetes clusters to Amazon EKS without streaming any data. EBS volumes are bound to an Availability Zone, not to a cluster, so the team pre-created PVs and PVCs in EKS pointing at the existing EBS volume IDs. They then rolled pods one at a time: delete the legacy pod, block it from rescheduling, and let the waiting EKS pod attach the freed volume and rejoin the ring. Both custom operators were paused with a skipReconciliation flag during the handoff, and rollback is the same pointer swap in reverse. The procedure was validated by hand first, then turned into an ~800-line bash script with Claude. The write-up covers pitfalls including stale VolumeAttachment objects, IAM drift that broke backups, and months-disabled repairs uncovered along the way.

Written by swe.quest, not by the author.

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

## Topics

- [Kubernetes](https://swe.quest/tags/kubernetes.md) (Infrastructure)
- [Distributed databases](https://swe.quest/tags/distributed-databases.md) (Data & databases)
- [Storage systems](https://swe.quest/tags/storage-systems.md) (Infrastructure)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)
- [Refactoring & migrations](https://swe.quest/tags/refactoring.md) (Engineering practices)

## Prerequisites

- Kubernetes PersistentVolumes and StatefulSets ([easy posts on Kubernetes](https://swe.quest/tags/kubernetes.md?difficulty=easy))
- Cassandra replication basics ([easy posts on Replication](https://swe.quest/tags/replication.md?difficulty=easy))
- Amazon EBS

## Keywords

Apache Cassandra, Amazon EKS, Amazon EBS, Container Storage Interface, Cassandra Reaper, PaaSTA, Claude

## Related posts

- [Evolving the Backend Storage for Platform Metrics](https://swe.quest/articles/evolving-the-backend-storage-for-platform-metrics-0fb82a7939c98396.md): Heroku Engineering · 2024-05-09 · Medium · 6 min read · Databases, Distributed databases, Observability, Cloud platforms, Schema migrations
  Heroku migrated the time-series store behind MetaaS, its internal metrics service, from self-managed Apache Cassandra to AWS DynamoDB without user-visible impact.
- [How we migrated onto K8s in less than 12 months](https://swe.quest/articles/how-we-migrated-onto-k8s-in-less-than-12-months-54c705b789d0d5b3.md): Figma · 2024-08-08 · Medium · 16 min read · Kubernetes, Cloud platforms, Deployment, Resilience, Cost optimization
  Figma moved most of its core services from AWS ECS to EKS in under 12 months.
- [Breaking the Loop: How we migrated our backup catalog for 250+ MySQL clusters to AWS](https://swe.quest/articles/breaking-the-loop-how-we-migrated-our-backup-catalog-for-250-mysql-clusters-to-a99d4c43a779f0a9.md): Booking.com Engineering · 2026-02-19 · Medium · 21 min read · MySQL, Cloud platforms, Storage systems, Resilience, Infrastructure as code
  Booking.com moved the Bacula backup catalog for 250+ MySQL clusters off its on-prem dbadb replication chain and onto Amazon RDS MySQL.
- [Building ClickHouse BYOC (Bring Your Own Cloud) on AWS](https://swe.quest/articles/building-clickhouse-byoc-bring-your-own-cloud-on-aws-c91a130e01901112.md): ClickHouse · 2025-03-12 · Medium · 13 min read · Cloud platforms, Kubernetes, Identity & auth, Networking, Multi-tenancy
  ClickHouse BYOC on AWS splits a ClickHouse-hosted management plane from a data plane EKS cluster in the customer's VPC, provisioned automatically with CloudFormation and Crossplane.
- [Break Stuff on Purpose](https://swe.quest/articles/break-stuff-on-purpose-87dc2221ffb9f4a6.md): Slack Engineering · 2024-12-10 · Medium · 5 min read · Chaos engineering, Incidents & postmortems, Observability, SRE
  Slack's internal Kibana cluster failed in January 2024 after running out of disk, a consequence of co-locating its Elasticsearch storage on the same hosts as the application.

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)
