I'm using CloudFront to host a number of files for a web application. Some of these files are ~ 20MB. What can I do to mitigate the risk of a massive bandwidth bill if someone set up a script to request these files repetitively?
You could set up Splunk to pull all your logs together, calculate bandwidth, and then make email alerts for when you hit various thresholds.<p>It might help to firewall out BOGOB IPs and known malicious IPs. These lists have to be actively maintained on the firewall.<p>mod_qos prevents some abuse:
<a href="http://opensource.adnovum.ch/mod_qos/" rel="nofollow">http://opensource.adnovum.ch/mod_qos/</a>