I’m considering developing an app for Google App Engine, which should not get too much traffic. I’d really rather not pay to exceed the free quotas. However, it seems like it would be quite easy to cause a denial of service attack by overloading the app and exceeding the quotas. Are there any methods to prevent or make it harder to exceed the free quotas? I know I could, for example, limit the number of requests from an IP (making it harder to exceed the CPU quota), but is there any way to make it harder to exceed the requests or bandwidth quotas?
I’m considering developing an app for Google App Engine, which should not get too
Share
There are no built-in tools to prevent DoS. If you are writing Google Apps using java then you can use the
service.FloodFilterfilter. The following piece of code will execute before any of your Servlets do.If you are using python, then you may have to roll your own filter.