Category: Deployment
Resource links
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Can I Use Microsoft Cosmos DB Instead of Mongodb to Run Appsmith?

Issue

I want to connect Appsmith to Microsoft Cosmos DB (MongoDB API) instead of the Dockerized MongoDB container it currently uses in my self-hosted version. However, there may be compatibility issues in the long-term since Cosmos DB's feature set may differ from MongoDB's. To avoid managing databases myself, I can use either the cloud hosted version of Appsmith or MongoDB cloud for a hosted instance of MongoDB with all necessary features.

Resolution

CosmosDB feature set is not aligned to MongoDB’s. Therefore, we do not support it as the backend database for running Appsmith. You can either use a self-hosted MongoDB or MongoDB Atlas.