I'm planning to host a website on AWS, and while I can handle the hosting costs, I'm really worried about the risk of DDoS attacks. My site features a map, and I can see how it might provoke some aggressive reactions regarding borders, like the ones between Russia and Ukraine. I'm concerned that a DDoS attack could skyrocket my costs, especially since WAF fees can add up quickly for blocked requests. Is there a viable way to protect my project from such risks without having to spend a fortune on services like Shield Advanced?
5 Answers
Instead of relying solely on AWS, using Cloudflare as a proxy can be a smart move. Their free features can help shield your site from DDoS attacks and are easy to set up.
AWS WAF does have some DDoS protection features you can utilize. You should consider setting up rate limits with the API Gateway or using metric alarms to take your site offline if you hit a dangerous traffic level. Also, you can try hosting on Lambda with limited reserved concurrency to further mitigate risk.
That sounds like a solid plan! It's essential to stay proactive with traffic management.
While it's true that hosting on AWS can come with risks, implementing WAF and API Gateway with strict limits is a good strategy. Just remember, if you end up targeted, it's still a compliment to your work! You can always address DDoS issues as they come up.
One great option is to host your site on AWS but use Cloudflare for added protection. Cloudflare's free tier actually offers DDoS protection and can handle rate limiting, which could save you from those unexpected spikes in traffic.
If your site is static and served via CloudFront, the risk of a DDoS attack could be significantly reduced. Just make sure to keep an eye on your configurations.

Absolutely, Cloudflare can really ease the burden on your AWS setup.