What is Amazon DocumentDB?
Amazon DocumentDB is a fully managed document database compatible with MongoDB workloads. You continue using your existing MongoDB drivers and tools while benefiting from AWS reliability and scalability.
DocumentDB separates compute and storage and automatically stores data across three Availability Zones. Storage scales automatically up to 128 TiB, so you never need to worry about capacity planning. Backups occur continuously without performance impact.
Core Features
- MongoDB Compatibility: Supports MongoDB 3.6, 4.0, and 5.0 APIs
- Automatic Storage: Scales automatically from 10 GB to 128 TiB
- High Availability: Data replicated across three Availability Zones
- Read Replicas: Up to 15 Read Replicas for read scaling
- Continuous Backup: Point-in-time recovery up to 35 days
Typical Use Cases
Content Management: Store articles, blog posts, and media metadata in flexible JSON documents. DocumentDB supports nested documents and arrays for complex content structures.
Product Catalogs: E-commerce catalogs with variable product attributes fit ideally into the document-oriented model. Different product categories have different fields without schema changes.
User Profiles: Store user profiles with variable attributes, preferences, and activity history. DocumentDB supports flexible queries on nested fields.
Benefits
- Easy migration of existing MongoDB workloads
- No infrastructure management: AWS handles patching, backups, monitoring
- Automatic storage scaling without downtime
- Integration with AWS services like Lambda, IAM, and CloudWatch
Integration with innFactory
As an AWS Reseller, innFactory supports you with Amazon DocumentDB: migration planning from MongoDB, schema design, performance optimization, and integration into cloud-native architectures.
Typical Use Cases
Frequently Asked Questions
What is Amazon DocumentDB?
Amazon DocumentDB is a fully managed document database compatible with MongoDB. You use the same MongoDB drivers, APIs, and tools but get automatic scaling, backups, and high availability.
Is DocumentDB fully MongoDB-compatible?
DocumentDB is compatible with MongoDB 3.6, 4.0, and 5.0 workloads. Most applications work without changes. Some features like client-side field-level encryption are not supported.
How does DocumentDB differ from DynamoDB?
DocumentDB is optimized for flexible documents with complex queries. DynamoDB is for key-value access with extreme scale and lowest latency. For MongoDB workloads, choose DocumentDB; for new serverless applications, often DynamoDB.
How does scaling work in DocumentDB?
Storage scales automatically up to 128 TiB. For read scaling, add Read Replicas (up to 15). For write scaling, choose larger instance types. DocumentDB Elastic Clusters provide horizontal write scaling.