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

posta 4 anni fa1008 visualizzazioni
3 Risposte
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

con risposta 4 anni fa
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 ?

con risposta 4 anni fa
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.

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande