|
| 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 | + |
| 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 | + |
| 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 | + |
| 41 | + |
| 42 | +Our network firewall rule is now created so we can continue with the VM creation! |
0 commit comments