Amazon DocumentDB is a fully managed, highly available, and scalable document database service by AWS.

  1. MongoDB-Compatible: Amazon DocumentDB is compatible with MongoDB 3.6, which means you can use existing MongoDB drivers, libraries, and tools with it.
  2. Managed Service: It’s a fully managed database service, which means AWS handles administrative tasks like patching, backups, and scaling.
  3. Highly Available: DocumentDB provides high availability by replicating data across multiple Availability Zones (AZs).
  4. Scalable: You can easily scale compute and storage resources to handle growing workloads.
  5. Read Replicas: Create up to 15 read replicas to distribute read traffic and improve read performance.
  6. Automatic Failover: In the event of a failure, DocumentDB automatically performs failover to a standby replica.
  7. Data Encryption: Data at rest is encrypted using AWS Key Management Service (KMS), and data in transit is encrypted using SSL/TLS.
  8. VPC Integration: DocumentDB instances can be placed within your Virtual Private Cloud (VPC) for network isolation.
  9. Backup and Restore: DocumentDB supports automated daily backups and on-demand backups for point-in-time recovery.
  10. Cluster Snapshots: Create manual cluster snapshots for long-term backup retention.
  11. Cluster Sizing: Choose from various instance types to right-size your DocumentDB clusters.
  12. Global Clusters: Set up global clusters for cross-region replication and disaster recovery.
  13. Data Partitioning: DocumentDB uses sharding to distribute data across multiple instances for scalability.
  14. Document Data Model: It is a NoSQL database that uses a document data model, where data is stored in semi-structured JSON-like documents.
  15. Consistency Models: DocumentDB offers strong and eventual consistency models to suit your application’s needs.
  16. Schema-Free: Documents within a collection can have different structures, offering flexibility in schema design.
  17. Multi-Region Replication: Replicate data across multiple AWS regions for low-latency access and disaster recovery.
  18. Integrated Monitoring: Monitor your DocumentDB clusters using Amazon CloudWatch for performance insights.
  19. Instance Recovery: DocumentDB automatically detects and recovers from instance failures.
  20. VPC Peering: Establish VPC peering connections between your VPCs and DocumentDB clusters for secure access.
  21. Encryption Key Rotation: AWS Key Management Service (KMS) allows you to rotate encryption keys for added security.
  22. Cross-Region Backup Copying: Automatically copy backups to a different AWS region for additional data durability.
  23. Document Validation: Enforce schema validation rules on documents for data consistency.
  24. RESTful APIs: Access and manipulate your data through MongoDB-compatible APIs.
  25. AWS Identity and Access Management (IAM) Integration: Control access to DocumentDB clusters using IAM roles and policies.

Amazon DocumentDB is an excellent choice for applications that require the flexibility of a document data model while benefiting from the scalability, high availability, and managed nature of an AWS service. It is particularly suited for MongoDB workloads.

By Abhishek K.

Author is a Architect by profession. This blog is to share his experience and give back to the community what he learned throughout his career.