All Products
Search
Document Center

:Anti-DDoS Origin Basic

Last Updated:Dec 09, 2024

Anti-DDoS Origin Basic is a free service that protects Elastic Compute Service (ECS) instances from DDoS attacks. If inbound traffic to an ECS instance exceeds the maximum traffic rate allowed by the instance type, Anti-DDoS Origin Basic throttles traffic to prevent issues such as data breach, server disconnections, and service inaccessibility. This topic describes the features and principles of Anti-DDoS Origin Basic.

Note

Anti-DDoS Origin Basic is a free service provided by Alibaba Cloud. Anti-DDoS Origin Basic provides up to 5 Gbit/s of mitigation capacity against DDoS attacks free of charge. The free mitigation capacity provided for ECS instances varies based on the instance type. You can check the actual mitigation capacity of your ECS instance in the Traffic Security console. For more information, see What is Security Center? and View the thresholds that trigger blackhole filtering in Anti-DDoS Origin Basic.

How Anti-DDoS Origin Basic works

DDoS traffic scrubbing

After you activate Anti-DDoS Origin Basic, inbound traffic to ECS instances is monitored in real time. When an ultra-large amount of traffic or suspicious traffic such as DDoS attack traffic is detected, Anti-DDoS Origin Basic redirects traffic from the intended paths to a scrubbing device. The scrubbing device identifies and removes malicious traffic and then returns legitimate traffic. Then, the legitimate traffic is forwarded to ECS instances by using the intended paths. The preceding process is called traffic scrubbing. It helps clear abnormal traffic to ensure the stability and security of network services. For more information, see What is Anti-DDoS Origin?

Note

If Anti-DDoS Origin Basic is activated for an ECS instance, Anti-DDoS Origin Basic triggers blackhole filtering when inbound traffic from the Internet exceeds 5 Gbit/s. All traffic to the instance is routed to a blackhole and all access requests from the Internet to the instance are blocked to ensure cluster-wide security. For more information, see Blackhole filtering policy of Alibaba Cloud in Anti-DDoS documentation.

Conditions for triggering traffic scrubbing

To trigger traffic scrubbing, make sure that the following conditions are met:

  • Traffic pattern: When inbound traffic matches an attack traffic pattern, traffic scrubbing is triggered.

  • Traffic amount: In most cases, DDoS attacks generate flood traffic at a magnitude of Gbit/s. When the amount of traffic to an ECS instance reaches a specific threshold, Anti-DDoS Origin Basic automatically scrubs the traffic.

Methods of traffic scrubbing

Traffic scrubbing methods include filtering out attack packets, throttling bandwidth, and throttling the packet forwarding rate. When you use Anti-DDoS Origin Basic, you must configure the following thresholds. For more information, see Configure a traffic scrubbing threshold.

  • BPS-based scrubbing threshold: When inbound traffic exceeds this threshold, traffic scrubbing is triggered.

  • PPS-based scrubbing threshold: When the inbound packet forwarding rate exceeds this threshold, traffic scrubbing is triggered.

Scrubbing thresholds of ECS instances

Note

This feature is supported in the following regions: China (Heyuan), China (Guangzhou), China (Chengdu), China (Hohhot), China (Ulanqab), China (Hong Kong), UAE (Dubai), UK (London), Germany (Frankfurt), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), Japan (Tokyo), US (Virginia), US (Silicon Valley), and Singapore.

The scrubbing threshold of an ECS instance varies based on the purchased public bandwidth and instance type. The following table describes the methods used to calculate the scrubbing threshold of an ECS instance.

Purchased public bandwidth (Mbit/s)

Maximum BPS-based scrubbing threshold (Mbit/s)

Maximum PPS-based scrubbing threshold (pps)

≤ 300

The maximum bandwidth allowed by the ECS instance type or 450, whichever is lower.

The maximum packet forwarding rate allowed by the ECS instance type or 100,000, whichever is lower.

> 300

The maximum bandwidth allowed by the ECS instance type or the product of the purchased bandwidth value multiplied by 1.5, whichever is smaller.

The maximum packet forwarding rate allowed by the ECS instance type or the product of the purchased bandwidth value multiplied by 1,000, whichever is smaller.

Note

For example, if you purchase an ECS instance of the ecs.g5.16xlarge instance type and the purchased public bandwidth is 100 Mbit/s, the maximum bandwidth of the instance is 20,000 Mbit/s and the maximum packet forwarding rate is 4,000,000. The following table describes how to calculate the scrubbing threshold of the instance.

Purchased public bandwidth (Mbit/s)

Maximum BPS-based scrubbing threshold (Mbit/s)

Maximum PPS-based scrubbing threshold (pps)

100 < 300

20,000 or 450, whichever is smaller.

The result is 450.

4,000,000 or 100,000, whichever is smaller.

The result is 100,000.

The final scrubbing threshold displayed in the Traffic Security console prevails. For more information, see View the Assets page. The following figure shows an example.资产中心

References

By default, Anti-DDoS Origin Basic is enabled for ECS instances. After you create an ECS instance, you can perform the following operations:

  • Specify scrubbing thresholds. After an ECS instance is created, the maximum thresholds of Anti-DDoS Origin Basic for the instance types are used. The maximum BPS-based scrubbing threshold for specific instance types may be too high. You must change the threshold based on your business requirements. For more information, see Configure a traffic scrubbing threshold.

  • (Not recommended) Disable traffic scrubbing. When traffic scrubbing is enabled and inbound traffic to an ECS instance reaches a specific threshold, traffic scrubbing is triggered regardless of whether traffic is normal. This may affect or interrupt normal business. You can manually disable traffic scrubbing for ECS instances. For more information, see Cancel traffic cleaning.

    Warning

    After traffic scrubbing is disabled for an ECS instance, all traffic to the instance is routed to a blackhole when inbound traffic to the instance exceeds 5 Gbit/s. Proceed with caution.

  • Compared with traditional security solutions to DDoS attacks, Alibaba Cloud Anti-DDoS Proxy provides the advantages of easy deployment, high BGP network quality, comprehensive protection capability, stable system availability, precise protection, and advanced AI intelligent protection technology. For more information, see What is Anti-DDoS Proxy?

  • For information about how to select anti-DDoS solutions, see Scenario-specific anti-DDoS solutions.