This topic describes how to change the configurations of a standalone instance. If the specifications of your standalone instance are higher or lower than required for your business needs, you can modify the instance configurations accordingly.
Billing rules
For more information, see Configuration change fees.
Limits
The new storage capacity you specify must be greater than or equal to the existing storage capacity of the standalone instance.
You cannot decrease the storage capacity of a standalone instance. To decrease the storage capacity, you need to create another instance to replace the existing one. See Other configuration change scenarios and methods.
You cannot change the number of nodes, architecture, or storage engine of a standalone instance. For example, you cannot convert a standalone instance into a replica set instance. To make such configuration changes, create another instance to replace the existing one. See Other configuration change scenarios and methods.
Usage notes
The time required to complete a configuration change depends on factors such as network conditions, task queue status, and data size. We recommend that you change configurations during off-peak hours and ensure your application can automatically reconnect to the instance.
During a configuration change, one or two transient disconnections may occur. Each disconnection lasts approximately 30 seconds. You can set the effective time for the configuration change to avoid interrupting your workloads.
Configuration changes do not cause data loss.
If the minor version of an instance expires or is no longer maintained, ApsaraDB for MongoDB automatically updates the minor version to the latest version when you change the instance configurations.
Procedure
Go to the Replica Set Instances page. In the top navigation bar, select the resource group and region. Then, find the instance and click the ID of the instance.
In the Specification Information section of the Basic Information page, perform the corresponding operations based on the billing method of the instance.
If the billing method of the instance is subscription, click Upgrade or Downgrade.
If the billing method of the instance is pay-as-you-go, click Change Configurations.
On the Upgrade/Downgrade page, configure the parameters described in the following table.
NoteWhen you change the value of the Storage parameter, ensure that the new storage capacity you specify is greater than or equal to the existing storage capacity of the standalone instance. To decrease the storage capacity, create another instance to replace the existing one. See Other configuration change scenarios and methods.
Parameter
Description
Specifications
The new specifications. See Instance types.
Storage
The storage capacity that can be selected when you change the configurations.
NoteThis parameter is not displayed when you downgrade the specifications of a standalone instance that uses the subscription billing method.
Switching Time
The time when you want the system to apply the configuration change.
Switch Immediately After Data Migration: ApsaraDB for MongoDB applies the configuration change immediately after the configuration is complete.
Switch Within Maintenance Window: ApsaraDB for MongoDB applies the configuration change within the maintenance window that you specify. You can also perform the following steps to modify the maintenance window:
Click Switch Within Maintenance Window and then click Edit on the right to set the switching time.
Go to the Basic Information page. In the Specification Information section, click Maintenance Period and then click Edit on the right to set the switching time. For more information, see Specify a maintenance window.
Read the Terms of Service, click Buy Now, and then complete the payment as prompted.
When you change the configurations of the instance, the instance status is Changing Configuration. If the instance status changes to Running, the instance configurations are changed.
Related API operations
API | Description |
Changes the specifications or storage capacity of a standalone or replica set instance. |