<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy-gjsyzdxcw" -->

---
title: Migrate to Amazon Keyspaces with zero downtime using ZDM...
description: A detailed guide on migrating from self-managed Apache Cassandra to Amazon Keyspaces with zero downtime using the ZDM (Zero Downtime Migration) Proxy. The...
canonical: https://daily.dev/posts/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy-gjsyzdxcw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Migrate to Amazon Keyspaces with zero downtime using ZDM Proxy | daily.dev
og:description: A detailed guide on migrating from self-managed Apache Cassandra to Amazon Keyspaces with zero downtime using the ZDM (Zero Downtime Migration) Proxy. The...
og:url: https://daily.dev/posts/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy-gjsyzdxcw
og:image: https://api.daily.dev/og/posts/gjsyzdxCW.png
og:image:alt: Migrate to Amazon Keyspaces with zero downtime using ZDM Proxy
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate to Amazon Keyspaces with zero downtime using ZDM Proxy

**[AWS Database Blog](https://daily.dev/sources/aws-database-blog)** · 19 min read · 0 upvotes · 0 comments

## Summary

A detailed guide on migrating from self-managed Apache Cassandra to Amazon Keyspaces with zero downtime using the ZDM (Zero Downtime Migration) Proxy. The proxy intercepts CQL traffic at the network layer, fanning out writes to both the origin cluster and Amazon Keyspaces simultaneously, requiring no application code changes. The solution deploys the proxy on AWS Fargate behind a Network Load Balancer using a single CloudFormation stack. The migration follows six phases: preparation, historical data loading with CQLReplicator, enabling dual writes, validation (dual reads with discrepancy monitoring), cutover (blue-green or canary), and decommission. Security considerations include TLS via socat, credentials in AWS Secrets Manager, least-privilege IAM roles, and VPC endpoints. Cost components during migration include Fargate tasks (~$100/month for 3 tasks), NLB ($20–50/month), and AWS Glue for CQLReplicator.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://aws.amazon.com/blogs/database/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy>

## Similar posts on daily.dev

- [Zero-Downtime Cassandra Migration Between EKS Clusters](https://daily.dev/posts/zero-downtime-cassandra-migration-between-eks-clusters-vbhsjlmha) · monday Engineering · 0 upvotes · 0 comments
- [Kafka Client Migrations With KCP and Confluent Cloud Gateway](https://daily.dev/posts/kafka-client-migrations-with-kcp-and-confluent-cloud-gateway-gwxasamwy) · Confluent Blog · 1 upvotes · 0 comments
- [How Reddit Migrated Petabyte-Scale Kafka from EC2 to Kubernetes](https://daily.dev/posts/how-reddit-migrated-petabyte-scale-kafka-from-ec2-to-kubernetes-wizskjogz) · ByteByteGo · 10 upvotes · 0 comments
- [Migrating AWS MSK from ZooKeeper to KRaft: A Canary Approach](https://daily.dev/posts/migrating-aws-msk-from-zookeeper-to-kraft-a-canary-approach-dzq9bw0ys) · Halodoc · 14 upvotes · 0 comments

---

Tags: [#aws](https://daily.dev/tags/aws), [#database](https://daily.dev/tags/database), [#apache-cassandra](https://daily.dev/tags/apache-cassandra)

[View this post on daily.dev](https://daily.dev/posts/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy-gjsyzdxcw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Migrate to Amazon Keyspaces with zero downtime using ZDM Proxy","url":"https://daily.dev/posts/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy-gjsyzdxcw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy-gjsyzdxcw"},"datePublished":"2026-07-28T17:05:48.426Z","dateModified":"2026-07-28T18:30:26.137Z","description":"A detailed guide on migrating from self-managed Apache Cassandra to Amazon Keyspaces with zero downtime using the ZDM (Zero Downtime Migration) Proxy. The...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a1c3df7cb3b368e021811a39998bab10?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a1c3df7cb3b368e021811a39998bab10?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"AWS Database Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"AWS Database Blog","logo":"https://media.daily.dev/image/upload/s--En-avd2a--/f_auto,q_auto/v1780213446/logos/aws-database-blog?_a=BAMAMiWQ0","url":"https://daily.dev/sources/aws-database-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/migrate-to-amazon-keyspaces-with-zero-downtime-using-zdm-proxy-gjsyzdxcw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"aws,database,apache-cassandra","timeRequired":"PT19M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"AWS Database Blog","item":"https://daily.dev/sources/aws-database-blog"},{"@type":"ListItem","position":3,"name":"Migrate to Amazon Keyspaces with zero downtime using ZDM Proxy"}]}
```

