Part 3- Google Cloud Platform Guide

 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.

[feature] open port from vpc network google cloud platform

Step 5: Open Port from VPC Networks

On the navigation menu on the left, scroll down and go to 

  1. Networking section -> VPC network – > VPC networks.
  2. Go to firewall details and click on the default-allow-http.
  3. Click on the Edit link.
  4. Choose All instances in the network from the Targets dropdown.
  5. Source filter should be selected to IP ranges.
  6. Select Allow all from Protocols and ports and click save.
open port from vpc network google cloud platform
click the picture to zoom it
At the end you will see the result like this,

[post_ads]

Step 6: Run Commands on the Ubuntu VM

Step 1: Go to Compute Engine->VM instances from the navigation menu. You will see the VM instance we created earlier.

Step 2: Now, select Open in browser window from the Connect dropdown.

Step 3: You will see a new window like the one below. It may take a few seconds to connect to the VM.

Step 4: Once the connection is done, this screen opens.
Run Commands on the Ubuntu VM
click to zoom pics

Step 5: Now, we will run the command sudo apt-get update.
Sudo is the command to get admin rights temporarily on the VM. We will get the software package update by executing the above command.
Run Commands on the Ubuntu VM


Step 6: Once the command is executed and update completes, you should view the below screen.
Run Commands on the Ubuntu VM 4

Step 7: Now, we will install JDK 8 on the VM with the command:
sudo apt-get install software-properties-common && \
sudo add-apt-repository ppa:webupd8team/java -y && \
sudo apt-get update && \
sudo apt-get install oracle-java8-installer -y && \
sudo apt-get install oracle-java8-set-default
Run Commands on the Ubuntu VM 5
Step 8: Once the command is executed, we run the java -version command to check the version of JDK installed.
Run Commands on the Ubuntu VM 6

Step 9: Now, we will install Maven on the VM with the following command:
sudo apt-add-repository ppa:andrei-pozolotin/maven3 && \
sudo apt-get update && \
sudo apt-get install maven
Now, the VM is ready with JDK and Maven installed.
Run Commands on the Ubuntu VM 7
[post_ads_2]
[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.


Reference: 
https://www.devopsuniversity.org/google-cloud-platform-setup-guide/
https://cloud.google.com/docs

COMMENTS

Name

android,1,business,19,celebrity,4,cloud,25,coding,1,Education,60,Entertain,11,Finance,16,Gaming,8,healthy,9,insurance,1,ios,2,javascript,3,kpop,1,Lifestyle,27,linux,6,mac os,1,math,1,movie,4,music,5,News,3,parenting,6,phone,2,recipe,1,SEO,3,Sport,4,Tech,34,tips,2,windows,1,
ltr
item
enCek: Part 3- Google Cloud Platform Guide
Part 3- Google Cloud Platform Guide
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitHlzI5CbLSc4VIMDErn4EYEWferCo6GNOU3nxUAghlA7l4FAwLamyr3Go6W6sCYVvAX8_WQvX6I1cWFRkBSTdx1fHKehUeYCeoBZ7q3I0Uu8RGB8HW7Zxf3e1Xve6FoNlnyGVx-CRE0QaZTh-VafEpszBVW_9EECcewLbnPn9NoCPbRkPBMwwT8P7IL4/w320-h181/4-41095_transparent-cloud-vector-png-cloud-server-icon-png.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitHlzI5CbLSc4VIMDErn4EYEWferCo6GNOU3nxUAghlA7l4FAwLamyr3Go6W6sCYVvAX8_WQvX6I1cWFRkBSTdx1fHKehUeYCeoBZ7q3I0Uu8RGB8HW7Zxf3e1Xve6FoNlnyGVx-CRE0QaZTh-VafEpszBVW_9EECcewLbnPn9NoCPbRkPBMwwT8P7IL4/s72-w320-c-h181/4-41095_transparent-cloud-vector-png-cloud-server-icon-png.png
enCek
https://en.cekrisna.com/2023/06/part-3-google-cloud-platform-guide.html
https://en.cekrisna.com/
https://en.cekrisna.com/
https://en.cekrisna.com/2023/06/part-3-google-cloud-platform-guide.html
true
7896735586237684417
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content