You are on page 1of 57

Start with a Solid Platform

< Action Safe

Title Safe >


Course map
Module 1 Module 2 Module 3 Module 4 Module 5

So, What’s the Cloud Start with a Solid Use GCP to Build Your Where Do I Store This There’s an API for
Anyway? Platform Apps Stuff? That!

Module 6 Module 7 Module 8 Module 9 Module 10

You Have the Data,


You Can’t Secure the Let Google Keep an Let Machines Do the
It Helps to Network but What Are You
Cloud, Right? Eye on Things Work
Doing with It?

< Action Safe

Title Safe > Capstone project


Learning objectives (1/2)
Describe the different ways a user can
interact with the Google Cloud Platform
(GCP)

● Discuss how to navigate the GCP


environment with the GCP Console

● Explain the purpose and process of


creating GCP projects

● Explain how billing works in GCP

● Detail how to install and set up the Cloud


< Action Safe
SDK
Title Safe >
Learning objectives (2/2)
● Describe the different use cases for using
Cloud Shell and Cloud Shell code editor

● Describe how APIs work and how to test


Google APIs using Google APIs Explorer

● Discuss how to manage services running


on GCP directly from a mobile device

< Action Safe

Title Safe >


Agenda (1/2)
The GCP Console
Understanding Projects
Billing in GCP
Install and Configure Cloud SDK
Use Cloud Shell
Lab: A Tour of Qwiklabs and the
Google Cloud Platform
< Action Safe

Title Safe >


Agenda (2/2)
Lab: Getting Started with Cloud Shell
and gcloud
GCP APIs
Cloud Console Mobile App
Quiz
Summary

< Action Safe

Title Safe >


Agenda (1/2)
The GCP Console
Understanding Projects
Billing in GCP
Install and Configure Cloud SDK
Use Cloud Shell
Lab: A Tour of Qwiklabs and the
Google Cloud Platform
< Action Safe

Title Safe >


There are four ways to interact with GCP

>_

Google Cloud Cloud SDK and REST-based Cloud Console


Platform Console Cloud Shell API mobile app

Web user Command-line For custom For iOS and


interface interface applications Android
< Action Safe

Title Safe >


The GCP Console provides a web-based GUI for you to
manage your GCP projects and resources
Centralized console for all project
data.
Execute common tasks using
simple mouse clicks.
Manage and create projects.
Access developer tools:
● Cloud Source Repositories
● Cloud SDK
< Action Safe ● Cloud Shell
Title Safe > Access to product APIs.
Logging in to the GCP Console

http://www.console.google.com

< Action Safe

Title Safe >


Interacting with the GCP Console

< Action Safe

Title Safe >


Agenda (1/2)
The GCP Console
Understanding Projects
Billing in GCP
Install and Configure Cloud SDK
Use Cloud Shell
Lab: A Tour of Qwiklabs and the
Google Cloud Platform
< Action Safe

Title Safe >


Every GCP service you use is associated
with a project

Enable services and APIs.

Enable billing.

Manage permissions and


credentials.

Track resource and quota usage.

< Action Safe


Programmatically manage your
Title Safe >
projects in GCP.
Projects have three identifying attributes

Project ID Project name Project number

Globally unique Need not be unique Globally unique

Assigned by GCP but


Chosen by you Assigned by GCP
mutable during creation

Immutable after
Mutable Immutable
creation
< Action Safe

Title Safe >


Creating a project

http://www.console.google.com

< Action Safe

Title Safe >


Creating a project

< Action Safe

Title Safe >


Agenda (1/2)
The GCP Console
Understanding Projects
Billing in GCP
Install and Configure Cloud SDK
Use Cloud Shell
Lab: A Tour of Qwiklabs and the
Google Cloud Platform
< Action Safe

Title Safe >


How billing works

Billing account pays for project


resources.

A billing account is linked to zero


or more projects.

Accounts are charged automatically,


invoiced monthly, or invoiced at the
threshold limit. BigQuery Cloud VMs Cloud Cloud
Storage Network APIs

< Action Safe


Sub accounts can be used for
separate billing for projects.
Title Safe >
How to keep your billing under control

1 Budgets and alerts

2 Billing export

3 Reports

4
< Action Safe

Title Safe >


Quotas
Budgets and alerts keep your billing under control

< Action Safe

Title Safe >


Billing export allows you to store detailed
billing information

BigQuery Cloud Storage

< Action Safe

Title Safe >


Reports is a visual tool to monitor expenditure

< Action Safe

Title Safe >


Quotas are helpful limits

Rate quota
GKE API: 1,000 requests per
100 seconds

Allocation quota
5 networks per project

Many quotas are changeable


< Action Safe

Title Safe >


Agenda (1/2)
The GCP Console
Understanding Projects
Billing in GCP
Install and Configure Cloud SDK
Use Cloud Shell
Lab: A Tour of Qwiklabs and the
Google Cloud Platform
< Action Safe

Title Safe >


Cloud SDK is a command-line interface for GCP products
and services

● gcloud
● gsutil
● bq

< Action Safe

Title Safe >


Installing Cloud SDK

< Action Safe

Title Safe >


Configuring Cloud SDK

< Action Safe

Title Safe >


Agenda (1/2)
The GCP Console
Understanding Projects
Billing in GCP
Install and Configure Cloud SDK
Use Cloud Shell
Lab: A Tour of Qwiklabs and the
Google Cloud Platform
< Action Safe

Title Safe >


Cloud Shell is an alternative to the Cloud SDK

