0% found this document useful (0 votes)
96 views22 pages

01 Introduction To GCP

GCP is a cloud computing platform that is part of Google Cloud and offers infrastructure, platform, and software services. GCP spans from Infrastructure as a Service to Software as a Service and allows building global, autoscaling applications where infrastructure is invisible to users.

Uploaded by

Mbellatti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views22 pages

01 Introduction To GCP

GCP is a cloud computing platform that is part of Google Cloud and offers infrastructure, platform, and software services. GCP spans from Infrastructure as a Service to Software as a Service and allows building global, autoscaling applications where infrastructure is invisible to users.

Uploaded by

Mbellatti
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Introduction to

GCP Infrastructure
Essential Cloud Infrastructure: Foundation

GCP CONSOLE, CLOUD SHELL

CONSOLE AND CLOUD SHELL, INFRASTRUCTURE PREVIEW

Last modified 2018-2-21


© 2018 Google LLC. All rights reserved. Google
and the Google logo are trademarks of Google LLC.
All other company and product names may be
trademarks of the respective companies with
which they are associated.
© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Agenda ● Google Cloud Platform (GCP)
Infrastructure
● Using GCP
● Labs and Demos
● Quiz

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Google Cloud Platform

Google Cloud Ecosystem


Open- Other
Source Cloud
Providers Developers
Software Providers
Third-Party
Partners Software

Chrome Google Cloud Google


Search
Google Maps Google Analytics
Google G Suite
Devices Gmail

GCP

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

Google Cloud Platform, GCP, is part of Google Cloud, which includes many products
and services.

The Google Cloud itself is part of a much larger ecosystem that consists of partners
and providers. Google is a strong supporter of open-source software and participates
with a global community of contributors.

GCP is a computing solution platform that includes Infrastructure, Platform, and


Software.
GCP is...

A continuously expanding
set of cloud-based
products and services

In GCP, there is usually


more than one solution

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

Many GCP products and services have a unique blue hexagonal logo. Products
without a unique logo are represented by a generic hexagon logo. There are currently
between 50 and 100 products in GCP.
Solution continuum

Google Cloud Platform Products and Services

IaaS PaaS SaaS


Clusters
CPUs, Memory Servers Serverless,
Cluster
Disks, Interfaces VM Instances Autoscaling
Management

IT Ops SysOps DevOps Low Ops No Ops

Managing components: Managing systems: Managing resources:


component health, system availability, users and identities,
component function and system performance, access to resources,
performance, component system costs resource consumption
backup and replacement

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

Google Cloud Platform spans from Infrastructure as a Service (IaaS) to Software as a


Service (SaaS). You really can build applications on GCP for the web or mobile that
are global, autoscaling, and assistive, and that provide services where the
infrastructure is completely invisible to the user. It is not just that Google has opened
the infrastructure that powers applications like search, gmail, maps, and G Suite.
Google has opened all of the services that make these products possible and
packaged them up for your use.

Alternative solutions are possible. For example, you could start up your own VM in
GCE, install open source MySQL on it, and run it just like a MySQL database on your
own computer in a data center. Or, you could use the Cloud SQL service, which
provides a MySQL instance and handles rote work like backups and security patching
for you, using the same services Google does to automate backups and patches. Or,
you could move to a noSQL database that is autoscaling and serverless so that
growth no longer requires adding server instances or possible changing the design to
handle the new capacity.

Notice that each alternative solution on the continuum causes concern about different
objects, which changes the role of the operations staff and changes the items that are
being managed.
Infrastructure analogy
users

infrastructure applications

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

An IT infrastructure is like a "city infrastructure." The infrastructure is the basic


underlying framework of fundamental facilities and systems such as transport,
communications, power, water, fuel and other essential services. The people in the
city are like "users," and the cars and bikes and buildings in the city are like
"applications." Everything that goes into creating and supporting those
applications/buildings for the users/citizens is the infrastructure.

The purpose of this class is to explore, as efficiently and clearly as possible, the
infrastructure services provided by GCP. You should become familiar enough with the
infrastructure services that you will know what the services do and basically how to
use them.

By the end of this class you will be prepared to learn anything you need to know to
use the Google Cloud Platform.
Cloud Infrastructure

Foundation Scaling and Automation


● Introduction to GCP ● Interconnecting Networks
● Virtual Private Cloud Networking ● Load Balancing
● Virtual Machines ● Autoscaling
● Infrastructure Automation with Cloud API
● Infrastructure Automation with
Deployment Manager
● Managed Services

Core Services Containers and Services


● Cloud IAM ● Application Infrastructure Services
● Data Storage Services ● Application Development Services
● Resource Management ● Containers
● Resource Monitoring

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

This class consists of four parts:

1. Foundation: Basic technologies of the essential infrastructure.


