20
How to build a scalable serverless IoT architecture on GCP Andrea Ulisse, Google Cloud Solutions Engineer @ulisseandrea - [email protected] CODEMOTION MILAN - SPECIAL EDITION 10 – 11 NOVEMBER 2017

Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Embed Size (px)

Citation preview

Page 1: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

How to build a scalable serverless IoT architecture on GCP

Andrea Ulisse, Google Cloud Solutions Engineer @ulisseandrea - [email protected]

CODEMOTION MILAN - SPECIAL EDITION 10 – 11 NOVEMBER 2017

Page 2: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 2

Contents

Why Google Cloud Platform?1

IoT challenges2

Google Solution3

What’s next?4

Page 3: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

1BILLION

users

Page 4: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 4

Page 5: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 5

Page 6: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 6

Saved Data Center cooling energy for 40% Improved power usage effectiveness (PUE) for 15%

Page 7: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 7

Network

Network sea cable investments

#

#

Future region and number of zones

Current region and number of zones

Frankfurt

Singapore

S Carolina

Belgium

London

Mumbai

Sydney

OregonIowa

São Paulo

Finland

Tokyo

Montreal

N Virginia

Netherlands

3

3

3

2

3

24

3

33

2

3

Edge points of presence (>100)

Taiwan

3

#

#

Future region and number of zones

Current region and number of zones

3

3

3

2

3

24

3

333

2

3Los Angeles

3

3

3

Page 8: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 8

Google Global Cache (GGC) edge nodes

Points of presence (>100)

Network fiber

FASTER (US, JP, TW) 2016

Unity (US, JP) 2010

SJC (JP, HK, SG) 2013

Monet (US, BR) 2017

Page 9: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 9

Page 10: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 10

Page 11: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 11

Technologies built to support Google products

2012 20142002 2004 2006 2008 2010

GFS

MapReduce

Bigtable

Dremel Flume

Spanner

Colossus

MillWheel

F1

2016

TensorFlow

Megastore

Borg

Page 12: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

2012 20132002 2004 2006 2008 2010

GCS

Dataproc

Bigtable GCS

BigQuery Dataflow

Datastore

Spanner

Dataflow

Pub/Sub

2016

Dataflow

Cloud ML

Google’s innovation in data

Page 13: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Leading open source communities

#1 Highest Engagement on Github #2 Highest Engagement

on Github

Kubernetes Tensorflow

Source: Analyzing GitHub issues and comments with BigQuery

Page 14: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 14

Contents

Why Google Cloud Platform?1

IoT challenges2

Google Solution3

What’s next?4

Page 15: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 15

Scaling on-demand

Secure device connection

Actionable Insights

Three key challenges in building an IoT solution

Page 16: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 16

Contents

Why Google Cloud Platform?1

IoT challenges2

Google Solution & Demo3

What’s next?4

Page 17: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 17

IoT Architecture on GCP

Page 18: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 18

Demo (https://github.com/aulisse/iot-demo)

Page 19: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 19

Contents

Why Google Cloud Platform?1

IoT challenges2

Google Solution3

What’s next?4

Page 20: Andrea Ulisse - How to build a scalable serverless IoT architecture on GCP - Codemotion Milan 2017

Google Cloud Platform 20

My contacts:[email protected] @ulisseandrealinkedin.com/in/andreaulisse

Github repo containing the demo: github.com/aulisse/iot-demo

Google Cloud platform free tier:cloud.google.com/free/