To manage an Amazon DocumentDB elastic cluster, you must have an IAM policy with the appropriate Amazon DocumentDB control plane permissions. These permissions allow you to create, modify, and delete clusters. The Amazon DocumentDBFullAccess policy provides all the required permissions for administering an Amazon DocumentDB elastic cluster.
The following topics show how to perform various tasks when working with Amazon DocumentDB elastic clusters.
Topics
Modifying elastic cluster configurations
In this section we explain how to modify elastic cluster, using either the AWS Management Console or AWS CLI with the following instructions.
A primary use of modifying the cluster is to scale shards by increasing or decreasing the shard count and/or shard compute capacity.
To modify an elastic cluster configuration using the AWS Management Console:
-
Sign into the AWS Management Console and open the Amazon DocumentDB console.
-
In the navigation pane, choose Clusters.
Tip
If you don't see the navigation pane on the left side of your screen, choose the menu icon in the upper-left corner of the navigation pane.
-
Choose the name of the cluster you want to modify in the Cluster identifier column.
-
Choose Modify.
-
Edit the fields you want changed and then select Modify cluster.
Note
Alternatively, you can access the Modify cluster dialog by going to the Clusters page, checking the box next to your cluster, choosing Actions, then Modify.
To monitor the status of the elastic cluster after your modification, see Monitoring an elastic cluster.
Monitoring an elastic cluster
In this section, we explain how to monitor your elastic cluster, using either the AWS Management Console or AWS CLI with the following instructions.
To monitor an elastic cluster configuration using the AWS Management Console:
-
Sign into the AWS Management Console and open the Amazon DocumentDB console.
-
In the navigation pane, choose Clusters.
Tip
If you don't see the navigation pane on the left side of your screen, choose the menu icon in the upper-left corner of the navigation pane.
-
Choose the name of the cluster you want to monitor in the Cluster identifier column.
-
Choose the Monitoring tab.
A number of charts from Amazon CloudWatch are displayed for the following monitoring categories:
Resource Utilization
Throughput
Operations
System
You can also access Amazon CloudWatch through the AWS Management Console to set up your own monitoring environment for your elastic clusters.
Deleting an elastic cluster
In this section we explain how to delete an elastic cluster, using either the AWS Management Console or AWS CLI with the following instructions.
To delete an elastic cluster configuration using the AWS Management Console:
-
Sign into the AWS Management Console and open the Amazon DocumentDB console.
-
In the navigation pane, choose Clusters.
Tip
If you don't see the navigation pane on the left side of your screen, choose the menu icon in the upper-left corner of the navigation pane.
-
In the cluster list table, select the check box to the left of the cluster name you want to delete and then choose Actions. From the dropdown menu, choose Delete.
-
In the Delete "cluster-name" elastic cluster? dialog box, choose Delete.
It takes several minutes for the cluster to be deleted. To monitor the status of the cluster, see Monitoring an Amazon DocumentDB Cluster's Status.