CLOUD CONCEPT

DDoS Mitigation

DDoS mitigation combines traffic filtering, distributed capacity, and resilient architecture to keep services available during distributed denial-of-service attacks.

Cloud Concepts Hub →

What is DDoS Mitigation

Distributed denial-of-service attacks use many sources to exhaust network bandwidth, connection capacity, or application resources. Mitigation matches defenses to the threatened layer, rejects malicious traffic before it reaches constrained resources, and preserves access for legitimate users.

DDoS mitigation protects availability when many sources simultaneously send traffic intended to overwhelm a service. The constrained resource might be an internet connection, a connection-tracking table, a web server, or a database behind an apparently inexpensive API request. Successful mitigation is not simply blocking high traffic volumes: it requires distinguishing attack traffic from legitimate demand and keeping critical business functions usable.

Choose edge defenses according to the anticipated attack. Volumetric attacks, including reflection and amplification attacks, attempt to saturate bandwidth and require upstream filtering or a sufficiently distributed provider edge. Protocol attacks, such as SYN floods, target connection establishment and network state. Application-layer attacks use HTTP requests that can resemble legitimate activity but exhaust expensive operations such as searching, authentication, or report generation. A web application firewall can inspect HTTP requests, but it does not replace network-layer DDoS protection.

Cloud architectures typically place managed edge infrastructure in front of regional application resources. A content delivery network distributes incoming requests and serves cacheable responses without contacting the origin. Managed authoritative DNS reduces dependence on a small, self-managed DNS deployment. For non-HTTP applications, a distributed network entry point can provide an appropriate protected path without relying on HTTP-specific controls. Multi-zone application capacity improves resilience, but it cannot compensate for an unprotected upstream bottleneck.

For example, an online store can cache product images and public catalog pages at the edge while applying application-layer rate controls to login and search endpoints. Requests to checkout may require separate thresholds because legitimate customers have different usage patterns there. Request aggregation can use IP addresses or other supported attributes, but IP-only limits can penalize users behind shared NAT gateways, while a widely distributed botnet may remain below each individual IP threshold. Challenge mechanisms must also account for API clients that cannot execute browser challenges.

Prevent attackers from bypassing the protected entry point. Where supported, use private origins; otherwise restrict origin network access and verify that requests arrive through the intended distribution. Merely changing the public DNS record to point at a CDN does not protect an origin that remains directly reachable. Security groups and network ACLs reduce exposure, but rules close to the application cannot recover bandwidth already saturated farther upstream.

In AWS scenarios, distinguish automatic network and transport-layer protection from configurable HTTP filtering and enhanced incident-response capabilities. AWS Shield Standard provides baseline protection automatically, while Shield Advanced adds capabilities for eligible protected resources, including enhanced detection, response assistance, and conditional DDoS-related cost protection. AWS WAF supplies application-layer controls. Do not assume that purchasing enhanced protection automatically enrolls every resource, configures application-specific rules, or eliminates all attack-related charges.

Capacity and operational controls remain essential. Autoscaling can absorb some demand, but scaling alone can increase costs or move the bottleneck to a database. Use caching, bounded concurrency, timeouts, and load shedding to limit work per request. Monitor request rates, error rates, latency, cache hit ratios, and backend saturation together. During an incident, inspect edge logs and mitigation metrics, check for origin bypass, and tune rules cautiously to avoid blocking legitimate traffic. Maintain an escalation runbook and conduct testing only within provider policies and authorization requirements.

Key aspects of DDoS Mitigation

Effective DDoS mitigation combines layer-appropriate edge defenses, protected origins, controlled resource consumption, and tested operational response.

Threat-specific defense selection

Identify whether an attack threatens bandwidth, protocol state, or application processing. Select upstream network mitigation for floods and HTTP-aware controls for application request abuse rather than assuming one filter addresses every layer.

Distributed edge absorption

Use distributed ingress, managed DNS, and caching to reduce the concentration of traffic on regional resources. Filter attacks before they reach links or systems whose capacity cannot expand quickly.

Origin bypass prevention

Ensure that attackers cannot reach the application through an unprotected public endpoint. Use private connectivity where supported or combine origin network restrictions with verification of the intended edge distribution.

Selective application controls

Apply rate limits, request validation, and suitable challenges to expensive or abused endpoints. Tune aggregation keys and thresholds to avoid penalizing shared-IP users or legitimate automation.

Bounded resource consumption

Combine caching and scaling with concurrency limits, timeouts, and load shedding. Protect downstream dependencies and recognize that accepting more requests can increase both outages and costs.

Measured incident response

Baseline normal behavior and correlate edge traffic with application health before changing controls. Maintain response procedures, escalation contacts, and visibility into false positives, protection coverage, and financial exposure.

Cloud services for DDoS Mitigation

Use Route 53 for resilient DNS and select an ingress service that fits the application protocol. For web applications, CloudFront reduces origin traffic through caching, while AWS WAF filters abusive HTTP requests. For TCP or UDP applications, Global Accelerator supplies distributed network ingress without HTTP-specific inspection. Shield provides network and transport-layer DDoS protection, with Advanced capabilities available for eligible protected resources. These services complement rather than replace origin restrictions, resilient application capacity, and monitoring. Verify protection enrollment, inspect traffic that still reaches the origin, and tune application controls against legitimate usage patterns.

AWS Shield image AWS Shield

Shield Standard automatically provides baseline protection against common network and transport-layer DDoS attacks. Shield Advanced adds enhanced capabilities for eligible resources enrolled in protection, including response assistance and DDoS-related cost protection subject to applicable conditions.

Open AWS Shield →
AWS WAF image AWS WAF

AWS WAF inspects HTTP and HTTPS requests at supported integration points and applies rules such as rate-based controls, request matching, and challenges. It helps mitigate application-layer floods but is not a substitute for upstream volumetric protection.

Open AWS WAF →
Amazon CloudFront image Amazon CloudFront

CloudFront distributes HTTP and HTTPS ingress across edge locations and caches eligible responses to reduce origin load. Combining it with AWS WAF and origin access restrictions makes the edge an effective enforcement point rather than a path attackers can bypass.

Open Amazon CloudFront →
Amazon Route 53 image Amazon Route 53

Route 53 provides distributed authoritative DNS infrastructure with built-in DDoS defenses. It helps keep DNS resolution available, but DNS resilience alone does not protect an application's public endpoints.

Open Amazon Route 53 →
AWS Global Accelerator image AWS Global Accelerator

Global Accelerator provides static anycast entry points for TCP and UDP applications and routes traffic over the AWS global network to healthy endpoints. It benefits from Shield Standard protection and supports Shield Advanced protection, but does not provide HTTP request inspection or content caching.

Open AWS Global Accelerator →