Amazon DocumentDB (with MongoDB compatibility)
Fast, scalable, highly available MongoDB-compatible database service
Amazon DocumentDB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads. As a document database, Amazon DocumentDB makes it easy to store, query, and index JSON data.
Amazon DocumentDB is designed from the ground-up to give you the performance, scalability, and availability you need when operating mission-critical MongoDB workloads at scale. In Amazon DocumentDB, the storage and compute are decoupled, allowing each to scale independently, and you can increase the read capacity to millions of requests per second by adding up to 15 low latency read replicas in minutes, regardless of the size of your data.
Amazon DocumentDB is designed for 99.99% availability and replicates six copies of your data across three Availability Zones (AZs). You can use Amazon Database Migration Service (DMS) for free (for six months) to easily migrate their on-premises or Amazon Elastic Compute Cloud (EC2) MongoDB databases to Amazon DocumentDB with virtually no downtime.
Benefits
MongoDB-compatible
Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 and 4.0 APIs by emulating the responses that a MongoDB client expects from a MongoDB server, allowing you to use your existing MongoDB drivers and tools with Amazon DocumentDB. Updating the application is as easy as changing the database endpoint to the new Amazon DocumentDB cluster. Learn more about supported MongoDB APIs.
Learn more »
Fully managed
With Amazon DocumentDB, you don’t need to worry about database management tasks, such as hardware provisioning, patching, setup, configuration, backups, or scaling. Amazon DocumentDB automatically and continuously monitors and backs up your database to Amazon S3, enabling point-in-time recovery (up to the second for the last 35 days).
Learn more »
Performance at scale
Amazon DocumentDB achieves twice the throughput of currently available MongoDB managed services. Amazon DocumentDB’s architecture separates storage and compute, allowing each to scale independently, so that you can easily scale read capacity to millions of requests per second by adding up to 15 low latency read replicas across three Availability Zones in minutes, regardless of data size. Amazon DocumentDB uses a distributed, fault-tolerant, self-healing storage system that auto-scales up to 64 TB per database cluster.
Learn more »
Use cases
Content and catalog management
Shopping sites, online publications, digital archives, point-of-sale terminals, and self-service kiosks rely on content and catalog management systems to serve their customers. These systems need fast and reliable access to user reviews, images, ratings, product information, comments, etc. With Amazon DocumentDB’s flexible document model, data types, and indexing, you can store and query content (e.g., user reviews and demo videos for shopping sites) and catalogs (e.g., inventory lists for point-of-sale terminals and financial trades for trading platforms) quickly and intuitively.
Profile management
User profile management enables online transactions, user preferences, and user authentication. With the growth in users, increasingly complex user profile data, and growing user experience expectations, the demand for scalability, data flexibility, and performance too has grown. With Amazon DocumentDB’s document data model, you can manage profiles & preferences of millions of users & scale to process millions of user requests per second with millisecond latency.
Mobile and web applications
Build high-performance mobile and web applications that scale to process millions of user requests per second with millisecond latency. Amazon DocumentDB lowers your operational burden, allowing you to focus on building unique experiences for your customers. Amazon DocumentDB’s flexible document model, data types, and indexing allow you to adapt and iterate on your applications quickly, cutting down development time.
How it works
Migrate your self-managed MongoDB workloads to Amazon DocumentDB
Self-managing MongoDB databases is difficult, time-consuming, and expensive. With Amazon DocumentDB, you can set up, secure, and scale MongoDB-compatible databases in the cloud without worrying about manually setting up and securing database clusters, running cluster management software, configuring backups, and monitoring production workloads.
Store, query, and index JSON data
As a document database, Amazon DocumentDB makes it easy to insert, query, index, and perform aggregations over JSON data. JSON is a de facto format for data exchange, a common output of modern APIs, and modeling application data as JSON is intuitive for developers. Being able to store and query JSON data in its natural format, and without translation, enables developers to iterate faster and be more productive.
To learn more about JSON, read the Amazon DocumentDB documentation »
Featured customers

“We chose Amazon DocumentDB because it natively stores data in JSON, making it simpler to query and index regulatory documents. This reduces our development cycles, while extending the usability of our data by easily integrating with other systems that leverage JSON.”
Ranga Rajagopal, Senior Director of Enterprise Data Platforms - FINRA

“From automated backup to multi-AZ failover, Amazon DocumentDB provides all the key features we need to build the world class systems that power both our Arc Publishing business and our machine learning platform.”
Patrick Cullen, Director of Data Science and Artificial Intelligence - The Washington Post

“We migrated our grocery e-commerce backend services to Amazon DocumentDB using the Amazon Database Migration Service, and the entire migration took us less than a week. Best of all, DocumentDB just worked without any changes to our codebase.”
Sundar Rajavelu, Director of Engineering - Freshop
See more Amazon DocumentDB case studies »

Request access to the Amazon DocumentDB Management Console.