How to avoid from being getting costed for API gateway in case of DDOS attack

0

I wanted to have a hard configuration on the number of requests that the API gateway should serve and once we reach that, we should not even get costed for API gateway, how can this be implemented?

1 個回答
0

If you want to set a hard limit for requests then set a quota limit https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-api-usage-plans.html#api-gateway-api-usage-plans-overview

A quota limit sets the target maximum number of requests with a given API key that can be submitted within a specified time interval.

Also take a look at usage plans https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-create-usage-plans-with-console.html#api-gateway-usage-plan-create

Note that API Gateway includes DDOS protection https://aws.amazon.com/api-gateway/faqs/#Security_and_Authorization

API Gateway automatically protects your backend systems from distributed denial-of-service (DDoS) attacks, whether attacked with counterfeit requests (Layer 7) or SYN floods (Layer 3)

profile picture
專家
Steve_M
已回答 9 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南