Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Blocking IP Address by count.

Not applicable
How can IP address be block if and only if that IP address exceeds 100 requests in an hour. I need to put some kind of policy in API Pre Flow which will block any dynamic IP Address if that IP Adress makes more than 100 calls per hour to our API in enterprise.apigee.coI As Access Control policy block a particular IP Address, but how can I block a dynamic IP Address based upon the count of API Calls made by that IP Address?
Solved Solved
0 3 742
1 ACCEPTED SOLUTION

@Madhumita Kumari, You can use the quota policy configured as follows:
<Quota name="MyQuota">
  <Identifier ref="client.ip"/> 
  <Interval>1</Interval>
  <TimeUnit>hour</TimeUnit>
  <Allow count="100"/>
</Quota>

View solution in original post

3 REPLIES 3
Top Solution Authors