question

JithinMV-2056 avatar image
0 Votes"
JithinMV-2056 asked SadiqhAhmed-MSFT edited

How can we migrate database from Provisioned CosmosDB to a Serverless CosmosDB?

We are planning to migrate our self hosted MongoDB database to Azure CosmosDB with Mongo API. We have 186 GB of data. Serverless CosmosDB is our plan. But as we dig in to the documentation we find that, Azure Data Migration Service (DMS) don't support migration to a serverless CosmosDB. So our plan is to create a provisioned Service of CosmosDB then migrate our data there and from that provisioned service we will migrate to a serverless CosmosDB and then finally we will delete the provisioned CosmosDb service.
But how can we achieve the second stage of our migration.? is there anyparticular service provided by azure for that?
And we are good if we can migrate in Online mode. Because our service can't bear a large downtime. We know that the first stage of migration (ie. From Native Mongo server to provisioned CosmosDB via DMS) can be done in Online way. But is it possible to parallelly do the online migration from Provisioned CosmosDB to a serverless CosmosDB?
If Online migration isn't possible we are ok with the offline mode as well, unless it don't requires a large downtime of the application. Is there any estimation on the time for migration?
Please shed some light to these concerns. It will be so much helpful for us to do the task. CosmosDB is a great service provided by Azure. We can't wait to see our database there.

azure-cosmos-dbazure-database-migration
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @jithinmv-2056,

Thanks for using Microsoft Q&A !!
I am checking internally with the products team and get back to you.

Thanks
Saurabh

1 Vote 1 ·

Yes please

0 Votes 0 ·

Hi @jithinmv-2056,

I got information that your question has been answered by products team on StackOverflow over here
Please let me know if you have any other questions.

Thanks
Saurabh

0 Votes 0 ·

0 Answers