You can modify your Amazon DocumentDB instance using either the AWS Management Console or the AWS CLI. To modify an instance, the instance must be in the available state. You cannot modify an instance that is stopped. If the cluster is stopped, first start the cluster, wait for the instance to become available, and then make the desired modifications. For more information, see Stopping and starting an Amazon DocumentDB cluster.
To modify a specific Amazon DocumentDB instance using the console, complete the following steps.
-
Sign in to the AWS Management Console, and open the Amazon DocumentDB console at https://console.aws.amazon.com/docdb
. -
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 page.
-
In the Clusters navigation box, you’ll see the column Cluster Identifier. Your instances are listed under clusters, similar to the screenshot below.
-
Check the box to the left of the instance you wish to modify.
-
Choose Actions, and then choose Modify.
-
In the Modify instance: <instance-name> pane, make the changes that you want. You can make the following changes:
-
Instance specifications — The instance identifier and class. Instance identifier naming constraints:
-
Instance identifier — Enter a name that is unique for all instances owned by your AWS account in the current region. The instance identifier must contain [1—63] alphanumeric characters or hyphens, have a letter as the first character, and cannot end with a hyphen or contain two consecutive hyphens.
-
Instance class — From the drop-down menu, select an instance class for your Amazon DocumentDB instance. For more information, see Managing instance classes.
-
-
Certificate authority — Server certificate for this instance. For more information, see Updating your Amazon DocumentDB TLS certificates.
-
Failover — During failover, the instance with the highest promotion tier will be promoted to primary. For more information, see Amazon DocumentDB Failover.
-
Maintenance — The maintenance window in which pending modifications or patches are applied to instances in the cluster.
-
-
When you have finished, choose Continue to see a summary of your changes.
-
After verifying your changes, you can apply them immediately or during the next maintenance window under Scheduling of modifications. Choose Modify instance to save your changes. Alternatively, you can choose Cancel to discard your changes.
It takes a few minutes for your changes to be applied. You can use the instance only when its status is available. You can monitor the instance's status using the console or AWS CLI. For more information, see Monitoring an Amazon DocumentDB instance's status.