---
title: "Zero-Copy Migration: How Yelp Moved Its Cassandra Fleet Between Kubernetes Clusters"
description: "Yelp migrated its Apache Cassandra fleet of approximately 1000 Kubernetes Pods and a petabyte of data from legacy self-managed Kubernetes clusters to Amazon EKS with zero customer-facing downtime and zero data loss. The team chose a Rolling PV Transplant approach that moves disks instead of streaming data, because Amazon EBS volumes are bound to an Availability Zone, not to a specific Kubernetes cluster. By creating PersistentVolumes in the new EKS cluster that point to the same EBS volume IDs, the data moves instantly without transferring a single byte over the network. The migration script pauses Cassandra Reaper repairs before each pod move and resumes them afterward, and rollback is simply the same operation in the other direction. One engineer completed the full production migration in about three weeks, with the largest single cluster migrated in approximately 12 hours end-to-end."
---

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

[Yelp](https://yomu.fyi/company/yelp) · Ilkin Mammadzada and Max Falk, Site Reliability Engineers · Nov 9, 2026

**Type:** Problem & solution

## Summary

Yelp migrated its Apache Cassandra fleet of approximately 1000 Kubernetes Pods and a petabyte of data from legacy self-managed Kubernetes clusters to Amazon EKS with zero customer-facing downtime and zero data loss. The team chose a Rolling PV Transplant approach that moves disks instead of streaming data, because Amazon EBS volumes are bound to an Availability Zone, not to a specific Kubernetes cluster. By creating PersistentVolumes in the new EKS cluster that point to the same EBS volume IDs, the data moves instantly without transferring a single byte over the network. The migration script pauses Cassandra Reaper repairs before each pod move and resumes them afterward, and rollback is simply the same operation in the other direction. One engineer completed the full production migration in about three weeks, with the largest single cluster migrated in approximately 12 hours end-to-end.

## Context

Yelp needed to move its large Cassandra fleet (approximately 1000 Kubernetes Pods and a petabyte of data) from legacy self-managed Kubernetes clusters to Amazon EKS. Stateless workloads had already migrated seamlessly via PaaSTA configuration updates, but stateful Cassandra workloads remained stranded on the expensive legacy infrastructure. The conventional streaming approach would have taken weeks for the largest clusters and required temporarily doubling compute capacity.

## Approach / What changed

The Rolling PV Transplant: detach EBS volumes from the legacy self-managed Kubernetes cluster and attach them to the new Amazon EKS cluster by creating PersistentVolumes in EKS that point to the same EBS volume IDs, then migrating one Cassandra pod at a time.

## Takeaways

- Amazon EBS volumes are bound to an Availability Zone, not to a specific Kubernetes cluster, enabling a disk-pointer swap migration that moves data instantly without streaming.
- The Rolling PV Transplant approach allows rollback by simply swapping source and target arguments, returning a pod to its original cluster within minutes, unlike streaming which would require streaming back.
- Touching every node in a fleet during migration acts as a health check, surfacing issues like broken repairs, stale configurations, and orphaned resources that would otherwise grow undetected.

## FAQ

### How did the migration reveal hidden data issues?

The migration script pauses Cassandra Reaper repairs before each pod move and resumes them afterward. This surfaced a case where repairs had been disabled for three months, allowing significant data inconsistencies to accumulate silently across nodes.

### How does rollback work with this approach?

Because the migration never decommissions any node from the Cassandra ring, reversing a migration is the same operation in the other direction: swap the source and target arguments. The team exercised rollback several times, and each pod was back in its original cluster within minutes.

### What caused the backup failures after migration?

The IAM role configuration had diverged, spawning a new -eks suffixed role that the scheduled backup jobs run by Tron were not yet assuming. The technical fix was a one-line Terraform update, but the real issue was that monitoring only filed Jira tickets for backup failures instead of paging an engineer, leaving the team unaware for two days.

**Tags:** [AWS](https://yomu.fyi/topic/aws), [Cassandra](https://yomu.fyi/topic/cassandra), [EBS](https://yomu.fyi/topic/ebs), [Kubernetes](https://yomu.fyi/topic/kubernetes), [Migrations](https://yomu.fyi/topic/migration)

- Source: [Yelp](https://engineeringblog.yelp.com/2026/11/zero-copy-cassandra-kubernetes-migration.html)
- Source URL: https://engineeringblog.yelp.com/2026/11/zero-copy-cassandra-kubernetes-migration.html
- Ingested by Yomu: 2026-11-10T15:00:18.095Z

[Read original post](https://engineeringblog.yelp.com/2026/11/zero-copy-cassandra-kubernetes-migration.html)
