How to work around AWS WAF's number of rate-based rules per rule group quota?

0

I'm trying to create rule groups in AWS WAF, but I'm running into an issue with rate limiting rules. Whenever I try to add more than 4 rate-based rules to a single group, I get the following error:

WAFLimitsExceededException: AWS WAF couldn’t perform the operation because you exceeded your resource limit NUM_RATEBASED_STATEMENT_IN_RULE_GROUP

Is there any way to work around this so I can keep similar rules grouped together?

1 Answer
2
Accepted Answer

There's currently a quota of 4 rate-based rules per rule group. You can find this information in the official documentation: https://docs.aws.amazon.com/waf/latest/developerguide/limits.html

As a workaround, you'll need to create multiple rule groups and distribute your rate limiting rules across them. You can still group rules with similar characteristics together, even if they're not all in the same rule group.

AWS
Piotrek
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions