DEV Community

Sahul Kumar Parida
Sahul Kumar Parida

Posted on

Google Cloud SDK Qwik Start Redhat Centos

Baseline: Deploy & Develop
Lab 1

Google Cloud SDK: Qwik Start - Redhat/Centos
In this hands-on lab you will learn how to perform basic tasks in Cloud Storage using the gsutil command-line tool. For a short preview, watch Cloud SDK - Essential Command-Line Tools for Google Cloud Platform.
Before proceeding to the lab, lets first understand the terms:

  1. What is Google Cloud SDK? • Google Cloud SDK (Software Development Kit), in simple terms, is a set of tools that are used to manage applications and resources that are hosted on the Google Cloud Platform.

• It is composed of the gsutil, gcloud, and bqcommand line tools. The gcloudtool is automatically downloaded with the Cloud SDK.

• There are some stipulations or the system necessities for the installation of Google Cloud SDK.

• Google Cloud SDK run on specific platforms – Windows, Linux, and macOS and requires Python 2.7.x.

• Some specific tools within the Google Cloud SDK might have further necessities like Java tools used for the development of Google App Engine needs Java 1.7 or the later one.

There are four different ways for the installation of the Google Cloud SDK. As per the necessity, the user will choose any of the following to install Google Cloud Software Development Kit.
• Using Cloud SDK with scripts or continuous integration or continuous deployment – during this case, the user will install google cloud SDK by downloading a versioned archive for a non-interactive installation of a specific version of Cloud SDK.

• By running Red Hat Enterprise Linux 7/CentOS 7 – YUM is used to get the latest released version of the Google Cloud SDK in the package format.
• Through running Ubuntu/Debian – APT-GET is employed to get the most recent free version of the Google Cloud SDK in the package format.

• For all the other use cases, the user will run the interactive installer to install the latest version of the Google Cloud SDK.

What is CentOS?

CentOS is a Linux distribution that provides a free and open-source community-supported computing platform, functionally compatible with its upstream source, Red Hat Enterprise Linux.

Is CentOS and Red Hat same?
• CentOS is an open source project.
• Red Hat Enterprise Linux is an enterprise open source product.
• CentOS Stream, CentOS Linux, and Red Hat Enterprise Linux are all different Linux distributions, and there are many technical, support, and developmental differences between them.

So, don’t get confused!!!

Now we have a little idea about the lab, lets proceed!!!

gcloud auth list- lists credentialed accounts

Lists accounts whose credentials have been obtained using gcloud init, gcloud auth login and gcloud auth activate-service-account, and shows which account is active.

gcloud config list - list Google Cloud CLI properties for the currently active configuration

gcloud config list lists all properties of the active configuration. These include the account used to authorize access to the Cloud Platform, the current Cloud Platform project, and the default Compute Engine region and zone, if set.

What is Linux RPM package?
• RPM Package Manager (also known as RPM), originally called the Red-hat Package Manager, is an open source program for installing, uninstalling, and managing software packages in Linux.

• RPM was developed on the basis of the Linux Standard Base (LSB).


• SSH or Secure Shell is a network communication protocol that enables two computers to communicate (i.e. http or hypertext transfer protocol, which is the protocol used to transfer hypertext such as web pages) and share data.

• The Secure Shell Protocol is a cryptographic network protocol for operating network services securely over an unsecured network.

• Its most notable applications are remote login and command-line execution.

• SSH applications are based on a client–server architecture, connecting an SSH client instance with an SSH server.

Discussion (0)