Testing and tuning high-level steps
This section provides a checklist of the steps for testing changes to your web ACL, including any rules or rule groups that it uses.
Note
To follow the guidance in this section, you need to understand how to create and manage Amazon WAF protections like web ACLs, rules, and rule groups. That information is covered in earlier sections of this guide.
To test and tune your web ACL
Perform these steps first in a test environment, then in production.
-
Prepare for testing
Prepare your monitoring environment, switch your new Amazon WAF protections to count mode for testing, and create any resource associations that you need.
-
Monitor and tune in test and production environments
Monitor and adjust your Amazon WAF protections first in a test or staging environment, then in production, until you're satisfied that they can handle traffic as you need them to.
-
Enable your protections in production
When you're satisfied with your test protections, switch them to production mode, clean up any unnecessary testing artifacts, and continue monitoring.
After you've finished implementing your changes, continue monitoring your web traffic and protections in production to make sure that they're working as you want them to. Web traffic patterns can change over time, so you might need to adjust the protections occasionally.