2. Core Services: Building blocks of the essential infrastructure.
3. Scaling and Automation: Augmented infrastructure providing systems built on
top of the basics that multiply their power
4. Containers and Services: Application infrastructure providing services to make
it easier to develop applications for users
Agenda ● Google Cloud Platform (GCP)
Infrastructure
● Using GCP
● Labs and Demos
● Quiz

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Google Cloud Shell

Cloud Console ● The Web UI comes with a CLI


● The CLI has Google Cloud SDK
GCP pre-installed

● Cloud Shell is…


console.cloud.google.com ● A tiny ephemeral VM
● CLI pre-installed
○ gcloud
○ gsutil
Cloud Shell ● SDK APIs pre-installed
● 5 GB user data persists
● OS + SW is reconstituted
○ After 30 minutes
Google Cloud SDK ○ If there is a connection
interruption

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Lab conventions: Console

2 3

This is how the instruction will


appear in your lab guide:

On the Products & services menu, click Compute Engine > VM instances

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

You can get to almost any dialog in the GCP Console with three clicks.
(1) The three horizontal lines is the "Products and Services" icon. It opens a menu
from the side.
(2) All of the major products and services are listed in the menu. Selecting one
usually opens a submenu.
(3) The submenu contains major sections.

In this example you would be instructed navigate to the Products & services menu
and click Compute Engine, and then VM instances.
Lab conventions: Cloud Shell

An example of what the command output should


Items in black boxes with white type look like:
are command line instructions you
enter in Cloud Shell or an SSH username@train-infra: gcloud compute list
terminal:
Your active configuration is:
gcloud compute list [cloudshell-30772]
[component_manager]
disable_update_check = True
Usually you can copy and paste [compute]
these commands if desired. gce_metadata_read_timeout_sec = 5
[core]
account = [email protected]
That's often useful for more check_gce_metadata = False
complex commands. disable_usage_reporting = False
project = train-infra
[metrics]
environment = devshell

username@train-infra:~$

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
API interfaces
OAuth 2 is used for all authentication.

GCP RESTful API

get, post, put, delete


JSON

Google Cloud Client Libraries


Languages

Google Cloud SDK

Java Python NodeJS Ruby Go PHP


gcloud gsutil

CLI
tools bq

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

For historical reasons, gsutil, gcloud, and bq are currently separate. gsutil is a python
application that uses the SDK to access Google Cloud Storage (GCS) API.

gcloud is a command line tool that is the home to all the rest of the GCP API.
Agenda ● Google Cloud Platform (GCP)
Infrastructure
● Using GCP
● Labs and Demos
● Quiz

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Lab: Console and Cloud Shell

Objectives Completion: 20 minutes

In this lab, you learn how to perform the Access: 40 minutes


following tasks:

● Get access to GCP


● Create a Cloud Storage bucket
using the GCP Console
Cloud Cloud
● Create a Cloud Storage bucket Storage Shell

using Cloud Shell


● Become familiar with Cloud Shell
features

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.


Lab: Console and Cloud Shell
Demo: Projects

In this demo you will see how to create, delete, and switch contexts between
projects.

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

Demo: Projects
Lab: Infrastructure Preview

Objectives Completion: 15 minutes

In this lab, you learn how to perform the Access: 30 minutes


following tasks:

● Use Cloud Launcher to build a


Jenkins Continuous Integration
Cloud
environment Deployment
Manager

● Verify that you can manage the


service from the Jenkins UI
● Administer the service from the
Virtual Machine host through SSH

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

Lab: Infrastructure Preview


Agenda ● Google Cloud Platform (GCP)
Infrastructure
● Using GCP
● Labs and Demos
● Quiz

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Quiz

Is there usually more than one solution for a task or application in Google Cloud
Platform?

1. Yes
2. No

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Quiz

Which of the following tools allow you to interact with Google Cloud Platform (select 2)?

1. Cloud Console which is a web-based, graphical user interface that you access
through console.cloud.google.com.
2. Google Cloud Wi-Fi hotspot which is available in some cities.
3. Google Cloud SDK which is a command-line interface that can be installed locally
or accessed through Cloud Shell.
4. Google Cloud Operator which is a phone service that uses speech recognition to
transmit your commands.

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
Quiz

What is the difference between Cloud Console and Cloud Shell?

1. Cloud Console is a command-line tool, while Cloud Shell is a graphical user


interface
2. Cloud Shell is a command-line tool, while Cloud Console is a graphical user
interface
3. Cloud Shell is a locally installed tool, while Cloud Console is a temporary virtual
machine.
4. There is no difference as these tools are 100% identical.

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
More resources

Google Cloud Platform


https://cloud.google.com/

Console
https://console.cloud.google.com/

Documentation
https://cloud.google.com/docs/

Training
https://cloud.google.com/training/

Certification
https://cloud.google.com/certification/

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.
© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

© 2018 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other
company and product names may be trademarks of the respective companies with which they are associated.

You might also like