This topic describes how to add resources to instances in scenarios where the traffic surges, such as 618 and Double 11.

Background information

Double 11 is an online shopping festival in China, during which an exploding number of users access your database instances. The elastic scaling feature of ApsaraDB for MyBase helps you avoid network congestion during peak hours. The elastic scaling feature allows you to upgrade instance specifications to improve performance for a short period of time. The instance specifications include memory and CPU. After the specified period of time ends, ApsaraDB for MyBase automatically restores the instance specifications to the status before the upgrade.

Assume that an online store has 100,000 visits per day on average, and a 2-core 16 GB instance can ensure stable operations of the website. However, historical statistics show that the number of visits during Double 11 may reach one million. To handle the peak-hour traffic, you can temporarily upgrade the instance to an 8-core 64 GB instance.

Procedure

  1. Log on to the ApsaraDB for MyBase console.
  2. In the upper-left corner of the RDS Dedicated Clusters page, select the region where your dedicated cluster resides.
    Select a region
  3. On the RDS Dedicated Clusters page, find the dedicated cluster where the instance resides and click Details in the Actions column.
  4. In the left-side navigation pane of the Dedicated Cluster page, click Instances. Find the instance for which you want to configure resource scaling, and then choose More > Set Instance Scaling.
    107Parameters
  5. In the Adjust instance resources dialog box, set the following parameters.
    Configurations
    Parameter Description
    Instance Information The basic information about the instance, which includes the following items:
    • Instance ID
    • CPU
    • Memory
    • Maximum Connections
    Resource Type The type of the resource that you want to adjust. The following types are available:
    • CPU
    • Memory
    • Maximum Connections
    Note You can adjust only one resource type at a time.
    Promotion ratio The percentage by which you want to increase the specified resource.
    Note You can enter the percentage or select Unlimited. If you select Unlimited, the instance can use all the resources of the host.
    Deadline of temporary dispatching The time when the resource configuration restores to the original status.
    Note You can specify the time or select Permanent. If you select Permanent, the resource configurations do not restore to the status before the upgrade.
    Restore to specification original configuration To restore a type of resource to the original configuration at the specified time, select the resource type and click OK.
    Note Skip this parameter if you do not want to restore resource configurations.
  6. Click OK to complete the scaling configuration.
  7. Click the ID of the instance. In the Instance Resources section on the Basic Information page, view the new resource configurations.
    Instance Resources