GCP Console
console.cloud.google.com

Browser-based CLI access to resources


No need to install Cloud SDK or other
tools locally
Runs on an ephemeral Compute Engine Cloud Shell
VM at no cost to you
< Action Safe 5 GB of persistent disk storage
Title Safe > Web preview functionality and built-in Cloud SDK
authorization for project/resource access
Starting Cloud Shell

< Action Safe

Title Safe >


The GCP Console and Cloud Shell

< Action Safe

Title Safe >


Cloud Shell code editor is a tool for editing files inside
your Cloud Shell environment

< Action Safe

Title Safe >


Agenda (1/2)
The GCP Console
Understanding Projects
Billing in GCP
Install and Configure Cloud SDK
Use Cloud Shell
Lab: A Tour of Qwiklabs and the
Google Cloud Platform
< Action Safe

Title Safe >


Lab
A Tour of Qwiklabs and the
Google Cloud Platform
In this lab, you access the Qwiklabs
environment and log in to the GCP
console using custom credentials.

< Action Safe The lab can be found at (45:00 min)


https://www.qwiklabs.com/focuses/2794
Title Safe >
Lab objectives
Learn about the Qwiklabs platform and
identify key features of a lab
environment
Learn how to access the GCP console
with specific credentials

< Action Safe

Title Safe >


Agenda (2/2)
Lab: Getting Started with Cloud Shell
and gcloud
GCP APIs
Cloud Console Mobile App
Quiz
Summary

< Action Safe

Title Safe >


Lab
Getting Started with Cloud
Shell and gcloud
In this lab, you apply a range of gcloud
commands within Google Cloud Shell
Connect to storage services hosted on
GCP.
< Action Safe

The lab can be found at (45:00 min)


Title Safe >
https://google.qwiklabs.com/focuses/563
Lab objectives
Practice using gcloud commands
Connect to storage services hosted on
GCP

< Action Safe

Title Safe >


Agenda (1/2)
Lab: Getting Started with Cloud Shell
and gcloud
GCP APIs
Cloud Console Mobile App
Quiz
Summary

< Action Safe

Title Safe >


APIs hide the details and enforce contracts
Users
Complex,
changeable
implementation

API

< Action Safe


Simple,
versioned
Title Safe >
interface
The services that make up GCP offer APIs so that you can
write code to control them

RESTful APIs are enabled through the GCP Console.

Programmatic access is provided to products and services.


● Code typically uses JSON as an interchange format.
● Use OAuth 2.0 for authentication and authorization.

To help you control spend, most include daily quotas and rates
< Action Safe
(limits). Quotas and rates can be raised by request.
Title Safe >
Use client libraries to create and manage resources

RESTful API
GET, POST, PUT, DELETE
JSON

OAuth 2 is used for all


Cloud Client Libraries authentication.
Languages
Cloud SDK
Java Python NodeJS
gcloud gsutil
< Action Safe

CLI tools bq Ruby Go PHP


Title Safe >
Use the Google APIs Explorer to help you write
your code

< Action Safe

Title Safe >


Testing an API

< Action Safe

Title Safe >


Agenda (2/2)
Lab: Getting Started with Cloud Shell
and gcloud
GCP APIs
Cloud Console Mobile App
Quiz
Summary

< Action Safe

Title Safe >


Manage GCP services from your
Android or iOS device

< Action Safe

Title Safe >


Agenda (2/2)
Lab: Getting Started with Cloud Shell
and gcloud
GCP APIs
Cloud Console Mobile App
Quiz
Summary

< Action Safe

Title Safe >


Quiz
True or False: All Google Cloud Platform resources must be associated with a
project.
A.True
B. False

< Action Safe

Title Safe >


Quiz
True or False: All Google Cloud Platform resources must be associated with a
project.
A.True
B. False

< Action Safe

Title Safe >


Quiz
Which of the following is a command line tool that is part of the Cloud
SDK?
A.git
B. bash
C. gsutil
D.ssh

< Action Safe

Title Safe >


Quiz
Which of the following is a command line tool that is part of the Cloud
SDK?
A.git
B. bash
C. gsutil
D.ssh

< Action Safe

Title Safe >


Quiz
What command would you use to set up the default configuration of the Cloud
SDK?
A.gcloud compute
B. gsutil mb
C. bq run
D.gcloud init

< Action Safe

Title Safe >


Quiz
What command would you use to set up the default configuration of the Cloud
SDK?
A.gcloud compute
B. gsutil mb
C. bq run
D.gcloud init

< Action Safe

Title Safe >


Agenda (2/2)
Lab: Getting Started with Cloud Shell
and gcloud
GCP APIs
Cloud Console Mobile App
Quiz
Summary

< Action Safe

Title Safe >


Summary (1/2)
The GCP Console provides a web-based GUI for you to manage your
GCP projects and resources.
All GCP services you use are associated with a project.
Your billing account pays for resources at a project level. GCP also
implements quotas, which limit unforeseen extra billing charges.
Cloud SDK is a command-line interface for GCP products and services.
Cloud Shell is an alternative to Cloud SDK and provides CLI access to
cloud resources from within your browser.
< Action Safe

Title Safe >


Summary (2/2)
The services that make up GCP offer APIs so that code you write can
control them.
The GCP Console includes a tool called the APIs Explorer that helps
you learn about APIs interactively.
The Cloud Console mobile app allows you to manage services running
on GCP directly from your mobile device.

< Action Safe

Title Safe >


< Action Safe

Title Safe >

You might also like