story
Cloudflare offers all of that as a service: https://www.cloudflare.com/ddos/
You can reduce the effectiveness of DDOS in other ways, but there's only so much you can do when you're limited to a few servers with limited bandwidth. Ultimately the only way to weather a large, brute force DDOS is by having enough capacity to service all incoming requests, which is something a CDN helps provide.