{"id":175,"date":"2019-11-21T17:55:55","date_gmt":"2019-11-22T01:55:55","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/cosmosdb\/?p=175"},"modified":"2019-12-13T02:58:53","modified_gmt":"2019-12-13T10:58:53","slug":"announcing-live-data-migration-from-cassandra-to-azure-cosmos-db","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cosmosdb\/announcing-live-data-migration-from-cassandra-to-azure-cosmos-db\/","title":{"rendered":"Announcing Live Data Migration from Cassandra to Azure Cosmos DB"},"content":{"rendered":"<p>We are excited to announce the private preview for the Azure Cosmos DB Cassandra Connector. Customers can now migrate existing native Apache Cassandra workloads running on-premises or in another cloud with zero application downtime, providing a seamless path to running on Azure Cosmos DB.<\/p>\n<p><strong>Live Migrate data from Apache Cassandra using Azure Cosmos Cassandra Connector<\/strong><\/p>\n<p>The Azure Cosmos DB Cassandra Connector uses a replication agent to move data from Apache Cassandra to Cosmos DB. The replication agent is a java process that runs on the native Cassandra host(s) and uploads data from Cassandra via a managed pipeline. Customers need only download the agent on the source Cassandra nodes and configure the target Azure Cosmos DB Cassandra API account information. The below diagram provides an overview of the setup.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-180\" src=\"http:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2019\/11\/diagram-1-300x178.png\" alt=\"\" width=\"1072\" height=\"636\" srcset=\"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2019\/11\/diagram-1-300x178.png 300w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2019\/11\/diagram-1-768x457.png 768w, https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-content\/uploads\/sites\/52\/2019\/11\/diagram-1-1024x609.png 1024w\" sizes=\"(max-width: 1072px) 100vw, 1072px\" \/><\/p>\n<p>Once installed, the replication agent takes a snapshot of the cluster and uploads the requisite files. After the initial snapshot, continuous ingestion starts as described below.<\/p>\n<ol>\n<li>The replication agent connects to the replication metadata endpoint to fetch the replication component information.<\/li>\n<li>The replication agent then sends the commit logs to the replication component.<\/li>\n<li>Finally, mutations are then replicated to the Cosmos DB Cassandra endpoint by the replication component.<\/li>\n<\/ol>\n<p>On the destination Azure Cosmos DB Cassandra API account, customers will need to verify the supported features of Cassandra here and estimate <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cosmos-db\/request-units\">request units<\/a> required. You can get request units required for each <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/cosmos-db\/find-request-unit-charge#cassandra-api\">operation<\/a> to help you plan the required request units.<\/p>\n<p>Customers are already using the Azure Cosmos DB Cassandra Connector:<\/p>\n<p><em>&#8220;CCX enabled us to migrate a critical production workload from Cassandra to CosmosDB with no downtime, no code changes, and no manual data migration. The configuration was simple, replication was fast, and it was completely transparent to Cassandra and the other workloads on the cluster.&#8221;<\/em><\/p>\n<p><em>Robert Rudduck<\/em>\n<em>Vice President, Architecture and DevOps, Ambit Energy<\/em><\/p>\n<h2><span style=\"font-size: 14pt;\">Get started<\/span><\/h2>\n<p>Customers interested in trying out the Azure Cosmos DB Cassandra Connector can reach out to us at <a href=\"mailto:cassandratocosmosdb@microsoft.com\">cassandratocosmosdb@microsoft.com<\/a> for instructions to download and run the replication agent and migrate data to Cosmos DB Cassandra API account.<\/p>\n<p>Stay up-to-date on the latest Azure\u202f<a href=\"https:\/\/twitter.com\/search?q=%23cosmosdb\">#CosmosDB<\/a>\u202fnews and features by following us on Twitter\u202f<a href=\"https:\/\/twitter.com\/azurecosmosdb\">@AzureCosmosDB<\/a>. We are really excited to onboard you to Azure Cosmos DB!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are excited to announce the ability to live migrate data from Apache Cassandra to Azure Cosmos DB Cassandra API account. This allows you to migrate on-premises Cassandra workloads to Azure with minimum downtime.<\/p>\n","protected":false},"author":9387,"featured_media":61,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[12,16],"tags":[],"class_list":["post-175","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements","category-cassandra-api"],"acf":[],"blog_post_summary":"<p>We are excited to announce the ability to live migrate data from Apache Cassandra to Azure Cosmos DB Cassandra API account. This allows you to migrate on-premises Cassandra workloads to Azure with minimum downtime.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/users\/9387"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media\/61"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cosmosdb\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}