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

demandé il y a 4 ans1008 vues
3 réponses
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

répondu il y a 4 ans
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 ?

répondu il y a 4 ans
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.

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions