Both Anti-DDoS Pro and Anti-DDoS Premium allow you to create scenario-specific custom policies. A scenario-specific custom policy allows you to choose a scenario-specific template for high-traffic scenarios, such as new business launches and Double 11. You can create custom policies based on your business needs.
Scenario-specific templates are available when you create a custom policy. When you create a custom policy, you must select a template and specify a target to apply the policy. Currently, the target must be a domain name. A custom policy is valid only during the specified validity period. During the validity period, the custom policy takes precedence over standard protection policies.
- If no traffic surge happens, we recommend that you use standard protection policies instead of custom policies.
- Custom policies are available only for the latest versions of Anti-DDoS Pro and Anti-DDoS Premium. If you want to create custom policies, we recommend that you update to the latest version of Anti-DDoS Pro or Anti-DDoS Premium.
Only the Important Activity template is available. We are working on support for more policy templates.
- At the beginning of an activity, the Important Activity policy records the status of the Intelligent Protection and Frequency Control policies and automatically disables them to avoid false positives.
- At the end of the activity, the Important Activity policy restores the configurations of these policies.
- If you enable these policies during an activity, the manual configuration takes precedence.
- Log on to the Anti-DDoS Pro console.
- In the top navigation bar, select the region of your Anti-DDoS instance.
- Mainland China: Anti-DDoS Pro
- Outside Mainland China: Anti-DDoS Premium
- In the left-side navigation pane, choose .
- On the Custom Policies page, click Create Policy.
- In the Custom Policies dialog box, specify the required 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.Note The validity periods of policies to which the same policy template is attached must not overlap.After a policy is created, the policy is automatically applied. You can view the policy on the Custom Policies page and check Status of the policy to determine whether the policy takes effect. Different states are described as follows:
- Pending Enabled: indicates that a policy is pending enabled. The current time is earlier than the start time of the specified validity period.
- Updating: indicates that a policy is expected to take effect. The process requires one or two minutes to complete.
- Running: indicates that a policy is valid. The current time is within the specified validity period.
- Expired: indicates that a policy has expired. The current time is not within the specified validity period.
- Disabled: indicates that a policy is disabled. The policy does not take effect even if the current time is within the specified validity period.
- In the custom policy list, find the new policy and click Configure Policy in the Actions column.
- In the list of domain names that are protected by Anti-DDoS Pro or Anti-DDoS Premium,
select one or more domain names to which you want to apply the policy and click OK.
After a policy is applied, the information in the Protection Target column is automatically updated. You can move the pointer over the protection target to view the domain name to which the policy is applied.