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