30
Google Cloud Computing compares GCE, GKE and GAE Simon Su @ GCPUG.TW

Google Cloud Computing compares GCE, GAE and GKE

Embed Size (px)

Citation preview

Page 1: Google Cloud Computing compares GCE, GAE and GKE

Google Cloud Computing comparesGCE, GKE and GAE

Simon Su @ GCPUG.TW

Page 2: Google Cloud Computing compares GCE, GAE and GKE

I’m Simon Su...

var simon = {/** I am at GCPUG.TW **/};

simon.GDE = 'https://developers.google.com/experts/people/peihsin-su';

simon.nodejs = ‘http://opennodes.arecord.us';

simon.googleshare = 'http://gappsnews.blogspot.tw'

simon.nodejsblog = ‘http://nodejs-in-example.blogspot.tw';

simon.blog = ‘http://peihsinsu.blogspot.com';

simon.slideshare = ‘http://slideshare.net/peihsinsu/';

simon.email = ‘[email protected]’;

simon.say(‘Let’s go Cloud!');

Page 3: Google Cloud Computing compares GCE, GAE and GKE

Welcome to join us!

Page 4: Google Cloud Computing compares GCE, GAE and GKE

Google Cloud Platform

BigQuery

Big Data

Pub/Sub Dataflow Dataproc Datalab

Compute

Compute EngineApp Engine Container Engine

Storage

Cloud Storage

Cloud SQL Cloud Datastore

Bigtable

Machine Learning

Speech API

Machine Learning

Translate APIVision APINatural Language API

Page 5: Google Cloud Computing compares GCE, GAE and GKE

GCECompute Engine

- GCE VM, Disk, Network- Load Balancer- Instance Group

Page 6: Google Cloud Computing compares GCE, GAE and GKE

GAEApp Engine

- Standard Runtime- Flexible Runtime

- Standard Env- Custom Env

Page 7: Google Cloud Computing compares GCE, GAE and GKE

GKEContainer Engine

- Docker & rkt - Pod, deployment- Service vs. NLB- Ingress vs. HLB- Scaling

Page 8: Google Cloud Computing compares GCE, GAE and GKE

Getting Start… You want to deploy...

Page 9: Google Cloud Computing compares GCE, GAE and GKE

Like this...

Page 10: Google Cloud Computing compares GCE, GAE and GKE

Or this...

Page 11: Google Cloud Computing compares GCE, GAE and GKE

What we care about...● Loading high

● Run out of resource

● Management

● Monitoring & alert

● Cost

● ...

Page 12: Google Cloud Computing compares GCE, GAE and GKE

Over Bare-metal Deployment

Page 13: Google Cloud Computing compares GCE, GAE and GKE
Page 14: Google Cloud Computing compares GCE, GAE and GKE

Using GAE Deploy

Page 15: Google Cloud Computing compares GCE, GAE and GKE
Page 16: Google Cloud Computing compares GCE, GAE and GKE

Over Kubernetes

Page 17: Google Cloud Computing compares GCE, GAE and GKE

ContainerCode and libraries

ContainerCode and libraries

ContainerCode and libraries

ContainerCode and libraries

Page 18: Google Cloud Computing compares GCE, GAE and GKE

GCE / GKE / GAE

PaaSPreset run-times

Java, Go, PHP, Python...Focus is application logic

Pay for what you useLess management overhead

IaaSRaw compute, storage and

networkMore granular control

Pay for what you allocateMore management overhead

Towardsmanaged

infrastructure

Towardsmanaged services

Compute Engine App EngineContainer Engine

Page 19: Google Cloud Computing compares GCE, GAE and GKE

- restrictions and conditions

- dockerized service

- micro services- fast scale- no limitation

GCE / GKE / GAE need to do before use

Towardsmanaged

infrastructure

Towardsmanaged services

Compute Engine App EngineContainer Engine

- operation & monitor

- architecture planning

Page 20: Google Cloud Computing compares GCE, GAE and GKE

- more integrated pricing

- daily free 28 instance/hour quota

- master node managed by google

- at last 1 worker node

- extend base on template vm size

GCE / GKE / GAE compares in Cost

Towardsmanaged

infrastructure

Towardsmanaged services

Compute Engine App EngineContainer Engine

- custom node size / scalable pricing

- load balancer pricing

Page 21: Google Cloud Computing compares GCE, GAE and GKE

- web services with large scaling

- need quick scale

- using GAE services

- micro services- containerized

services- plan to cross

cloud

GCE / GKE / GAE good for...

Towardsmanaged

infrastructure

Towardsmanaged services

Compute Engine App EngineContainer Engine

- small scale for small service deploy

- large scale for high performance service

Page 22: Google Cloud Computing compares GCE, GAE and GKE

There are more features...

Page 23: Google Cloud Computing compares GCE, GAE and GKE

GCE~ more ~

Functional

● Integrated cloud permissions● Routing and firewalls● Snapshot● Images● Custom machine type

Pricing

● Sustain pricing● Sub-hour billing

Page 24: Google Cloud Computing compares GCE, GAE and GKE

GAE~ more ~

Project

App EngineApp Servers

Application instances

Application instances

Application instances

Task queues

Scheduled tasks

Search

Memcache

Logs

Page 25: Google Cloud Computing compares GCE, GAE and GKE

● Federation clustering● Auto scaling● GCE resource integrated

○ HLB as K8S Ingress ○ NLB as K8S Service

● Secret● GKE UI● Host auto-scaling● Version upgrade & management● Container registry (gcr.io)● Image builder

GKE~ more ~

Page 26: Google Cloud Computing compares GCE, GAE and GKE

StackDriverAll you used in GCP can be Monitored….

Page 27: Google Cloud Computing compares GCE, GAE and GKE

MonitoringPlatform, system, and application metricsUptime/health checksDashboards and alerts

LoggingPlatform, system, and application logsLog search/view/filterLog-based metrics

TraceLatency reporting and samplingPer-URL latency and statistics

Error ReportingError notificationsError dashboard

DebuggerDebug applications

Page 28: Google Cloud Computing compares GCE, GAE and GKE

ThanksQ&A

Page 29: Google Cloud Computing compares GCE, GAE and GKE

More GCP events...

Page 30: Google Cloud Computing compares GCE, GAE and GKE

Join us….