Change the RDS instance type

Last Updated: Jun 16, 2017

Description

Changes 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, ensure 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 Postpaid.
DBInstanceClass String No For details, refer to the Appendix.
DBInstanceStorage Integer No User-defined storage space. Value range: [5, 2000] for MySQL, [10, 2000] for SQLServer, and [5, 2000] for PostgreSQL and PPAS. 5 GB increments.

Return parameters

Name Type Description
<Public Return Parameters> - For details, refer to the Appendix.

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.