Amazon Relational Database Service
User Guide (API Version 2012-01-15)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

Scaling CPU and Memory for a DB Instance

The DB Instance class specifies the CPU and memory capacity of a DB Instance. You can scale the CPU and memory capacity of a DB Instance up or down by specifying a new DB Instance class.

In this example, you change the DB Instance class of an existing DB Instance called mydbinstance to Extra Large.

AWS Management Console

To modify the CPU class for an Amazon RDS instance

  1. Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.

  2. In the My DB Instances list, select the check box next to the DB Instance you wish to delete.

  3. Click the Modify button or right-click the DB Instance and select Modify from the context menu.

    The Modify DB Instance window appears.

  4. Select the new DB Instance class from the DB Instance Class drop-down list box.

  5. Click the OK button.

CLI

To modify the CPU class for an Amazon RDS instance

  • Use the command rds-modify-db-instance with the following parameters:

    PROMPT>rds-modify-db-instance mydbinstance --db-instance-class db.m1.large

    This command produces output similar to the following:

    DBINSTANCE  mydbinstance   2009-10-21T18:32:37.080Z  db.m1.small  MySQL  50
    sa  available  mydbinstance.clouwupjnvmq.us-east-1.rds.amazonaws.com   3306
    us-east-1a  3  db.m1.large  n  5.1.57  general-public-license 
    SECGROUP  default  active
    PARAMGRP  default.MySQL5.1  in-sync
    				

API

To modify the CPU class for an DB Instance

  • Call ModifyDBInstance with the following parameters:

    • DBInstanceIdentifier = myinstancename

    • DBInstanceClass = db.m1.large

    Example

    https://rds.amazonaws.com/
     ?Action=ModifyDBInstance
     &DBInstanceIdentifier=mydbinstance
     &DBInstanceClass=db.m1.large
     &SignatureVersion=2
     &SignatureMethod=HmacSHA256
     &Timestamp=2009-10-14T17%3A48%3A21.746Z
     &AWSAccessKeyId=<AWS Access Key ID>
     &Signature=<Signature>