This topic describes how to use Operation Orchestration Service (OOS) to temporarily upgrade bandwidth at the scheduled time.

Background information

If you need to temporarily upgrade your bandwidth, you can use the Temporary Bandwidth Upgrade feature of OOS to specify the upgrade time. You can run a temporary bandwidth upgrade task every day or on the specified days each week.

Procedure

  1. Log on to the OOS console.
  2. In the left-side navigation pane, choose Common O&M Tasks > Temporary Bandwidth Upgrade.
  3. On the Temporary Bandwidth Upgrade page, click Create. In the Parameter Settings section, set the parameters as required.
  4. Set Execution Cycle to Every Day or Specify Time. In this example, select Every Day.
  5. Select a time zone from the Time Zone drop-down list. Set Start Time, Execution Duration (Hours), Maximum Internet Outbound Bandwidth (Mbit/s), and End Time.
  6. Set Permissions to Specify RAM Role and Use Permissions Granted to This Role. Select a Resource Access Management (RAM) role from the OOSAssumeRole drop-down list.

    In this example, select OOSServiceRole.

    If no RAM roles are available, create a RAM role for OOS. For more information, see Grant RAM permissions for OOS. If you already know how to create a RAM role for OOS, you can directly click View Authorization Policies and Manual Authorization to complete RAM permission settings. For more information about the required permission policy, see the following JSON script:

    {    "Version": "1",    "Statement": [        {            "Action": "oos:*",            "Resource": "*",            "Effect": "Allow"        },        {            "Action": "ram:PassRole",            "Resource": "*",            "Effect": "Allow",            "Condition": {                "StringEquals": {                    "acs:Service": "oos.aliyuncs.com"                }            }        },        {            "Action": [                "ecs:DescribeInstances",                "ecs:ModifyInstanceNetworkSpec"            ],            "Resource": "*",            "Effect": "Allow"        }    ]}
  7. In the Select Instances section, select Specify Instance Tags and click Add.

    You can select Manually Select Instances, Specify Instance Tags, or Specify Resource Group for Instance Selection Method. In this example, select Specify Instance Tags and enter the preset tag key and value.

  8. Click Advanced(Optional).

    Set Concurrency and Error Threshold as required. For more information about concurrency-related terms, see the Control the loop execution rate and MaxErrors sections of the Loop topic.

    Set Rate Control to Concurrency-based Control or Batch-based Control. In this example, select Concurrency-based Control.
  9. Click Execute Now.