At the recent re:Invent conference, AWS announced the general availability of DocumentDB Elastic Clusters, a service that manages MongoDB elasticity and workload partitioning.
Elastic Clusters enables a user to scale a document database to handle virtually any number of writes and reads, with petabytes of storage capacity.
Elastic Clusters simplifies the way customers interact with Amazon DocumentDB by automatically managing the underlying infrastructure and eliminating the need to create, remove, upgrade or scale instances.
Several parameters for Elastic Clusters
Sharding – A popular database concept also known as partitioning, partitioning splits large datasets into smaller datasets across multiple nodes, allowing customers to scale their database beyond the limits of vertical scaling. Elastic Clusters uses sharding to partition data in Amazon DocumentDB’s distributed storage system.
Scaling workloads with little or no impact – With Elastic Clusters, your database can scale to millions of operations with little or no interruption or performance impact.
Integration with other AWS services – Elastic Clusters integrates with other AWS services the same way Amazon DocumentDB integrates today. First, you can monitor the health and performance of your Elastic Clusters using Amazon CloudWatch. Second, you can set up authentication and authorization for resources such as clusters through AWS Identity and Access Management (IAM) users and roles, and use Amazon Virtual Private Cloud (Amazon VPC) for secure connections to VPC only. Finally, you can use AWS Glue to import and export data to and from other AWS services, such as Amazon Simple Storage Service (Amazon S3), Amazon Redshift, and Amazon OpenSearch Service.
Create a Cluster
When you create a cluster, you will specify the vCPUs you want for your Elastic Clusters when provisioning. With the amount of vCPUs you provision, you will also get a proportional amount of memory expressed in vCPUs. Elastic Clusters automatically provision the required infrastructure (parts and instances) on your behalf.
Customers pay for the amount of compute measured in vCPUs, for the database storage, and for the backup storage. DocumentDB Elastic Clusters is available in a subset of AWS regions, including Ohio, Northern Virginia, Frankfurt, and Ireland.