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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则