Change the RDS instance type

Last Updated: Dec 06, 2017

Description

Change the instance type or storage space configuration. The following conditions must be met:

  • The instance is running.

  • The instance is not currently performing a backup task.

  • Either the instance type or storage space must be specified.

  • When downgrading the disk space configuration, make sure that the input disk space is no less than 1.1 times the actually used space.

  • Currently, only regular and read-only instances allow for configuration changes. Configurations cannot be changed for disaster recovery and temporary instances.

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: ModifyDBInstanceSpec.
DBInstanceId String Yes Instance to be upgraded/downgraded.
PayType String Yes Pay-As-You-Go.
DBInstanceClass String No For more information, see Public parameters.
DBInstanceStorage Integer No User-defined storage space. Value range is as follows and the increment is 5 GB:
  • For MySQL: [5, 2000];
  • For SQL Server: [10, 2000];
  • For PostgreSQL and PPAS: [5, 2000].

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.

Example

  • Request example

    1. https://rds.aliyuncs.com/?Action=ModifyDBInstanceSpec
    2. &DBInstanceId=rdsaiiabnaiiabn
    3. &PayType=Postpaid
    4. &DBInstanceStorage=10
    5. &<Public Request Parameters>
  • Return example

    XML format:

    1. <ModifyDBInstanceSpecResponse>
    2. <RequestId>3C5CFDEE-F774-4DED-89A2-1D76EC63C575</RequestId>
    3. </ModifyDBInstanceSpecResponse>

    JSON format:

    1. {
    2. "RequestId": " 3C5CFDEE-F774-4DED-89A2-1D76EC63C575 "
    3. }
Thank you! We've received your feedback.