Announcing Amazon DocumentDB Elastic Clusters

海外精选
re:Invent
Amazon DocumentDB
海外精选的内容汇集了全球优质的亚马逊云科技相关技术内容。同时,内容中提到的“AWS” 是 “Amazon Web Services” 的缩写,在此网站不作为商标展示。
0
0
{"value":"[Amazon DocumentDB](https://aws.amazon.com/documentdb/) (with MongoDB compatibility) is a scalable, highly durable, and fully managed database service for operating mission-critical JSON workloads. It is one of AWS fast-growing services with customers including BBC, Dow Jones, and Samsung relying on [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) to run their JSON workloads at scale.\n\nToday I am excited to announce the [general availability of Amazon DocumentDB Elastic Clusters](https://aws.amazon.com/documentdb/). Elastic Clusters enables you to elastically scale your document database to handle virtually any number of writes and reads, with petabytes of storage capacity. Elastic Clusters simplifies how customers interact with [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) by automatically managing the underlying infrastructure and removing the need to create, remove, upgrade, or scale instances.\n\n### ++A Few Concepts about Elastic Clusters++\n**Sharding – A** popular database concept also known as partitioning, sharding splits large data sets into smaller data sets across multiple nodes enabling customers to scale out their database beyond vertical scaling limits. Elastic Clusters uses sharding to partition data across [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail)’s distributed storage system. \n\n**Elastic Clusters** – Elastic Clusters is [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) clusters that allow you to scale your workload’s throughput to millions of writes/reads per second and storage to petabytes. Elastic Clusters comprises one or more shards each of which has its own compute and storage volume. It is highly available across three Availability Zones (AZs) by default, with six copies of your data replicated across these three AZs. You can create Elastic Clusters using the [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) API, AWS SDK, AWS CLI, [AWS CloudFormation](https://aws.amazon.com/cloudformation/), or the AWS console.\n\n\n**Scale Workloads with Little to No Impact** – With Elastic Clusters, your database can scale to millions of operations with little to no downtime or performance impact.\n\n**Integration with Other AWS Services** – Elastic Clusters integrates with other AWS services in the same way [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) does today. First, you can monitor the health and performance of your Elastic Clusters using [Amazon CloudWatch](https://aws.amazon.com/cloudwatch/). Second, you can set up authentication and authorization for resources such as clusters through [AWS Identity and Access Management (IAM)](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj_7JXT3Y37AhVIRUEAHUlDAxEQFnoECA4QAQ&url=https%3A%2F%2Faws.amazon.com%2Fiam%2F&usg=AOvVaw0W_hC7qZ85U6fOwNdNAueB) users and roles and use [Amazon Virtual Private Cloud (Amazon VPC)](https://aws.amazon.com/vpc/) for secure VPC-only connections. Last, you can use [AWS Glue](https://aws.amazon.com/s3/) to import and export data from and to other AWS services such as [Amazon Simple Storage Service (Amazon S3)](https://aws.amazon.com/redshift/), [Amazon Redshift](https://aws.amazon.com/redshift/), and [Amazon OpenSearch Service](https://aws.amazon.com/opensearch-service/).\n\n\n### ++Getting Started with Elastic Clusters++\nPreviously, I mentioned that you can use either the AWS console, AWS CLI, or AWS SDK to create Elastic Clusters. In the examples below, we will look at how you can create a cluster, scale up or out, and scale in or down using the AWS CLI:\n\n### ++Create a Cluster++\nWhen creating a cluster, you will specify the vCPUs that you want for your Elastic Clusters at provisioning. With the size of vCPUs that you provision, you will also get a proportionate amount of memory, expressed in vCPUs. Elastic Clusters automatically provisions the necessary infrastructure (shards and instances) on your behalf.\n```aws docdb-elastic create-cluster```\n```--cluster-name foo```\n```--shard-capacity 2```\n```--shard-count 4```\n```--auth-type PLAIN_TEXT```\n```--admin-user-name docdbelasticadmin```\n```--admin-user-password password```\n\n### ++Scale Up or Out++\nIf you need more compute and storage to handle an increase in traffic, modify the shard-count parameter. Elastic Clusters scales the underlying infrastructure up or out to give you additional compute and storage capacity.\n```aws docdb-elastic update-cluster```\n```--cluster-arn foo-arn```\n```--shard-count 8```\n\n### Scale In or Down\nIf you no longer need the compute and storage that you currently have provisioned, either due to a decline in database traffic or the fact that you originally over-provisioned, modify the shard-count parameter. Elastic Clusters scales the underlying infrastructure in or down.\n```aws docdb-elastic update-cluster```\n```--cluster-arn foo-arn```\n```--shard-count 4```\n\n### ++General Availability of Elastic Clusters for [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail)++\n[Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) Elastic Clusters is now available in all AWS Regions where [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) is available, except China and AWS GovCloud. To learn more, visit the [Amazon DocumentDB page](https://aws.amazon.com/documentdb/).\n\n– [Veliswa](https://twitter.com/vel12171) x\n\n![image.png](https://dev-media.amazoncloud.cn/817fbc4cf8d44996a8aae199fc746a6b_image.png)\n\n### Veliswa Boya\nVeliswa Boya is a Senior Developer Advocate, based in South Africa and working closely with the builder community in Sub-Saharan Africa. She has fulfilled many roles in tech, which range from developer to analyst, architect to cloud engineer, and now a developer advocate. Veliswa especially enjoys working with those who are new to tech—and those getting started with AWS.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t","render":"<p><a href=\\"https://aws.amazon.com/documentdb/\\" target=\\"_blank\\">Amazon DocumentDB</a> (with MongoDB compatibility) is a scalable, highly durable, and fully managed database service for operating mission-critical JSON workloads. It is one of AWS fast-growing services with customers including BBC, Dow Jones, and Samsung relying on [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) to run their JSON workloads at scale.</p>\\n<p>Today I am excited to announce the <a href=\\"https://aws.amazon.com/documentdb/\\" target=\\"_blank\\">general availability of Amazon DocumentDB Elastic Clusters</a>. Elastic Clusters enables you to elastically scale your document database to handle virtually any number of writes and reads, with petabytes of storage capacity. Elastic Clusters simplifies how customers interact with [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) by automatically managing the underlying infrastructure and removing the need to create, remove, upgrade, or scale instances.</p>\\n<h3><a id=\\"A_Few_Concepts_about_Elastic_Clusters_4\\"></a><ins>A Few Concepts about Elastic Clusters</ins></h3>\\n<p><strong>Sharding – A</strong> popular database concept also known as partitioning, sharding splits large data sets into smaller data sets across multiple nodes enabling customers to scale out their database beyond vertical scaling limits. Elastic Clusters uses sharding to partition data across [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail)’s distributed storage system.</p>\\n<p><strong>Elastic Clusters</strong> – Elastic Clusters is [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) clusters that allow you to scale your workload’s throughput to millions of writes/reads per second and storage to petabytes. Elastic Clusters comprises one or more shards each of which has its own compute and storage volume. It is highly available across three Availability Zones (AZs) by default, with six copies of your data replicated across these three AZs. You can create Elastic Clusters using the [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) API, AWS SDK, AWS CLI, <a href=\\"https://aws.amazon.com/cloudformation/\\" target=\\"_blank\\">AWS CloudFormation</a>, or the AWS console.</p>\\n<p><strong>Scale Workloads with Little to No Impact</strong> – With Elastic Clusters, your database can scale to millions of operations with little to no downtime or performance impact.</p>\\n<p><strong>Integration with Other AWS Services</strong> – Elastic Clusters integrates with other AWS services in the same way [Amazon DocumentDB](https://aws.amazon.com/cn/documentdb/?trk=cndc-detail) does today. First, you can monitor the health and performance of your Elastic Clusters using <a href=\\"https://aws.amazon.com/cloudwatch/\\" target=\\"_blank\\">Amazon CloudWatch</a>. Second, you can set up authentication and authorization for resources such as clusters through <a href=\\"https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwj_7JXT3Y37AhVIRUEAHUlDAxEQFnoECA4QAQ&amp;url=https%3A%2F%2Faws.amazon.com%2Fiam%2F&amp;usg=AOvVaw0W_hC7qZ85U6fOwNdNAueB\\" target=\\"_blank\\">AWS Identity and Access Management (IAM)</a> users and roles and use <a href=\\"https://aws.amazon.com/vpc/\\" target=\\"_blank\\">Amazon Virtual Private Cloud (Amazon VPC)</a> for secure VPC-only connections. Last, you can use <a href=\\"https://aws.amazon.com/s3/\\" target=\\"_blank\\">AWS Glue</a> to import and export data from and to other AWS services such as <a href=\\"https://aws.amazon.com/redshift/\\" target=\\"_blank\\">Amazon Simple Storage Service (Amazon S3)</a>, <a href=\\"https://aws.amazon.com/redshift/\\" target=\\"_blank\\">Amazon Redshift</a>, and <a href=\\"https://aws.amazon.com/opensearch-service/\\" target=\\"_blank\\">Amazon OpenSearch Service</a>.</p>\\n<h3><a id=\\"Getting_Started_with_Elastic_Clusters_15\\"></a><ins>Getting Started with Elastic Clusters</ins></h3>\\n<p>Previously, I mentioned that you can use either the AWS console, AWS CLI, or AWS SDK to create Elastic Clusters. In the examples below, we will look at how you can create a cluster, scale up or out, and scale in or down using the AWS CLI:</p>\n<h3><a id=\\"Create_a_Cluster_18\\"></a><ins>Create a Cluster</ins></h3>\\n<p>When creating a cluster, you will specify the vCPUs that you want for your Elastic Clusters at provisioning. With the size of vCPUs that you provision, you will also get a proportionate amount of memory, expressed in vCPUs. Elastic Clusters automatically provisions the necessary infrastructure (shards and instances) on your behalf.<br />\\n<code>aws docdb-elastic create-cluster</code><br />\\n<code>--cluster-name foo</code><br />\\n<code>--shard-capacity 2</code><br />\\n<code>--shard-count 4</code><br />\\n<code>--auth-type PLAIN_TEXT</code><br />\\n<code>--admin-user-name docdbelasticadmin</code><br />\\n<code>--admin-user-password password</code></p>\\n<h3><a id=\\"Scale_Up_or_Out_28\\"></a><ins>Scale Up or Out</ins></h3>\\n<p>If you need more compute and storage to handle an increase in traffic, modify the shard-count parameter. Elastic Clusters scales the underlying infrastructure up or out to give you additional compute and storage capacity.<br />\\n<code>aws docdb-elastic update-cluster</code><br />\\n<code>--cluster-arn foo-arn</code><br />\\n<code>--shard-count 8</code></p>\\n<h3><a id=\\"Scale_In_or_Down_34\\"></a>Scale In or Down</h3>\\n<p>If you no longer need the compute and storage that you currently have provisioned, either due to a decline in database traffic or the fact that you originally over-provisioned, modify the shard-count parameter. Elastic Clusters scales the underlying infrastructure in or down.<br />\\n<code>aws docdb-elastic update-cluster</code><br />\\n<code>--cluster-arn foo-arn</code><br />\\n<code>--shard-count 4</code></p>\\n<h3><a id=\\"General_Availability_of_Elastic_Clusters_for_Amazon_DocumentDB_40\\"></a><ins>General Availability of Elastic Clusters for Amazon DocumentDB</ins></h3>\\n<p>Amazon DocumentDB Elastic Clusters is now available in all AWS Regions where Amazon DocumentDB is available, except China and AWS GovCloud. To learn more, visit the <a href=\\"https://aws.amazon.com/documentdb/\\" target=\\"_blank\\">Amazon DocumentDB page</a>.</p>\\n<p>– <a href=\\"https://twitter.com/vel12171\\" target=\\"_blank\\">Veliswa</a> x</p>\\n<p><img src=\\"https://dev-media.amazoncloud.cn/817fbc4cf8d44996a8aae199fc746a6b_image.png\\" alt=\\"image.png\\" /></p>\n<h3><a id=\\"Veliswa_Boya_47\\"></a>Veliswa Boya</h3>\\n<p>Veliswa Boya is a Senior Developer Advocate, based in South Africa and working closely with the builder community in Sub-Saharan Africa. She has fulfilled many roles in tech, which range from developer to analyst, architect to cloud engineer, and now a developer advocate. Veliswa especially enjoys working with those who are new to tech—and those getting started with AWS.</p>\n"}
目录
亚马逊云科技解决方案 基于行业客户应用场景及技术领域的解决方案
联系亚马逊云科技专家
亚马逊云科技解决方案
基于行业客户应用场景及技术领域的解决方案
联系专家
0
目录
关闭