This topic describes how to add resources to instances in scenarios where the traffic surges, such as 618 and Double 11.
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.
- Log on to the ApsaraDB for MyBase console.
- In the upper-left corner of the RDS Dedicated Clusters page, select the region where your dedicated cluster resides.
- On the RDS Dedicated Clusters page, find the dedicated cluster where the instance resides and click Details in the Actions column.
- 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
- In the Adjust instance resources dialog box, set the following parameters.
Parameter Description Instance Information The basic information about the instance, which includes the following items:
- Instance ID
- Maximum Connections
Resource Type The type of the resource that you want to adjust. The following types are available:
Note You can adjust only one resource type at a time.
- Maximum Connections
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.
- Click OK to complete the scaling configuration.
- Click the ID of the instance. In the Instance Resources section on the Basic Information page, view the new resource configurations.