If you are in this page, make sure you have to do Tutorial for Google Cloud Platform Part 1 and Part 2 . So we can continue the tutorial...
If you are in this page, make sure you have to do Tutorial for Google Cloud Platform Part 1 and Part 2. So we can continue the tutorial now.
Step 5: Open Port from VPC Networks
On the navigation menu on the left, scroll down and go to
- Networking section -> VPC network – > VPC networks.
- Go to firewall details and click on the default-allow-http.
- Click on the Edit link.
- Choose All instances in the network from the Targets dropdown.
- Source filter should be selected to IP ranges.
- Select Allow all from Protocols and ports and click save.
![]() |
click the picture to zoom it |
Step 6: Run Commands on the Ubuntu VM
![]() |
click to zoom pics |
[SHKD-819 Saeko M mixdrop.co/f/1vxedd1qbe1z9w]
Step 7: Setup Firewall rules, for applications access on VMs
On your google cloud home page, top left corner click 3dash symbol as shown below,
You will see various services offered by google.
Now scroll down list of services until you see “VPC network” then click on it
It will pop up with various other services under compute engine as show below
Now click on “Firewall rules”
After clicking on Firewall rules it will show below screen
Now Click on CREATE FIREWALL RULE above to create a New rule.
Now you will see below screen follow the setting as highlighted in screenshot below
And click on Create Option at the bottom.
You will see the screen, this setting will enable the all traffic to all VM instances in the default network.
COMMENTS