CosmosDB with Mongo api the same as a MongoDB setup?

John Fox 21 Reputation points
2021-08-09T21:07:58.67+00:00

Hi there,

We are currently looking at replacing a percona mongodb setup running on kubernetes with a cosmos db setup using the mongo api.

My question is the cosmosdb setup with mongo api the same as a mongodb server? Is it as easy as a straight swap from our MongoDB server to this Cosmos DB setup?

Much rather prefer a managed service and just wanted to double check the specifics.

Thanks in advance

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,543 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KalyanChanumolu-MSFT 8,321 Reputation points
    2021-08-10T04:30:48.273+00:00

    @John Fox Thank you for reaching out

    Azure Cosmos DB does not host the MongoDB database engine, it implements the wire protocol for MongoDB so that any compatible MongoDB client driver or SDK can connect, without special configuration.

    Azure Cosmos DB API for MongoDB is compatible with the following MongoDB server versions:

    Version 4.0
    Version 3.6
    Version 3.2

    You can migrate your existing Mongo DB to Azure Cosmos DB Mongo API using Data Migration Service.
    A detailed tutorial is here

    Please let us know if you have any further questions and we would be happy to assist.

    ----------

    If an answer is helpful, please "Accept answer" or "Up-Vote" which might help other community members reading this thread.

    0 comments No comments