cloud-centric internet of things

55
Cloud-centric Internet of Things Lynn Langit

Upload: lynn-langit

Post on 14-Apr-2017

1.119 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Cloud-centric Internet of Things

Cloud-centric Internet of ThingsLynn Langit

Page 2: Cloud-centric Internet of Things

About this Talk

The IoT Landscape

Core IoT Concepts

Cloud Vendor IoT

Lessons Learned

Page 3: Cloud-centric Internet of Things

AN IOT STORY…

Page 4: Cloud-centric Internet of Things

Did you notice?

User focus

Data flow Devices

Page 5: Cloud-centric Internet of Things

Example: Engine Monitoring

Page 6: Cloud-centric Internet of Things

The Value of IoT by Industry

Banking & Insurance18%

Manufacturing13%

Healthcare13%

Retail7%

All Others50%

$ 1.9 Trillion – source Gartner

Page 7: Cloud-centric Internet of Things

IoT is Big Data Realized

Page 8: Cloud-centric Internet of Things
Page 9: Cloud-centric Internet of Things

Everyone’s In

AWS Azure

Google

IBM & Other

s

Page 10: Cloud-centric Internet of Things

About this Talk

The IoT Landscape

Core IoT Concepts

Cloud Vendor IoT

Lessons Learned

Page 11: Cloud-centric Internet of Things

Core IoT Cloud

•User•DeviceCloud

Page 12: Cloud-centric Internet of Things

IoT Devices

• Bolt-on IoT (retrofit) • Native IoT

Tip: Start with a hobby device – Intel Edison

Page 13: Cloud-centric Internet of Things

IoT Device Types

Send Only Beacons

Send and Receive Smart Jewelry

Process Messages Smart Router

Page 14: Cloud-centric Internet of Things

Device Practicalities

Manufacturing Considerations• Simulators• Developer Devices• IoT-enabling existing

devices

Device Management• Device SDKs• Certificates

Page 15: Cloud-centric Internet of Things

The Realities of IoT Security

Page 16: Cloud-centric Internet of Things

Device Security

In Transit• TLS 2.0

At Rest• Encryption• X.509 Certificates

Page 17: Cloud-centric Internet of Things

Who can see your IoT?

Page 18: Cloud-centric Internet of Things

Search Term: “IoT”

Page 19: Cloud-centric Internet of Things

COMMON PATTERNS FOR IOTSystem Architectures

Page 20: Cloud-centric Internet of Things

Building Core Architecture

Cloud Compute

& Data

UI & Services• User Auth• Token Translation

IoT Broker• Messages• Device State

Devices• Authentication• Authorization

Page 21: Cloud-centric Internet of Things

IoT Cloud Service Considerations

Code• Async• Microservices • Containers (Docker)

Data• Telemetry or Event data streams• Device Metadata• Predictive AND Business Analytics

Page 22: Cloud-centric Internet of Things

Messages Handling Pattern

Page 23: Cloud-centric Internet of Things

Connectivity Complexity

Page 24: Cloud-centric Internet of Things

Network Protocols

• TCP• MQTT• Restful HTTP• Web Sockets• AMQP• XMPP/Jabber

• UDP• CoAP

Wifi

• BLE / Smart• Bluetooth low-energy

• 6LoWPan• Wifi-Direct• Zigby• Z-Wave

Mesh

Page 25: Cloud-centric Internet of Things

Message Queuing Telemetry Transport

Efficient / scalable• Binary format• 2 byte headers

Broker-based• Pub/Sub via topics• QoS• Test with Mosquitto

Page 26: Cloud-centric Internet of Things

About MQTT QoS

0

At most once-- Publish“Device Status”

1

At least once-- Publish-- Acknowledge“Commands”

2

Exactly once-- Publish-- Pub Receive-- Pub Release-- Pub Complete“Processing”

Page 27: Cloud-centric Internet of Things

About this Talk

The IoT Landscape

Core IoT Concepts

Cloud Vendor IoT

Lessons Learned

Page 28: Cloud-centric Internet of Things

PATTERNSCloud Vendor Architectures

Cloud on Fire – Vendors & IoT

Page 29: Cloud-centric Internet of Things

AWS, AZURE AND MORECloud Iot Vendors

Page 30: Cloud-centric Internet of Things

Azure IoT Services

Brokers – IoT & Event

Devices•Logical Devices•Keys•Commands

Access Policies•Device Authorization

Message Control•TTL•Retention•Logging

Rules•Action Triggers

Page 31: Cloud-centric Internet of Things

Azure IoT Portal

Page 32: Cloud-centric Internet of Things

Azure Device SDK Example

Page 33: Cloud-centric Internet of Things

Azure IoT Solution Pattern

Page 34: Cloud-centric Internet of Things

Predictive Analytics via ML

Page 35: Cloud-centric Internet of Things

AWS IoT Services

IoT Broker

Things•Logical Devices

Certificates•Device Authentication

Policies• Device

Authorization

Rules•Topic queries•AWS Interaction

Page 36: Cloud-centric Internet of Things

Pub/Sub Topics

Page 37: Cloud-centric Internet of Things

Rules

Page 38: Cloud-centric Internet of Things

AWS IoT Portal

Page 39: Cloud-centric Internet of Things

AWS Cli Example

Page 40: Cloud-centric Internet of Things

AWS Device SDK Example

Page 41: Cloud-centric Internet of Things

AWS IoT Shadow Example

Page 42: Cloud-centric Internet of Things

Using Big Relational

Page 43: Cloud-centric Internet of Things

IoT Pattern – AWS Example

Page 44: Cloud-centric Internet of Things

Comparing Cloud IoT

Vendor Strengths Weaknesses

AWS PricingOpen Protocol Support (MQTT…)AWS Integration (DynamoDB, Kinesis...)

User-to-Device Security

GCP PricingSpeed and ScalabilityUser-to-Device Security

Early Beta

Azure Tooling Integration & SupportDevice Lifecycle Management ToolsPredictive Analytics (ML) Integration

PricingPotential Lock-in

IBM Predictive Analytics (Watson) Integration PricingLock InSecurity Model

Page 45: Cloud-centric Internet of Things

About this Talk

The IoT Landscape

Core IoT Concepts

Cloud Vendor IoT

Lessons Learned

Page 46: Cloud-centric Internet of Things

Cloud IoT Projects have…

New

Languages & IDEs

Cloud APIs & Tools

Hardware & Protocols

Streaming Event Data

Security Requirements

Page 47: Cloud-centric Internet of Things

# 1 Guideline

The cloud IoT ecosystem is young & evolving fast…

Use open protocols & languages to avoid vendor lock-in

Page 48: Cloud-centric Internet of Things

The Most Universal IoT Language

Page 49: Cloud-centric Internet of Things
Page 50: Cloud-centric Internet of Things

Best Practices Reduce Risk

LEAN – single

function MVPs

Pair or Group

Programming

TDD CI/CD

Page 51: Cloud-centric Internet of Things

Mob Programming Works

Page 52: Cloud-centric Internet of Things

Working Software means

Working on the Cloud

Page 53: Cloud-centric Internet of Things

50 Billion Device by 2020!

Page 54: Cloud-centric Internet of Things

The Next Generation…

Page 55: Cloud-centric Internet of Things

@LYNNLANGITThanks…and, keep learning