Does AWS Charge for Throttled requests ?

0

Hi,
I have question regarding request throttling. I want to put throttling limit on API Gateway and Lambda to avoid misuse of service (DDoS). Please clarify following

  • Does AWS charge for throttle requests ? e.g. And if throttled requests count towards usage ?

  • If API Gateway is protected with authentication , does amazon charge for failed authentication attempts ?

Regards,
Imran

已提問 4 年前檢視次數 1008 次
3 個答案
0

Take a look at this - https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-pricing.html

Does AWS charge for throttle requests ? e.g. And if throttled requests count towards usage ?
Throttled requests are not charged by API Gateway. Requests are throttled after they don't fall under the defined usage plan or the default account level quota. Please clarify what do you mean by "if throttled requests count towards usage ?"

If API Gateway is protected with authentication , does amazon charge for failed authentication attempts ?
No, API Gateway doesn't charge if authentication fails.

Edited by: ankitay-aws on Jun 18, 2020 10:01 AM

已回答 4 年前
0

Hi,
Thanks for your reply. I guess you have already answers the first part. I wanted to know if the request is throttled regardless within usage plan or not is counted towards billing , or if the request is failed authentication attempt.

The second part of the question is regarding lambda, which means if we set the concurrency on Lambda, and I assume any throttled requests are not charged in that case either ?

已回答 4 年前
0

Yes, API Gateway will bill the request if it ends up calling your backend integration and gets throttled. In your case, backend integration is the Lambda function.

已回答 4 年前

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

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

回答問題指南