Skip to content

Commit a1d1f33

Browse files
Merge pull request #2662 from DougAnsonAustinTX/rabbitmq_pr_techreview
Rabbitmq pr techreview including updates from GitHub Copilot
2 parents 2d0b434 + 1d71974 commit a1d1f33

14 files changed

Lines changed: 132 additions & 108 deletions

File tree

content/learning-paths/servers-and-cloud-computing/rabbitmq-gcp/background.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Google Axion C4A is a family of Arm-based virtual machines built on Google’s c
1212

1313
The C4A series provides a cost-effective alternative to x86 virtual machines while leveraging the scalability and performance benefits of the Arm architecture in Google Cloud.
1414

15-
To learn more about Google Axion, refer to the [Introducing Google Axion Processors, our new Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu) blog.
15+
To learn more about Google Axion, see the [Introducing Google Axion Processors, Arm-based CPUs](https://cloud.google.com/blog/products/compute/introducing-googles-new-arm-based-cpu) blog.
1616

1717
## RabbitMQ
1818

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: RabbitMQ Baseline Testing on Google Axion C4A Arm Virtual Machine
3-
weight: 5
3+
weight: 6
44

55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
@@ -15,7 +15,7 @@ The purpose of this baseline is to confirm:
1515
- Queue operations (create, publish, consume)
1616
- CLI tooling functionality (`rabbitmqctl` and `rabbitmqadmin`)
1717

18-
### Check RabbitMQ Node Status
18+
### Check RabbitMQ node status
1919
Verify that the RabbitMQ node is operational and healthy.
2020

2121
```console
@@ -26,7 +26,7 @@ sudo rabbitmqctl status
2626
- Listeners are active on ports 5672 and 15672
2727
- Memory and disk space are within safe limits
2828

29-
### Verify Enabled Plugins
29+
### Verify enabled plugins
3030
Confirm that the RabbitMQ management plugins are enabled.
3131

3232
```console
@@ -42,7 +42,7 @@ You should see an output similar to:
4242
[ ] rabbitmq_stream_management 4.2.0
4343
```
4444

45-
### Validate RabbitMQ Listeners
45+
### Validate RabbitMQ listeners
4646
Ensure RabbitMQ is listening on the required ports.
4747

4848
```console
@@ -58,7 +58,7 @@ Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI
5858
Interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
5959
```
6060

61-
### Download RabbitMQ Admin CLI Tool
61+
### Download RabbitMQ Admin CLI tool
6262
Download the rabbitmqadmin CLI tool from the local management endpoint.
6363

6464
```console
@@ -69,7 +69,7 @@ curl -u guest:guest http://localhost:15672/cli/rabbitmqadmin -o rabbitmqadmin
6969
```console
7070
chmod +x rabbitmqadmin
7171
```
72-
### Validate Queue Creation
72+
### Validate queue creation
7373
Create a test queue to validate write operations.
7474

7575
```console
@@ -81,7 +81,7 @@ You should see an output similar to:
8181
queue declared
8282
```
8383

84-
### Publish a Test Message
84+
### Publish a test message
8585
Send a test message to the queue.
8686

8787
```console
@@ -93,7 +93,7 @@ You should see an output similar to:
9393
Message published
9494
```
9595

96-
### Consume Message From Queue
96+
### Consume message from queue
9797
Retrieve messages from the queue to verify read functionality.
9898

9999
```console
@@ -109,7 +109,7 @@ You should see an output similar to:
109109
+-------------+----------+---------------+-------------+---------------+------------------+------------+-------------+
110110
```
111111

112-
### Verify Queue State
112+
### Verify queue state
113113
Confirm that the queue is empty after consumption.
114114

115115
```console
@@ -126,7 +126,7 @@ You should see an output similar to:
126126
| testqueue | 1 |
127127
```
128128

129-
Baseline Validation Summary
129+
### Baseline validation summary
130130

131131
- RabbitMQ node is running and healthy
132132
- The management plugin is enabled and accessible
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: Create a Firewall Rule on GCP
3+
weight: 3
4+
5+
### FIXED, DO NOT MODIFY
6+
layout: learningpathall
7+
---
8+
9+
## Overview
10+
11+
In this section, you create a Firewall Rule within Google Cloud Console to expose TCP port 15672.
12+
13+
{{% notice Note %}}
14+
For support on GCP setup, see the Learning Path [Getting started with Google Cloud Platform](https://learn.arm.com/learning-paths/servers-and-cloud-computing/csp/google/).
15+
{{% /notice %}}
16+
17+
## Create a Firewall Rule in GCP
18+
19+
To expose TCP port 15672, create a firewall rule.
20+
21+
Navigate to the [Google Cloud Console](https://console.cloud.google.com/), go to **VPC Network > Firewall**, and select **Create firewall rule**.
22+
23+
![Create a firewall rule](images/firewall-rule.png "Create a firewall rule")
24+
25+
Next, create the firewall rule that exposes TCP port 15672.
26+
Set the **Name** of the new rule to "allow-tcp-15672". Select your network that you intend to bind to your VM (default is "autoscaling-net" but your organization might have others).
27+
28+
Set **Direction of traffic** to "Ingress". Set **Allow on match** to "Allow" and **Targets** to "Specified target tags". Enter "allow-tcp-15672" in the **Target tags** text field. Set **Source IPv4 ranges** to "0.0.0.0/0".
29+
30+
![Create a firewall rule](images/network-rule.png "Creating the TCP/15672 firewall rule")
31+
32+
Finally, select **Specified protocols and ports** under the **Protocols and ports** section. Select the **TCP** checkbox, enter "15672" in the **Ports** text field, and select **Create**.
33+
34+
![Specifying the TCP port to expose](images/network-port.png "Specifying the TCP port to expose")
35+
36+
The network firewall rule is now created and you can continue with the VM creation.
75.2 KB
Loading
23.5 KB
Loading
22.3 KB
Loading
12.5 KB
Loading
136 KB
Loading
80.1 KB
Loading
159 KB
Loading

0 commit comments

Comments
 (0)