It is 2 a.m. and the alert wakes you: API error rate jumped from 0.2% to 68% in minutes, outbound bandwidth is pinned at 98%, and the support channel is filling with people saying the site will not load. This is not the first time you have suspected a DDoS, but the feeling — revenue visibly draining in real time — never gets easier. This is not a theory article. It is a response path you can run in 15 minutes: confirm, stop the bleeding, onboard scrubbing, recover — plus three mistakes that quietly double the damage.
Step 1: Spend 2 minutes confirming it is actually an attack
Misdiagnosis is more expensive than the attack itself: treat a sales spike as an attack and you block real users; treat an attack as a server fault and you burn your golden window restarting and scaling things that will not help. Check three signals:
- Source dispersion: normal peaks concentrate in your real user base (same regions, same networks/ASNs); DDoS traffic comes from thousands of unfamiliar netblocks, often across many countries. Look at your connection table or your provider's flow data — the source distribution tells the story instantly.
- Protocol and packet shape: a sudden flood of UDP, SYN, ACK, or ICMP — bandwidth may not be full but your connection table is exhausted — points to protocol or volumetric attack; bandwidth pinned near the ceiling usually means UDP reflection/amplification (abused open services like NTP, DNS, SSDP, Memcached).
- Business correlation: a promotion lifts orders, browsing, and logins together; attack traffic "only lifts requests, not conversions," with error rate and source dispersion climbing in lockstep.
The rule of thumb: dispersed sources + rising errors + saturated bandwidth or connections, all at once, means attack. If only one holds, first rule out app bugs, database locks, or an upstream link failure.
If you are unsure, start with How to Tell If Your Site Is Under a DDoS Attack and get the diagnosis right before you move.
Step 2: Stop the bleeding in 5 minutes (protect the core, drop the decoration)
This step has one goal: do not let the origin be hit directly before scrubbing is in place. In priority order:
- Immediately check whether your origin IP is exposed. This is the root cause of 90% of protection failures — if an attacker has ever seen your real IP, no amount of CDN or scrubbing in front matters, because they bypass it and hit the source directly. If you have ever pointed an A record straight at the origin, or leaked the IP through old mail/DNS, change or shield it now.
- Make DNS resolve only to protection nodes. Every public domain should point at the scrubbing/edge layer; the origin IP should disappear from the public internet.
- Turn on CDN and rate-limit critical endpoints. Offload static assets to a CDN; add per-IP rate limits and human challenges on login, API, and search — the endpoints CC attacks love to grind down first.
- Degrade gracefully. Protect checkout and login first — the endpoints where downtime costs money — and temporarily disable heavy images, video, and optional features to free connections and bandwidth for the core path.
- Call your host and cloud provider to reserve capacity. Many providers only unlock hidden protection headroom or temporary scrubbing during an active attack; make the call early, not after.
The harsh truth: most "free/basic" protection, the moment an attack exceeds the gift quota, either throttles you, bills you per-attack, or blackholes you — and attacks almost always land exactly when you cannot afford to go down: a game launch, a sales zero-hour, payroll day, an election.
Step 3: Onboard professional scrubbing and route clean traffic back
If self-help cannot hold, the fastest recovery is professional DDoS protection. Three onboarding shapes, pick by architecture:
| Method | Time to live | Best for | Cost |
|---|---|---|---|
| DNS steering | minutes | websites, APIs, HTTP/HTTPS | repoint domains to protection nodes |
| GRE / BGP tunnel | tens of minutes | owned racks, hybrid cloud, gaming, non-HTTP (UDP) | coordinate tunnel with datacenter |
| Protected hosting | instant | new services, no re-architecture | migrate service to protected nodes |
AwayDDoS uses a two-layer scrubbing architecture: edge nodes near the source dilute the volumetric flood first, then the remaining traffic goes to scrubbing centers for deep filtering — CC, SYN Flood, and Botnet-disguised traffic are precisely identified and dropped here, and only traffic that passes returns to your origin over smart routing. Crucially: fixed pricing during attacks, no surge fees, no blackholing — you never have to choose between protecting the business and exploding the bill.
Step 4: During and after — don't fall into the "recovery trap"
- During: keep monitoring and log the attack's start/stop, peak (Gbps or tens-of-thousands QPS), type, and source traits. Those logs are your only basis for post-incident attribution, insurance claims, and tuning.
- The 24 hours after are the most dangerous: attackers often strike a second time the moment you "think it is over and lower your guard." Confirm the origin IP is changed/shielded, policies are locked in, and rate limits/challenges stay on before you talk about downgrading.
Three fatal mistakes we see most
"Wait and see; handle it once it gets bigger." — the golden window for DDoS is the first 10 to 15 minutes. The later you onboard scrubbing, the larger the cumulative loss (lost orders, dropped players, damaged reputation), and much of it is irreversible.
- "Point DNS at a solution that is not ready yet": you cut DNS but did not wire return-path correctly, taking the service down longer on purpose.
- "Assume a CDN makes me safe": a normal CDN's basic protection has limited bandwidth and still collapses under terabit-scale amplification — and if the origin is exposed, the CDN is pointless.
Summary: save this path to your runbook
Under attack, run it in order: confirm → hide the origin IP, DNS resolves only to protection nodes → enable CDN and rate limits, degrade gracefully → onboard professional scrubbing fast. For real outcomes, see Customer Cases; for choosing a plan, read Free or DIY DDoS Protection vs Professional, or contact us for 7×24 expert help — when an attack is live, having someone who can carry the load matters more than anything.