Introduction to Google Cloud Platform

History of GCP

Lynn Langit said about Google Cloud

Google Cloud is such a developer-focused cloud. You code everything first, and then the tools come later, if even. Even though their cloud is really powerful and really scalable, that is just not the paradigm. Whereas AWS is a DevOps cloud and I think that being of the driver of their success.

Google Cloud also recruit Site Reliability Engineer. Site Reliability Engineers create software that improves the reliability of systems in production, fixing issues, responding to incidents, and usually taking on-call responsibilities. Google Provide Free access to Site Reliability Engineer’s E-Book and start learning today.

Google Cloud Core Principle for Google DataCenter

Google Cloud Physical Infrastructure

Source: Google Cloud

The location which is in the blue pinned locations in the region that has four zones in them.



Google Cloud Pricing


GCP Services

Right now, it's very hard or can be boring to cover all the GCP Services, let's focus on computing services for now.

Compute Services

Google Compute Engine

Google Kubernetes Service

Google App Engine

Google Functions

Hands-on: Exploring Google Compute Engine

You have three ways to create a virtual machine

  1. Create using Google Cloud Console.
  2. Create using the “gcloud” command-line tool.
  3. Create using Compute Engine REST API

In this blog, we will create the virtual machine using Google Cloud Console, and secondly, we will do it using gcloud through which we can easily create the instance using Google Cloud Shell.

once you click you will see this

As you can see here, you can specify the name of the instance that you want to create. Specify the zone in which you want to create this instance. You can select the machine type that you want to use for your instance. There are numerous machines available from which you can select depending upon your requirement. You can even customize and create your machine type.

You can also choose the boot disk that you want to use to boot this virtual machine from.

From Firewall, Select the HTTP/HTTPS. Furthermore, you can select the service account which will be used by this instance. Don’t worry about the service account right now, just think of it as a way for Google Cloud Platform to identify and authorize your virtual machine in case it wants to communicate with other services of GCP. Now, to allow incoming and outgoing traffic, we have firewall rules and those are applied to Virtual Machines using tags. Review your changes and then click on create button.

Now let's install the Nginx server to this machine, for this, you need to click on the SSH. After connecting to the machine, use the following command to switch to the root user.

sudo su -

then update the Debian system using the following command

apt-get update

to install the Nginx use the following command

apt-get install nginx -y

once the installation is done, check if Nginx is running using

ps auwx | grep nginx

now switch back to the Compute Engine and copy your external IP and open it to your browser

Creating Machine Using Cloud Shell

You can config your Google project ID using this command

gcloud config set project [PROJECT_ID]

after this use this command to create the machine

gcloud compute instances create instance-2 --zone us-central1-c

So it creates the machine using Cloud shell

Learning GCP



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store