rising3월 22일· 2 sources

AWS WAF Rate Limiting Based on Origin Response

AWS WAF 오리진 응답 기반 요청 속도 제한

Why it matters

The article presents a hybrid approach combining AWS WAF rate limiting with Lambda@Edge to protect CloudFront-served S3 static files from automated crawling without blocking legitimate users. A soft WAF threshold uses Count action with a custom header flag, a hard threshold blocks heavy attacks outright, and a Lambda@Edge origin-response trigger checks both the flag and the HTTP status to selectively return 429 responses only for rate-exceeded requests that hit non-existent URLs.

2
Sources
+0
24h
Growth
183d
Active
algorithmapiatpaws wafcloudfrontfixed windowlambda@edgenode.jsrate limitingsliding window

Sources

Related Issues