01 Introduction To GCP
01 Introduction To GCP
GCP Infrastructure
Essential Cloud Infrastructure: Foundation
© 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
© 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.
A continuously expanding
set of cloud-based
products and services
© 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
© 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.
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.
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
© 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.
Google Cloud Shell
© 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
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
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.
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
© 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
© 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.
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
© 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
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.