You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 29, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/step-2.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,17 @@ Here is a sample of changed file:
45
45
```
46
46
47
47
### 2.1.3 Testing the new rules
48
-
Let's test your HTTP flood protection. We will use [Apache AB](https://httpd.apache.org/docs/2.4/programs/ab.html).
49
48
50
-
> ⚠️ **Warning**: Do not run the benchmarking tool from your local machine!
49
+
To test the HTTP Flood protection you customised earlier in this step, you will generate a large number of requests. The Flood Protection should add the source IP of the requests to a deny list.
51
50
52
-
We will use [Systems Manager Session Manager](https://console.aws.amazon.com/systems-manager/session-manager/start-session) to connect to the instance and run the `ab` benchmarking tool.
51
+
We will use [Apache AB](https://httpd.apache.org/docs/2.4/programs/ab.html).
52
+
Apache AB is a tool for benchmarking a web server. You will use it to generate a specified number of HTTP requests against your sample Application
53
+
54
+
> ⚠️ **Warning**: Do not run the benchmarking tool from your local machine! \
55
+
> Doing so will generate a large amount of traffic on your local network. \
56
+
> Use the EC2 instance of the Sample Web App to perform the requests against the external endpoint.
57
+
58
+
You will use [Systems Manager Session Manager](https://console.aws.amazon.com/systems-manager/session-manager/start-session) to connect to the instance and run the `ab` benchmarking tool. Apache AB is pre-installed on the instance.
53
59
54
60
Run against your endpoint 50,000 requests, with concurrency 100.
0 commit comments