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

gefragt vor 4 Jahren1008 Aufrufe
3 Antworten
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

beantwortet vor 4 Jahren
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 ?

beantwortet vor 4 Jahren
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.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen