Skip to content

Commit 8e63e35

Browse files
Final tweaks
1 parent f882ca9 commit 8e63e35

File tree

4 files changed

+25
-25
lines changed

4 files changed

+25
-25
lines changed

content/learning-paths/servers-and-cloud-computing/envoy-gcp/baseline-testing.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ The test confirms the following:
2626

2727
Using a text editor, create a file named `envoy_config.yaml` and add the following content as shown below.
2828

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-
3229
```yaml
3330
static_resources:
3431
listeners:
@@ -75,6 +72,11 @@ static_resources:
7572
address: httpbin.org
7673
port_value: 80
7774
```
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+
7880
- **Listeners:** Envoy accepts incoming HTTP requests on port **10000** of your VM.
7981
- **HTTP Connection Manager:** Processes incoming requests, and applies routing.
8082
- **Routing:** All traffic is routed to the `service_httpbin` cluster, with the `Host` header rewritten to `httpbin.org`.

content/learning-paths/servers-and-cloud-computing/envoy-gcp/benchmarking.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ layout: learningpathall
88

99
## How to run Envoy benchmarks with Siege on Arm64 in GCP
1010

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

1313
Follow the steps outlined to run Envoy benchmarks using Siege.
1414

1515
## Install Siege (build from source)
1616

1717

18-
1. Install required build tools
18+
Install required build tools:
1919

2020
```console
2121
sudo dnf groupinstall -y "Development Tools"
2222
sudo dnf install -y wget make gcc
2323
```
24-
2. Download, extract and build Siege source
24+
Download, extract and build Siege source:
2525

2626
```console
2727
wget http://download.joedog.org/siege/siege-4.1.6.tar.gz
@@ -33,13 +33,12 @@ sudo make install
3333
```
3434
You have now successfully built and installed Siege on your Arm-based machine.
3535

36-
37-
3. Verify installation
36+
Verify installation:
3837

3938
```console
4039
siege --version
4140
```
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:
4342
```output
4443
SIEGE 4.1.6
4544
@@ -51,15 +50,15 @@ FOR A PARTICULAR PURPOSE.
5150
## Envoy benchmarking
5251

5352

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):
5554

5655

5756
```console
5857
envoy -c envoy_config.yaml --base-id 1
5958
```
6059
This runs the Envoy proxy with your configuration file (envoy_config.yaml) so it can start listening for requests.
6160

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:
6362

6463

6564
```
@@ -150,7 +149,7 @@ Results from the earlier run on the `c4a-standard-4` (4 vCPU, 16 GB memory) Arm6
150149
### Envoy performance benchmarking comparison on Arm64 and x86_64
151150
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:
152151

153-
- You have more successful transactions, fewer failures.
154-
- Lower response times, higher transaction rate, better throughput.
152+
- You have more successful transactions, fewer failures
153+
- Lower response times, higher transaction rate, better throughput
155154

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

content/learning-paths/servers-and-cloud-computing/envoy-gcp/deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pip3 install virtualenv
2727

2828
## Install Envoy (static Arm64 binary)
2929

30-
Download the Envoy binary; `-L` follows redirects:
30+
Download the Envoy binary. `-L` follows redirects:
3131

3232
```console
3333
sudo curl -L \

content/learning-paths/servers-and-cloud-computing/envoy-gcp/instance.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,15 @@ For support on GCP setup, see the Learning Path [Getting started with Google Clo
1717
## Provision a Google Axion C4A Arm VM in Google Cloud Console
1818

1919
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**.
2424
- Set **Series** to `C4A`.
25-
- Select a machine type such as `c4a-standard-4`.
25+
- Select `c4a-standard-4` for machine type.
2626

27-
![Create a Google Axion C4A Arm virtual machine in the Google Cloud Console with c4a-standard-4 selected alt-text#center](./image1.png "Google Cloud Console – creating a Google Axion C4A Arm virtual machine")
27+
![Create a Google Axion C4A Arm virtual machine in the Google Cloud Console with c4a-standard-4 selected alt-text#center](./image1.png "Creating a Google Axion C4A Arm virtual machine in Google Cloud Console")
2828

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**.
31+
- Click **Create** to launch the instance.

0 commit comments

Comments
 (0)