Both Anti-DDoS Pro and Anti-DDoS Premium allow you to create custom mitigation policies. A custom mitigation policy allows you to apply a scenario-specific template for high-traffic scenarios, such as new service launches and Double 11. You can create custom mitigation policies based on your business requirements.
Background information
Scenario-specific templates are provided for you to create custom mitigation policies. When you create a custom mitigation policy, you must select a template and specify one or more assets for the policy. The assets include domain names and IP addresses that are added to Anti-DDoS Pro and Anti-DDoS Premium. A custom mitigation policy is valid only during a specified period of time. During the specified period, the custom mitigation policy takes effect instead of the standard mitigation policy.
Supported templates
Only the Important Activity template is available. More templates will be provided in the future.
Example
- At the beginning of an activity, the Important Activity template saves the original configurations of the Intelligent Protection and Frequency Control features, and then automatically disables them to avoid false positives.
- At the end of the activity, the Important Activity template restores the configurations of these features.
- If you enable these features during the activity, the manual configuration takes effect.
Procedure
Log on to the Anti-DDoS Pro console.
In the top navigation bar, select the region of your asset.
Anti-DDoS Proxy (Chinese Mainland): If your instance is an Anti-DDoS Pro instance, select Chinese Mainland.
Anti-DDoS Proxy (Outside Chinese Mainland): If your instance is an Anti-DDoS Premium instance, select Outside Chinese Mainland.
You can switch the region to configure and manage Anti-DDoS Pro or Anti-DDoS Premium instances. Make sure that you select the required region when you use Anti-DDoS Pro or Anti-DDoS Premium.
In the left-side navigation pane, choose .
- Click Custom Policies.
- In the Custom Policies dialog box, specify the parameters and then click Confirm.
Parameter Description Policy Name The name of the policy. Policy Template The template that you want to apply to the policy. Set the value to Important Activity. Validity Period The validity period of the policy. The policy takes effect during this period. Note If a template is applied to more than one policy, make sure that the values of Validity Period for these policies do not overlap with each other.After a policy is created, the policy is automatically enabled. You can view the policy on the Custom Policies page and check Status of the policy to determine whether the policy is in effect. A policy may have the following states:- Pending Enabled: indicates that the policy is still not in effect. The current time is earlier than the start time of the specified validity period.
- Updating: indicates that the policy is being issued. The process requires one or two minutes to complete.
- Running: indicates that the policy is in effect. The current time is within the specified validity period.
- Expired: indicates that the policy has expired. The current time is later than the specified validity period.
- Disabled: indicates that the policy is disabled. The policy does not take effect even if the current time is within the specified validity period.
- In the list of custom mitigation policies, find the policy that you want to configure and click Configure Policy in the Actions column.
- Select one or more domain names or IP addresses that are added to Anti-DDoS Pro or Anti-DDoS Premium for policy. Then, click OK.Note If a website is added to Anti-DDoS Pro or Anti-DDoS Premium by using a domain name, we recommend that you enable the policy for the domain name. If a Layer 4 service is added to Anti-DDoS Pro or Anti-DDoS Premium by using an IP address, we recommend that you enable the policy for the IP address.After the policy takes effect, information in the Protection Target column is automatically updated. You can move the pointer over the number in the Protection Target column to view the information.