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
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/envoy-gcp/baseline-testing.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,6 @@ The test confirms the following:
26
26
27
27
Using a text editor, create a file named `envoy_config.yaml` and add the following content as shown below.
28
28
29
-
This configures Envoy to listen on port **10000** and forward all traffic to `http://httpbin.org`. The `host_rewrite_literal` is required to prevent `404 Not Found` from the upstream server.
30
-
31
-
32
29
```yaml
33
30
static_resources:
34
31
listeners:
@@ -75,6 +72,11 @@ static_resources:
75
72
address: httpbin.org
76
73
port_value: 80
77
74
```
75
+
76
+
## Explanatory notes on the configuration
77
+
78
+
This configures Envoy to listen on port **10000** and forward all traffic to `http://httpbin.org`. The `host_rewrite_literal` is required to prevent `404 Not Found` from the upstream server.
79
+
78
80
- **Listeners:** Envoy accepts incoming HTTP requests on port **10000** of your VM.
79
81
- **HTTP Connection Manager:** Processes incoming requests, and applies routing.
80
82
- **Routing:** All traffic is routed to the `service_httpbin` cluster, with the `Host` header rewritten to `httpbin.org`.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/envoy-gcp/benchmarking.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,20 +8,20 @@ layout: learningpathall
8
8
9
9
## How to run Envoy benchmarks with Siege on Arm64 in GCP
10
10
11
-
**Siege** is a lightweight HTTP load testing and benchmarking tool that simulates concurrent users making requests to a target service. It is useful for Envoy benchmarking because it measures availability, throughput, response time, and failure rates under load, thus helping evaluate Envoy’s performance as a proxy under real-world traffic conditions.
11
+
Siege is a lightweight HTTP load testing and benchmarking tool that simulates concurrent users making requests to a target service. It is useful for Envoy benchmarking because it measures availability, throughput, response time, and failure rates under load, thus helping evaluate Envoy’s performance as a proxy under real-world traffic conditions.
12
12
13
13
Follow the steps outlined to run Envoy benchmarks using Siege.
You have now successfully built and installed Siege on your Arm-based machine.
35
35
36
-
37
-
3. Verify installation
36
+
Verify installation:
38
37
39
38
```console
40
39
siege --version
41
40
```
42
-
This checks if Siege is installed properly and shows the version number.
41
+
This checks if Siege is installed properly and shows the version number:
43
42
```output
44
43
SIEGE 4.1.6
45
44
@@ -51,15 +50,15 @@ FOR A PARTICULAR PURPOSE.
51
50
## Envoy benchmarking
52
51
53
52
54
-
1.To start, make sure Envoy is up and running with your config file (listening on port 10000):
53
+
To start, make sure Envoy is up and running with your config file (listening on port 10000):
55
54
56
55
57
56
```console
58
57
envoy -c envoy_config.yaml --base-id 1
59
58
```
60
59
This runs the Envoy proxy with your configuration file (envoy_config.yaml) so it can start listening for requests.
61
60
62
-
2.On another terminal, verify that Envoy is running as expected with curl:
61
+
On another terminal, verify that Envoy is running as expected with curl:
63
62
64
63
65
64
```
@@ -150,7 +149,7 @@ Results from the earlier run on the `c4a-standard-4` (4 vCPU, 16 GB memory) Arm6
150
149
### Envoy performance benchmarking comparison on Arm64 and x86_64
151
150
When you compare the benchmarking performance results between the two instance types with the same vCPUs, you will notice that on the Google Axion C4A Arm-based instances:
152
151
153
-
- You have more successful transactions, fewer failures.
You have successfully learned how to use Siege to benchmark Envoy on your Arm-based Axion Google cloud instance, validating both performance and reliability against similar x86 instances.
155
+
You have successfully learned how to use Siege to benchmark Envoy on your Arm-based Axion Google cloud instance, validating both performance and reliability against similar x86_64 instances.
Copy file name to clipboardExpand all lines: content/learning-paths/servers-and-cloud-computing/envoy-gcp/instance.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,16 +17,15 @@ For support on GCP setup, see the Learning Path [Getting started with Google Clo
17
17
## Provision a Google Axion C4A Arm VM in Google Cloud Console
18
18
19
19
To create a virtual machine based on the C4A instance type:
20
-
1. Navigate to the [Google Cloud Console](https://console.cloud.google.com/).
21
-
2. Go to **Compute Engine > VM Instances** and select **Create Instance**.
22
-
3. Under **Machine configuration**:
23
-
-Enter details such as **Instance name**, **Region**, and **Zone**.
20
+
- Navigate to the [Google Cloud Console](https://console.cloud.google.com/).
21
+
- Go to **Compute Engine > VM Instances** and select **Create Instance**.
22
+
- Under **Machine configuration**:
23
+
-Populate fields such as **Instance name**, **Region**, and **Zone**.
24
24
- Set **Series** to `C4A`.
25
-
- Select a machine type such as `c4a-standard-4`.
25
+
- Select `c4a-standard-4` for machine type.
26
26
27
-

27
+

28
28
29
-
4. Under **OS and Storage**, select **Change**, then choose an Arm64-based OS image.
30
-
For this Learning Path, use **Red Hat Enterprise Linux 9**. Ensure you select the **Arm image** variant. Click **Select**.
31
-
5. Under **Networking**, enable **Allow HTTP traffic**.
32
-
6. Click **Create** to launch the instance.
29
+
- Under **OS and Storage**, select **Change**, then choose an Arm64-based OS image. For this Learning Path, use **Red Hat Enterprise Linux 9**. Ensure you select the **Arm image** variant. Click **Select**.
30
+
- Under **Networking**, enable **Allow HTTP traffic**.
0 commit comments