Amazon DocumentDB (with MongoDB compatibility)
Fast, scalable, highly available MongoDB-compatible database
Amazon DocumentDB (with MongoDB compatibility) is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads.
Customers use MongoDB as a document database to store, retrieve, and manage semi-structured data. However, it is hard to build performant, highly available applications that can quickly scale to multiple terabytes and hundreds of thousands of reads- and writes-per-second because of the complexity that comes with setting up and managing MongoDB clusters at scale. 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. Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API 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. Amazon DocumentDB uses a distributed, fault-tolerant, self-healing storage system that auto-scales up to 64 TB per database cluster. In Amazon DocumentDB, the storage and compute are decoupled, allowing each to scale independently, and developers 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 AWS Availability Zones (AZs). Customers can use AWS 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.
Amazon DocumentDB implements the Apache 2.0 open source MongoDB 3.6 API 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.
Amazon DocumentDB is designed for 99.99% availability and replicates six copies of your data across three AWS Availability Zones (AZs). Amazon DocumentDB continually monitors database instance health and automatically fails over to a read replica in the event of a failure–typically in less than 30 seconds. Amazon DocumentDB automatically and continuously backs up data to Amazon Simple Storage Service (Amazon S3) and provides up to 35 days of point-in-time recovery with no downtime or performance degradation. You can start with one node that delivers durability, add a second node for high availability, and easily increase the number of nodes for read scaling.
Performance at scale
Amazon DocumentDB uses a distributed, fault-tolerant, self-healing storage system that auto-scales up to 64 TB per database cluster. Amazon DocumentDB reduces database I/O by writing only database changes to the storage layer, avoiding slow, inefficient, and expensive data replication across network links. Together with optimizations like advanced query processing, connection pooling, and optimized recovery and rebuild, Amazon DocumentDB achieves twice the throughput of currently available MongoDB managed services. In this architecture the storage and compute are decoupled, 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 provides multiple levels of security for your database, including network isolation using Amazon VPC, encryption at rest using keys you create and control through AWS Key Management Service (KMS), and encryption-in-transit using Transport Layer Security (TLS). Amazon DocumentDB encrypts the data in automated backups, snapshots, and replicas in the same cluster.
With Amazon DocumentDB, you don’t need to worry about database management tasks, such as hardware provisioning, patching, setup, configuration, or backups. 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). In addition, Amazon DocumentDB integrates with Amazon CloudWatch, so you can monitor over 20 key operational metrics for your database instances via the AWS Management Console.
"Our developers love the document model as it enables them to move fast and iterate quickly when building applications. Amazon DocumentDB integrates deeply with AWS services and has the potential to provide us with a robust, highly scalable, and cost effective database service. With Amazon DocumentDB, our developers will be able to move faster and focus more on innovating on behalf of our customers versus managing a database."
Sunjay Pandey, Vice President - Capital One.
“Dow Jones uses a number of specialized databases including MongoDB to provide a variety of services for our customers. We are excited about collaborating with AWS around Amazon DocumentDB, which meets key needs we expressed to AWS in order to simplify our operations and free up our developers to invest in innovative experiences for our customers rather than undifferentiated operations."
Ramin Beheshti, Chief Product & Technology Officer - Dow Jones
"To provide our readers with the best possible experience, the Washington Post engineering team leverages AWS database services because they offer self-service provisioning without compromising operational excellence. 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. Document databases support the unstructured data that is prevalent in media, and with Amazon DocumentDB, we can now leverage AWS for all our critical database needs."
Patrick Cullen, Director of Data Science and Artificial Intelligence - The Washington Post.
"At Hudl, we utilize a significant amount of AWS services, as we're always looking for opportunities to get out of the business of managing our own infrastructure. Our developers love the MongoDB API and document model. We're very excited about the launch of Amazon DocumentDB, as it fits perfectly into our short-term and long-term architectural plans. Amazon DocumentDB has the capabilities we're looking for, and it's great to see AWS Database Migration Service (DMS) support from day one."
Brian Kaiser, CTO - Hudl.
Migrate your on-premises MongoDB workloads to the cloud
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.
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.
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.
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.
Learn more about features of Amazon DocumentDB (with MongoDB compatibility)
Instantly get access to the AWS Free Tier.
Get started building with Amazon DocumentDB (with MongoDB compatibility) in the AWS Console.