Help Center/ Anti-DDoS Service/ User Guide/ Scheduling Center Quotas/ Configuring CDN Scheduling Rules
Updated on 2024-12-24 GMT+08:00

Configuring CDN Scheduling Rules

Huawei Cloud AAD and CDN are scheduled based on custom rules set at the scheduling center. Under normal conditions, traffic is directed to the closest CDN node for enhanced performance. In the event of an attack, the traffic is rerouted to AAD for scrubbing.

Prerequisites

Limitations and Constraints

You need to submit a work order to contact the Anti-DDoS Service team to obtain the CDN scheduling permission.

Enabling CDN Scheduling

  1. Log in to the management console.
  2. Select a region in the upper part of the page, click in the upper left corner of the page, and choose Security & Compliance > Anti-DDoS Service. The Anti-DDoS Service Center page is displayed.
  3. In the navigation tree on the left, choose DDoS Scheduling Center > CDN Scheduling.
  4. On the CDN Scheduling page, click Create Rule.

    Figure 1 Creating a CDN scheduling rule

  5. In the dialog box that is displayed, add the rule information. For details, see Table 1.

    Figure 2 Rule details
    Table 1 Rule details

    Parameter

    Description

    Name

    Enter the name of a user-defined CDN scheduling rule.

    CDN Domain Name

    Enter a CDN domain name. The domain name can contain only letters, digits, hyphens (-), and periods (.), and cannot exceed 64 characters.

    CDN Service Scope

    The region of the CDN domain name to be added must be the same as that configured on the CDN page. The supported service regions are Chinese mainland, Outside Chinese mainland, and Global.

    CDN CNAME

    Enter a CDN CNAME. The CDN CNAME can contain a maximum of 128 characters, including lowercase letters, digits, and periods (.).

    AAD CNAME

    Enter an AAD CNAME. The AAD CNAME can contain a maximum of 128 characters, including lowercase letters, digits, and periods (.).

    Switch Rule (CND to AAD)

    Set the rule for switching CDN to AAD based on the site requirements.

    Switch Rule (AAD to CND)

    Set the rule for switching back to the CDN based on the site requirements.

  6. Click OK.

Related Operations

  • Editing a rule: Locate the row that contains the target rule, click Edit in the Operation column. In the dialog box that is displayed, modify related parameters.
  • Deleting a rule: Locate the row that contains the rule to be deleted, click Delete in the Operation column. In the dialog box that is displayed, click OK.