Difference between AWS DynamoDB vs. AWS DocumentDB(Newly launched service)?

Ajay yadav picture Ajay yadav · Feb 13, 2019 · Viewed 27.5k times · Source

AWS recently launched new service DocumentDB similar to MongoDB interface.
What is the difference between AWS DynamoDB vs. DocumentDB services?

Answer

Kc Gibson picture Kc Gibson · Feb 14, 2019

A major difference is that DocumentDB is a middle step between MongoDB and DynamoDB.

DynamoDB is a fully managed scalable service where you set the upper limit of it's potential.

DocumentDB is a bit more hands on and you have to select the number of instances for the cluster and the instance sizes. This means you would need to keep an eye on their usage / performance but not to the extend of MongoDB.

MongoDB would be the most flexible but also require the most maintenance.

All are good for performance depending on the application, but it depends on how flexible you want with the cost of more maintenance.

The other factor is the pricing model. Both MongoDB (Atlas) and DocumentDB you pay per hour (plus usage for DocumentDB). DynamoDB you can pay based on provisioned resources or on-demand (pay for what you use).

Edit: I've written a more extensive article based on my experiences with the three: https://medium.com/@caseygibson_42696/difference-between-aws-dynamodb-vs-aws-documentdb-vs-mongodb-9cb026a94767