AWS has announced Amazon DocumentDB, a fully-managed document database service that supports MongoDB workloads.
Importantly, developers can use the same MongoDB application code, drivers and tools as they do today to run, manage and scale workloads on Amazon DocumentDB, whilst enjoying improved performance, scalability and availability and without having to worry about managing the underlying infrastructure.
In addition, customers can easily migrate their on-premises or Amazon Elastic Compute Cloud (EC2) MongoDB databases to Amazon DocumentDB with virtually no downtime using the AWS Database Migration Service (DMS).
Amazon DocumentDB uses an SSD-based storage layer, with 6x replication across three separate Availability Zones. This means that Amazon DocumentDB can failover from a primary to a replica within 30 seconds, and supports MongoDB replica set emulation, so that applications can handle failover quickly.
In addition, it is compatible with version 3.6 of MongoDB and storage can be scaled from 10 GB right up to 64 TB in increments of 10 GB.
Furthermore, the new offering implements the Apache 2.0 open source MongoDB 3.6 API, that allows customers to use their existing MongoDB drivers and tools with Amazon DocumentDB.
AWS acknowledged that customers liked using the MongoDB Application Programming Interface (API) and expressive language query to help them quickly build and evolve applications. However, there were concerns that managed MongoDB systems face data replication challenges and suffer from long recovery times in the event of failure, resulting in customers struggling to get the performance and scalability their growing applications need.
All of this led to a two year development effort that has resulted in the new Amazon DocumentDB service, as Shawn Bice, Vice President, Non-Relational Databases at AWS explained: “To meet developers’ needs, we looked at multiple different approaches to supporting MongoDB workloads and concluded that the best way to improve the customer experience was to build a new purpose-built document database from the ground up, while supporting the same MongoDB APIs that our customers currently use and like”.