Skip to content

Commit 6f7a0be

Browse files
Dougs Updates for the RabbitMQ LP techreview
1 parent dcd8bea commit 6f7a0be

13 files changed

Lines changed: 91 additions & 49 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
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
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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 will learn how to create a Firewall Rule within Google Cloud Console. For this learning path, we need 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+
For this learning path, we need to expose TCP port 15672. To accomplish this, we first need to create a firewall rule.
20+
- Navigate to the [Google Cloud Console](https://console.cloud.google.com/).
21+
- Go to **VPC Network > Firewall** and press **Create firewall rule**.
22+
23+
![Create a firewall rule](images/firewall-rule.png "Create a firewall rule")
24+
25+
- Next, we create the firewall rule that will expose TCP port 15672 for our learning path.
26+
- Set the "Name" of the new rule to "allow-tcp-15672"
27+
- Select your network that you intend to bind to your VM (default is "autoscaling-net" but your organization might have others that you need to use)
28+
- Direction of traffic should be set to "Ingress"
29+
- Allow on match should be set to "Allow" and the "Targets" should be set to "Specified target tags".
30+
- Enter "allow-tcp-15672" to the "Target tags" text field
31+
- Set the "Source IPv4 ranges" text value to "0.0.0.0/0"
32+
33+
![Create a firewall rule](images/network-rule.png "Creating the TCP/15672 firewall rule")
34+
35+
- Lastly, we select "Specified protocols and ports" under the "Protocols and ports" section
36+
- Select the "TCP" checkbox
37+
- Enter "15672" in the "Ports" text field
38+
- Press "Create"
39+
40+
![Specifying the TCP port to expose](images/network-port.png "Specifying the TCP port to expose")
41+
42+
Our network firewall rule is now created so we 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

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Install RabbitMQ
3-
weight: 4
3+
weight: 5
44

55
### FIXED, DO NOT MODIFY
66
layout: learningpathall
@@ -126,19 +126,16 @@ sudo rabbitmqctl set_permissions -p / admin ".*" ".*" ".*"
126126

127127
**Log in to Management UI**
128128

129+
Now, let’s test it from outside the VM. Open a web browser on your LOCAL machine (Chrome, Firefox, Edge, etc.) and enter the following URL and credentials in the address bar:
130+
129131
- **URL**: http://<VM_IP>:15672
130132
- **Username**: admin
131133
- **Password**: StrongPassword123
132134

133-
This is the production-safe approach.
134-
135-
Now, let’s test it from outside the VM. Open a web browser on your local machine (Chrome, Firefox, Edge, etc.) and enter the following URL in the address bar:
136-
137-
```console
138-
[http://<YOUR_VM_PUBLIC_IP>/info.php](http://<VM_IP>:15672)
139-
```
140-
- Replace `<VM_IP>` with the public IP of your GCP VM.
135+
Replace `<VM_IP>` with the public IP of your GCP VM.
141136

142137
If everything is set up correctly, you will see a RabbitMQ login page in your browser. It looks like this:
143138

144139
![RabbitMQ page alt-text#center](images/rabbitmq.png "Figure 1: RabbitMQ Login page")
140+
141+
This confirms that your RabbitMQ management dashboard is operational.

0 commit comments

Comments
 (0)