In addition to the DOS protection mentioned in @ rudolph1024's answer, you can now enable a fully functional firewall (beta recently released) to protect your GAE application.
From the App Engine firewall :
The App Engine firewall allows you to control access to your Engine application by using a set of rules that can allow or deny requests from specified IP ranges.
Create a firewall for:
Allow only traffic from a specific network
Make sure that only a certain range of IP addresses from certain networks can access your application. For example, create rules that allow a range of IP addresses from your private network in your company during the testing phase of your application. You can then create and modify your firewall rules to control the amount of access throughout the release process, allowing only certain organizations, companies or from the outside to access your application because it is publicly available.
Allow traffic from a specific service only
Make sure that all traffic for your App Engine application is first proxied through a specific service. For example, if you use a third-party web application firewall (WAF) for proxy requests sent to your application, you can create firewall rules to reject all requests except those redirected from your WAF.
Block Invalid IP Addresses
While the Google Cloud Platform has many mechanisms to prevent various attacks, you can use the App Engine firewall as another mechanism to block your applicationโs traffic from IP addresses, which are malicious intentions.
You should use the App Engine firewall as a primary setting to protect your application from denial of service attacks or similar abuse. You can blacklist IP addresses or subnets so that requests redirected from these addresses and subnets are rejected before they reach the App Engine application.
For more information about creating rules and configuring a firewall, see Managing Application Access Using Firewalls .
The firewall is intended to replace DOS protection. From Denial of Service (DoS) :
Tip. Instead, you should use the App Engine firewall for strong protection, as well as advanced features, access, and management through the Cloud Platform Console, gcloud . admin tool and API.
You need to collect the IP ranges for the country in your particular case in order to configure the firewall.
source share