Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.

Commit bd5727d

Browse files
committed
Add description of Apache AB and its use
1 parent b52fa42 commit bd5727d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/step-2.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,17 @@ Here is a sample of changed file:
4545
```
4646

4747
### 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).
4948

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.
5150

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.
5359

5460
Run against your endpoint 50,000 requests, with concurrency 100.
5561
```bash

0 commit comments

Comments
 (0)