Billing on Api Gateway after Waf deny requests
0
I have enabled WAF on Api gateway and my backend is on Lambda. Suppose out of total 5K requests made , 4K requests are blocked by WAF. In case, Do I need to pay charge for 5K requests on Api gateway, 5 k requests on WAF and 5 k requests on Lambda in total?
Tags
asked 4 months ago19 views
2 Answers
0
No, since AWS WAF is deployed in front of API gateway - you don't need to pay for API GW And Lambda for blocked resources (as they simply do not reach API GW and Lambda)
answered 4 months ago
0
I would use the AWS Pricing Calculator to add all of the services in your architecture to get an estimate for monthly cost. https://calculator.aws/#/
answered 4 months ago
Relevant questions
Block very large requests to API Gateway
Accepted AnswerBilling on Api Gateway after Waf deny requests
asked 4 months agowaf didn't block requests if block condition matched for first time
asked 4 months agoRegional API Gateway and WAF
Accepted Answerasked 2 years agoApi Gateway with Lambda Integration Failure
asked 5 months agoBlock IP address permanently if WAF blocks IP programmatically
asked 3 months agoAPI Gateway access log still get requests blocked by WAF
asked 2 months agoProtect and secure http API GW
Accepted Answerasked 2 months agoControl billing for aws lambda by api hit through locust
asked 4 months agoDoes AWS Charge for Throttled requests ?
asked 2 years ago
As per below post, request first hits API gateway, then WAF is invoked if associated. https://aws.amazon.com/blogs/compute/troubleshooting-amazon-api-gateway-with-enhanced-observability-variables/