A987059828 - 11266 - 4 - 2020 - GCp-3 My PDF
A987059828 - 11266 - 4 - 2020 - GCp-3 My PDF
< Action
Safe
Title
Safe >
GCP offers a variety of compute services spanning
different usage options
Google
Compute Engine App Engine Cloud Functions
Kubernetes Engine
Virtual machines with A flexible, zero ops A lightweight fully Cluster manager and
industry-leading platform for building highly managed serverless orchestration engine built
price/performance available apps execution environment for on Google’s container
building and connecting experience
cloud services, good
option for triggering code
to run based on some
kind of event
Compute Engine is an infrastructure-centric solution
1.Type of Iaas
2.Scalable, high-performance VMs
3.Run any computing workload, such as,
web-server hosting, application hosting,
and/or application backends
4.Predefined or custom machine types
5.Windows or Linux (allows users to run
their choice of operating system.)
6.No upfront investment required
Create VMs that are right for your workloads
N1 machine types offer up to 96 vCPUs, 6.5 GB of memory per vCPU, and are
available on Intel Sandy Bridge, Ivy Bridge, Haswell, Broadwell, and Skylake CPU
platforms.
https://cloud.google.com/compute/docs/disks/
https://cloud.google.com/persistent-disk
Storage Type
✓Zonal standard persistent disk and zonal SSD persistent disk: Efficient,
reliable block storage.
✓Regional persistent disk and regional SSD persistent disk: Regional block
storage replicated in two zones.
https://cloud.google.com/products/calculator/
Google Cloud Platform Pricing Calculator
• All virtual machines are charged for 1 minute at boot time, which is the minimum charge
for a VM.
• After that, per-second pricing begins, meaning that you only pay for the compute time used.
• Google also offer sustained use discounts, which automatically provide discounted prices
for long-running workloads without the need for sign-up fees or any up-front commitment.
• The GCP Pricing Calculator is a great way to see pricing estimates based on the different
configuration options that are available under instances,
• sole-tenant nodes,
• persistent disks,
• load balancing, and
• cloud TPUs.
Where App Engine fits within GCP
Google
Compute Engine App Engine Cloud Functions Kubernetes
Engine
IaaS PaaS Serverless logic Hybrid
Virtual machines with A flexible, fully managed A lightweight fully Cluster manager and
industry-leading platform for building highly managed serverless orchestration engine built
price/performance available apps execution environment for on Google’s container
building and connecting experience
cloud services
App Engine within GCP
• Google App Engine is a Platform as a Service and cloud computing platform for developing and hosting web
applications in Google-managed data centers.
• App Engine is a fully managed, serverless platform for developing and hosting web applications at scale.
• You can choose from several popular languages, libraries, and frameworks to develop your apps, then let
< Action
SafeApp Engine take care of provisioning servers and scaling your app instances based on demand
Title
•SafeApp
> Engine allows you to have high availability apps without a complex architecture.
https://cloud.google.com/appengine/docs
Several popular languages supported by Google
App Engine
< Action
Safe
Title
Safe >
App Engine is a platform-centric solution
Type of PaaS
No need to buy, build, or operate
hardware/infrastructure
No managing servers or
configuring deployments
Focus on app development instead
of operations
Automatic scaling
App Engine offers two different environments
https://cloud.google.com/appengine/docs/the-appengine-environments
https://medium.com/@venkat86.careers/how-to-choose-app-
engine-environment-standard-flexible-9f4c26a723b0
App Engine addresses the key needs of developers
V1.1
V1.2
V1.3
Google
Compute Engine App Engine Cloud Functions Kubernetes
Engine
IaaS PaaS Serverless logic Hybrid
Virtual machines with A flexible, zero ops A lightweight fully Cluster manager and
industry-leading platform for building highly managed serverless orchestration engine built
price/performance available apps execution environment for on Google’s container
building and connecting experience
cloud services
https://cloud.google.com/functions/#overview
The components that make Cloud Functions work
Emit events
Invokes other
services
Writes back
Cloud services Cloud Functions Other APIs
Responds to events
• The simplest way to run your code
• Cloud Functions is Google Cloud’s event-driven serverless compute
platform.
• Run your code locally or in the cloud without having to provision
servers. Go from code to deploy with continuous delivery and
monitoring tools.
• Cloud Functions scales up or down, so you pay only for compute
resources you use.
• Easily create end-to-end complex development scenarios by
connecting with existing Google Cloud or third-party services.
https://cloud.google.com/functions/#overview
✓No servers to provision, manage, or upgrade
✓Automatically scale based on the load
✓Simplify complex application development across different
languages
✓Integrated monitoring, logging, and distributed tracing
✓Built-in security at role and per function level based on the
principle of least privilege
✓Key networking capabilities for hybrid and multi-cloud scenarios
Key features
• Simplified developer experience and increased developer velocity.
• Pay only for what you use
• Avoid lock-in with open technology
• Scales automatically
• No server management
• Runs code in response to events
IaaS to PaaS comparison
IaaS PaaS
Google
Compute Engine App Engine Cloud Functions Kubernetes
Engine
IaaS PaaS Serverless logic Hybrid
Virtual machines with A flexible, zero ops A lightweight fully Cluster manager and
industry-leading platform for building highly managed serverless orchestration engine built
price/performance available apps execution environment for on Google’s container
building and connecting experience
cloud services
IaaS virtualizes the hardware
App App App
VMs OS OS OS
Hypervisor
Hardware
Virtualizing the hardware costs time and resources
App App App App App
OS OS OS OS OS
Hypervisor Hypervisor
Hardware Hardware
Using PaaS provides hosted services and an
environment that can scale workloads independently
OS / Hardware
implements
container
interfaces
Using a common host configuration, you can deploy
hundreds of containers on a group of servers
MS2
MS1 MS3
MS2
MS1 MS3
An open-source container
management platform
The relationship between containers, Docker,
and Kubernetes
GKE is a managed environment for deploying
containerized apps
Agenda (2/2)
Quiz
Summary
Quiz
A. Compute Engine
B. Google Kubernetes Engine
C. App Engine
D. Cloud Functions
Quiz
A. Compute Engine
B. Google Kubernetes Engine
C. App Engine
D. Cloud Functions
Quiz
A. Compute Engine
B. Google Kubernetes Engine
C. App Engine
D. Cloud Functions
Quiz
A. Compute Engine
B. Google Kubernetes Engine
C. App Engine
D. Cloud Functions
Quiz
A. Compute Engine
B. Google Kubernetes Engine
C. App Engine
D. Cloud Functions
Quiz
A. Compute Engine
B. Google Kubernetes Engine
C. App Engine
D. Cloud Functions