Passer au contenu

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 réponse
2
Réponse acceptée

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
répondu il y a un an
EXPERT
vérifié il y a un an
EXPERT
vérifié il y a un an

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.