DDoS protection is a layered availability strategy for keeping public applications reachable when hostile traffic exhausts network capacity, connection state, or application resources. For a small team, the practical order is to reduce unnecessary exposure, understand what upstream protection exists, protect expensive application routes, rate-limit abuse, monitor normal traffic, and prepare a short response plan before an incident.
For workloads on Raff Technologies, the important buying question is not simply whether a provider says “DDoS protected.” Teams should understand what the protection covers, which attacks still require application controls, what happens during mitigation, and how quickly they can reach support when traffic becomes abnormal.
DDoS protection at a glance
| Risk | Primary pressure | First protection layer |
|---|---|---|
| Volumetric attack | Network capacity | Upstream DDoS mitigation |
| Protocol attack | Connection or network state | Layer 3/4 filtering and connection controls |
| Application-layer attack | HTTP/API/application resources | WAF, rate limits, caching, endpoint hardening |
| Bot-driven abuse | Login, signup, search, APIs | Identity, rate limits, bot controls, application rules |
| Multi-vector attack | Several layers | Layered mitigation plus observability and response |
A firewall is useful but is not a complete DDoS service. More server capacity is useful but is not a complete DDoS strategy. The defense must match the resource the attack is exhausting.
What DDoS protection actually does
A denial-of-service attack tries to make a service unavailable. A distributed denial-of-service attack uses many traffic sources or systems to create that pressure.
CISA groups common DDoS techniques around network-resource overload, protocol-resource overload, and application-resource overload. That distinction matters because each category reaches a different bottleneck.
A small team should begin with an exposure map:
| Public surface | Why availability matters | Typical DDoS concern |
|---|---|---|
| Marketing website | Leads and trust | Network or HTTP flood |
| SaaS application | Customer workflows | Login, dashboard, database-backed routes |
| Public API | Product integrations | Request rate and backend pressure |
| Admin panel | Operational control | Unnecessary public exposure and auth abuse |
| Game/real-time service | User experience | Connection stability and latency |
| Upload endpoint | Processing and storage | Bandwidth and expensive backend work |
The first question is therefore not “which appliance should we buy?” It is which public service must remain usable, and what resource fails first when traffic spikes?
DDoS mitigation vs prevention
“DDoS prevention” is common search language, but no internet-facing system should be designed around the assumption that malicious traffic can always be prevented from arriving.
Mitigation is the more useful operating model. It means detecting, filtering, absorbing, rate-limiting, degrading, or otherwise reducing the impact of attack traffic so legitimate users can continue to use the service.
A good mitigation plan has multiple layers:
- Reduce unnecessary public exposure.
- Filter or absorb hostile network traffic upstream.
- Control connections and protocols.
- Protect HTTP and API endpoints.
- Reduce the cost of expensive requests.
- Detect abnormal behavior quickly.
- Preserve a degraded but usable customer path where possible.
- Recover normal rules deliberately after the event.
Volumetric, protocol, and Layer 7 DDoS are different problems
Volumetric attacks
Volumetric attacks try to consume network capacity. If traffic saturates the path before reaching your VM, a local firewall rule cannot restore bandwidth that is already exhausted. This is where upstream mitigation capacity matters most.
Protocol attacks
Protocol attacks pressure network or transport state such as connection tracking and intermediary resources. Layer 3/4 filtering, sensible connection controls, and upstream mitigation are relevant here.
Application-layer DDoS
Application-layer or Layer 7 attacks target behavior the application intentionally exposes. Requests can look syntactically valid while repeatedly triggering expensive work.
Common targets include:
- login and authentication;
- search and filtering;
- uncached dynamic pages;
- report generation;
- uploads;
- public APIs;
- endpoints that trigger database or third-party API work.
This is why a provider’s network DDoS protection and your application security are complementary. Upstream mitigation cannot know every business rule inside your application.
Is DDoS protection worth it for a small business?
It is worth planning for when an internet-facing service supports revenue, customers, operations, or reputation. The amount of protection should follow business impact rather than company size.
| Workload | Impact if unavailable | Practical posture |
|---|---|---|
| Hobby/dev service | Low | Limit exposure and keep recovery simple |
| Marketing site | Medium | Caching/CDN where appropriate, upstream protection, monitoring |
| Customer SaaS | High | Upstream protection plus Layer 7 controls and response plan |
| Public API | High | Auth, quotas/rate limits, upstream mitigation, monitoring |
| Public admin panel | Potentially critical | Prefer restricted/private access rather than broad exposure |
| Revenue-critical real-time service | High | Network mitigation, latency monitoring, capacity and incident planning |
A ten-person company can have a more important availability requirement than a much larger organization if one public application carries most of its revenue.
What to look for in a DDoS protection service
Teams comparing DDoS protection services or DDoS mitigation services should compare providers on the details behind those labels rather than on the label itself.
Ask prospective providers:
| Question | Why it matters |
|---|---|
| Is protection always on or activated after detection? | Changes time-to-mitigation and operating model |
| Which layers are covered? | Network mitigation and Layer 7 protection are different capabilities |
| Is mitigation included with the server or separately billed? | Affects total cost and surprise risk |
| Are there traffic or mitigation limits? | Clarifies what happens during a large event |
| What happens to legitimate traffic during mitigation? | Availability matters more than attack-volume marketing |
| Can I apply application-specific rules? | Needed for expensive HTTP/API routes |
| What telemetry is available? | Helps classify incidents and tune controls |
| How do I reach technical support during an attack? | Critical when automated controls are not enough |
| What should I configure myself? | Clarifies the shared-responsibility boundary |
Do not choose a cloud solely because a product page uses “DDoS protection.” The operational details determine whether the service matches your workload.
DDoS-protected VPS or cloud VM: what should you verify?
Searches such as VPS DDoS protection and DDoS protection server often come from buyers comparing hosting providers. The useful distinction is between infrastructure-level protection and application-level resilience.
For a VM or VPS, verify:
- what upstream network protection is included;
- whether public IP traffic is covered automatically;
- whether there are attack-related traffic charges or limits;
- whether mitigation can affect legitimate connections;
- whether you can restrict unnecessary ports;
- whether private networking is available for internal services;
- whether application-layer protection must be implemented separately;
- what support path exists during an active event.
For Raff workloads, use the live cloud VM and pricing pages for current infrastructure and commercial details rather than relying on old plan values embedded in a security guide.
Firewalls reduce exposure, but they do not replace DDoS mitigation
A firewall should expose only the services the internet actually needs.
For example:
- a public web server may need 80/443;
- SSH or RDP should be restricted rather than exposed broadly where possible;
- databases usually should not be directly public;
- internal application services can use private networking.
See Cloud Firewall Rules Explained for the exposure model.
But if hostile traffic targets port 443—the service you must keep open—the answer cannot simply be “close port 443.” And if the network path is already saturated, local packet filtering is too late to restore that capacity.
Use the firewall to reduce attack surface. Use upstream mitigation for network-scale attacks. Use application controls for requests that must be allowed through the network layer.
Protect expensive application routes
Layer 7 defense starts by identifying requests whose server-side cost is much larger than the client-side cost of sending them.
Examples include:
| Endpoint | Potential pressure | Useful controls |
|---|---|---|
| Login | Auth/database work | Per-account/IP limits, bot controls, MFA/account protection |
| Search | Expensive queries | Caching, query limits, endpoint-aware rate limits |
| Reports | CPU/database jobs | Queueing, authorization, quotas |
| Upload | Bandwidth/storage/processing | Auth, size limits, quotas, async processing |
| Public API | Backend work | API keys, customer quotas, rate limits |
| Dynamic page | Repeated app/database work | Cache safe responses, WAF/rate rules |
The goal is not to make every endpoint equally restrictive. It is to make hostile traffic more expensive for the attacker than for your infrastructure.
Rate limiting should follow the endpoint
One global request limit is usually too crude.
A normal user may legitimately make many static requests while a handful of expensive report requests can create much more backend pressure. Rate limits should therefore reflect identity, route, request cost, and expected behavior.
Useful dimensions can include:
- IP address;
- authenticated user;
- API key or customer;
- route;
- action type;
- request cost;
- time window.
Rate limiting is also not a substitute for upstream mitigation. If an attack can saturate the network before requests reach your rate limiter, the application never gets the chance to enforce the rule.
Filter before scaling hostile traffic
Scaling is valuable for legitimate growth. It is not a substitute for classifying traffic.
Adding servers can help when a real product launch or customer event creates useful demand. During an attack, blindly adding capacity can increase the amount of hostile traffic you process and push pressure downstream to databases, queues, storage, or external APIs.
A better order is:
- identify the constrained layer;
- filter or rate-limit known hostile behavior;
- protect downstream dependencies;
- scale the remaining legitimate workload when capacity is genuinely needed.
For capacity decisions, see Auto-Scaling VM Planning.
Use private networking to remove internal services from the public attack surface
Not every service needs a public IP path.
Application servers may need public ingress, while databases, caches, internal APIs, or management services can often communicate over private networking. Reducing public exposure does not stop attacks against the public edge, but it removes unnecessary targets and simplifies the security model.
Raff VPC can be used for private service-to-service networking where appropriate. The application still needs authentication and authorization; private networking is a network boundary, not an identity system.
Observability is part of DDoS protection
A traffic spike is not automatically an attack. A product launch, crawler, integration bug, retry storm, or customer workload can create unusual traffic too.
During an incident, useful signals include:
- request rate by route;
- error rate;
- latency;
- network throughput;
- connection count;
- CPU and memory;
- database load;
- cache hit rate;
- queue depth;
- source and request-pattern changes.
The most valuable baseline is normal behavior. If you know normal weekday traffic, connection counts, and expensive routes, abnormal behavior is easier to classify.
See Application Observability for Small Teams.
Build a DDoS response plan before you need it
A DDoS response plan should be short enough to use during an incident.
1. Confirm customer impact
Check external reachability, error rate, latency, and critical user journeys. Do not assume every traffic spike is malicious.
2. Classify the pressure
Determine whether the bottleneck is network capacity, connection state, the web/application layer, or a downstream dependency.
3. Protect the critical path
Prioritize the customer workflows that must remain available. Restrict nonessential routes or features if they compete for the same resources.
4. Apply the appropriate mitigation
This may include upstream mitigation, firewall changes, WAF rules, rate limits, caching, endpoint restrictions, or temporary feature degradation.
5. Contact the provider when the problem is upstream
If traffic is saturating provider/network capacity or mitigation behavior is unclear, application tuning alone may not solve the incident. Have the provider’s support path ready before the event.
6. Communicate
Assign one owner for technical coordination and one communication path appropriate to the severity. Record major changes and timestamps.
7. Recover deliberately
Do not remove emergency rules all at once without checking whether attack traffic has actually stopped. Equally, do not leave temporary blocks in place indefinitely.
8. Review
Document the attacked layer, affected routes, controls that worked, false positives, time to detection, time to mitigation, and changes required before the next event.
For the broader process, see Server Incident Response for Small Teams.
Design a degraded mode
Availability does not have to be binary.
During abnormal traffic, a small team may preserve the most valuable customer path by temporarily reducing optional work.
| Feature | Possible degraded mode |
|---|---|
| Marketing pages | Serve cached content |
| Login | Stricter abuse controls |
| Search | Limit expensive filters |
| Reports | Delay generation |
| Uploads | Restrict size/frequency |
| Public API | Tighten quotas for abnormal clients |
| Admin access | Require private/restricted path |
The exact degraded mode depends on the product. Define it before an incident so responders are not inventing business priorities under pressure.
What Raff can and cannot solve for you
Raff can provide the infrastructure foundation for public workloads, including cloud VMs and private networking. The team running the application still owns application behavior, authentication, endpoint cost, rate limits, safe exposure, monitoring, and incident decisions.
That shared-responsibility boundary matters. A provider can mitigate traffic at infrastructure layers, but it cannot automatically know that one customer’s /reports/export route is safe at five requests per minute and dangerous at five hundred.
When evaluating Raff for a public workload:
- review the current Raff VM capabilities;
- use VPC for private service paths where appropriate;
- use Data Protection for recovery planning where appropriate;
- verify current commercial terms on pricing;
- if the workload has unusual DDoS exposure or attack history, define the provider requirements explicitly before deployment.