introduction to aws iot

73
IoT With Amazon Web Services Mark Relph [email protected] Head Of Global Business Development, AWS IoT

Upload: amazon-web-services

Post on 16-Apr-2017

1.341 views

Category:

Software


2 download

TRANSCRIPT

Page 1: iNTRODUCTION TO AWS IOT

IoT With Amazon Web ServicesMark [email protected] Of Global Business Development, AWS IoT

Page 2: iNTRODUCTION TO AWS IOT

Focus on differentiation

Page 3: iNTRODUCTION TO AWS IOT

Move from risk-laden

up-front expense to

flexible variable expense

Stop guessing

at capacity planning

Go global in

minutes

Get rid of time-consuming, expensive tasks

Remove complicated infrastructure

management that adds little

business value

GE Oil & Gas is migrating 500 applications, and more than 750TB of

data, to the cloud by the end of 2016 as part of a major digital

transformation, helping it attain a 52% reduction in TCO and greater

speed to market.

Page 4: iNTRODUCTION TO AWS IOT

And focus on your core mission

Lower the time spent

on infrastructure

Dedicate more

resources to

innovation

Concentrate on

new business

initiatives

“Our goal is to move at the speed of business. Our customers’ needs change

constantly, and we need to be able to adapt to that.”

Keith Homewood – Cloud Product Owner, Nordstrom

Page 5: iNTRODUCTION TO AWS IOT

Deploy faster wherever you like

Page 6: iNTRODUCTION TO AWS IOT

Build for speed, build for scale

Consistent, single-digit millisecond latency NoSQL database at any scale

Highly Scalable Fully ManagedFast, Consistent Performance

Event-driven Programming Fine-grained Access Control Document & Key-Value Structures

BMW built its new car-as-a-sensor service in only six months using

DynamoDB and other services. With AWS, it can adapt to rapidly changing

load requirements that can scale up and down by two orders of magnitude

within 24 hours and will process data from 100,000 cars by 2018.

BMW

Page 7: iNTRODUCTION TO AWS IOT

Things are Becoming Connected

Now

Not too long fromnow Soon After

Source: Pretty much everyone

Page 8: iNTRODUCTION TO AWS IOT

Smart City…Circa 1931

Page 9: iNTRODUCTION TO AWS IOT

The “Internet of Things” (plural)

Page 10: iNTRODUCTION TO AWS IOT
Page 11: iNTRODUCTION TO AWS IOT

The customer has many identities

Page 12: iNTRODUCTION TO AWS IOT
Page 13: iNTRODUCTION TO AWS IOT
Page 14: iNTRODUCTION TO AWS IOT

Purpose != Measurement!= means NOT EQUAL btw

btw = By The Way

Page 15: iNTRODUCTION TO AWS IOT
Page 16: iNTRODUCTION TO AWS IOT
Page 17: iNTRODUCTION TO AWS IOT

Things are NOT static assets

Page 18: iNTRODUCTION TO AWS IOT

Products That Get Better With Time

Sonos connected speakers

have evolved using data

over the last ten years

without the customer

replacing anything

Page 19: iNTRODUCTION TO AWS IOT

Budgeting

Resource Allocation

Logistics

Predictive Maintenance

Emergency

Preparedness

Customer support

Demand estimation

Traffic

The Spark For Hundreds Of New Applications

Page 20: iNTRODUCTION TO AWS IOT

Devices Network Security Data Collection Smarts

1

The Heavy Lifting With IoT

Page 21: iNTRODUCTION TO AWS IOT

AWS Platform For IoT

App

Backend

API

Gateway

Lambda

Edge Service

CloudFront

Companion

AppsAnalytics

RedShift

Data

Storage

S3

SDKs

C, iOS

Android

Machine

Learning

Machine

Learning

DynamoDB

APN Partner Solutions

Kinesis

Ingestion,

Protocols &

Security

Device

Shadows

Mobile

Hub

EMR

Reference

Hardware

Rules

Engine

AWS IoT

Page 22: iNTRODUCTION TO AWS IOT

AWS IoT

Page 23: iNTRODUCTION TO AWS IOT

Our Strengths

• Focus on Security, End to End

• It’s a Serverless, managed service

• Built on modern architecture:

messages, events, rules, functions

– at scale

• Front door to all of AWS

• Any Chipset

• Any Operating System

• Expansive Protocol Support

• Cost follows usage

Page 24: iNTRODUCTION TO AWS IOT

Hardware

Page 25: iNTRODUCTION TO AWS IOT

Starter Kits

Launched 10 Starter Kits, Powered by AWS at reInvent

Page 26: iNTRODUCTION TO AWS IOT

Routing Noise

Page 27: iNTRODUCTION TO AWS IOT

Device Gateway

Page 28: iNTRODUCTION TO AWS IOT

Publish / Subscribe

Standard Protocol Support

MQTT, HTTP, WebSockets

Long Lived Connections

Receive signals from the cloud

Secure by Default

Connect securely via X509 Certs

and TLS 1.2 Client Mutual Auth

Page 29: iNTRODUCTION TO AWS IOT

Sensor Messages

Standard Protocol Support

MQTT, HTTP, WebSockets

Topic / Channel

Message routing hierarchy.

Control over full tree

Payload (JSON)

Customer Defined JSON payload

Page 30: iNTRODUCTION TO AWS IOT

Finding the Signals

Page 31: iNTRODUCTION TO AWS IOT

Extracting the value from messages

• Filter messages with certain criteria

• Move messages to other topics

• Move messages to other systems

• Transform the payload of messages

• Predict messages based on trends

• React based on messages

Page 32: iNTRODUCTION TO AWS IOT

Rules Engine

Page 33: iNTRODUCTION TO AWS IOT

Rules Engine

• Familiar SQL syntax

• SELECT * FROM topic WHERE filter

• Functions

• String manipulation (regex support)

• Mathematical operations

• Context based helper functions

• Crypto support

• UUID, timestamp, rand, etc.

• Execute Simultaneous Actions

Page 34: iNTRODUCTION TO AWS IOT

new: Elasticsearch Integration

Page 35: iNTRODUCTION TO AWS IOT

new: Predict Function

Page 36: iNTRODUCTION TO AWS IOT

AWS IoT Device Shadow

Page 37: iNTRODUCTION TO AWS IOT

AWS IoT Device Shadow

Page 38: iNTRODUCTION TO AWS IOT

1. Device Publishes Current State

2. Persist JSON Data Store

3. App requests device’s current state

4. App requests change the state5. Device Shadow sync’s

updated state

6. Device Publishes Current State 7. Device Shadow confirms state change

AWS IoT Device Shadow Flow

Page 39: iNTRODUCTION TO AWS IOT

AWS IoT Device Shadow - Simple Yet Powerful

{

"state" : {

“desired" : {

"lights": { "color": "RED" },

"engine" : "ON"

},

"reported" : {

"lights" : { "color": "GREEN" },

"engine" : "ON"

},

"delta" : {

"lights" : { "color": "RED" }

} },

"version" : 10

}

Device

Report its current state to one or multiple shadows

Retrieve its desired state from shadow

Mobile App

Set the desired state of a device

Get the last reported state of the device

Delete the shadow

Shadow

Shadow reports delta, desired and reported

states along with metadata and version

Page 40: iNTRODUCTION TO AWS IOT

Customer Example – Rachio Sprinkler Control

Actions

Connected Sprinkler

Controller

Lambda Function

Easily calibrate soil, vegetation, slope, sun

exposure, and nozzle types.

Choose From National And Personal Weather Stations

To Get The Most Accurate Weather Data Available.

No One-size-fits-all Experience - You Have The

Freedom To Make Adjustments Over Time And Tune

Your Rachio To Your Unique Landscape.

Page 41: iNTRODUCTION TO AWS IOT

Security

Page 42: iNTRODUCTION TO AWS IOT
Page 43: iNTRODUCTION TO AWS IOT

new: Bring Your Own Certificate

• Use Certificates issued by your own CA

• Existing certificate issuance infrastructure

• Use certificates already on-board

• Limited Internet connectivity from assembly / manufacturing

locations

• Seamless provisioning of devices

• 8 new API calls to support management of certificates

Page 44: iNTRODUCTION TO AWS IOT

New Model for Building Applications

Web Model IoT Model

Endpoints/API calls

Workflows

Backends

RESTful

Synchronous

Topics / Pub-Sub

Rules

Functions

Event Driven

Asynchronous

Page 45: iNTRODUCTION TO AWS IOT

The Evolution To Serverless Computing

OS, Language, Infra

Coupled

OS & Language

CoupledCompletely Decoupled

Monolithic n-tierService

OrientedContainerized

Micro-Services

Cloud Native

90s – 00s ~2010 2020~2015

Page 46: iNTRODUCTION TO AWS IOT

AWS Lambda – Run code without the hassle

- No Servers to manage: Run code in the cloud

like a simple function call

- Sub-second metering of usage: Pay only for

what you use

- Don’t worry about scaling: AWS will manage

the servers needed to run your functions, so

you can focus on content

- Stay flexible after launch: Add functionality

without having to touch software on the device

itself (node.js / Java / Python)

Page 47: iNTRODUCTION TO AWS IOT

Messages & Events = Context & Magic

Companion

Apps

LambdaAWS Services

User

Legacy System

AlexaThings

Page 48: iNTRODUCTION TO AWS IOT

Demo Time!

Page 49: iNTRODUCTION TO AWS IOT

Demonstration

Amazon LightShow

Page 50: iNTRODUCTION TO AWS IOT

Demonstration

Amazon Echo

OrchestratorAWS Cloud

Audience with smartphones

Smartphone

OR Laptop

Page 51: iNTRODUCTION TO AWS IOT

Demonstration

Virtual Button Virtual Light Bulb

Page 52: iNTRODUCTION TO AWS IOT

Amazon Alexa

AWS IoT LightShow

Smartphones

AWS IoT

Amazon Elasticsearch

Serverless

Javascript IoT

Controller

Serverless

Javascript IoT Client

AWS Lambda

Serverless

Certified !!!

Smartphone

OR Laptop

Page 53: iNTRODUCTION TO AWS IOT

Use your smartphones now !!

Smartphone Location ServicesWiFiMobile Data

Page 54: iNTRODUCTION TO AWS IOT

https://bit.ly/awslightshow

Page 55: iNTRODUCTION TO AWS IOT

To summarize !

Page 56: iNTRODUCTION TO AWS IOT

Amazon LightShow

User

InteractionAnalyse

&

Visualize

Communicate Authenticate

Storage

&

Content

Delivery

Web Dashboard

User

Smartphone

Amazon Alexa

AWS IoTAmazon

Elasticsearch Amazon

Cognito

Amazon S3

Amazon CloudFront

Page 57: iNTRODUCTION TO AWS IOT

Solution Examples

Assisted Vehicles

Traffic & Parking

Transportation

Energy & Utilities

Waste Management

Public Safety

Citizen Connection

Page 58: iNTRODUCTION TO AWS IOT
Page 59: iNTRODUCTION TO AWS IOT

Predictive Maintenance

A comprehensive set of diagnostic and operational insights to evaluate and monitor equipment and system performance, identify assets at risk of failure, and avoid costly downtime

Page 60: iNTRODUCTION TO AWS IOT
Page 61: iNTRODUCTION TO AWS IOT

AWS IoT Button – Limited Release Programmable

Dash Button

An easy way to get started with the Internet of Things,

based on the Amazon Dash button hardware, the AWS

IoT button is a developer kit that can be programmed to

control internet-connected devices and services.

This programmable Wi-Fi button is designed to help

developers learn how to use AWS IoT, AWS Lambda,

Amazon DynamoDB, Amazon Simple Notification

Service and other Amazon Web Services.

Use the button to count items, track usage, initiate a

call, send alerts or start and stop a process.

Eliminate the hassle of writing device-specific code; code

in the cloud to configure your button's single, double,

and long clicks.

Page 62: iNTRODUCTION TO AWS IOT

How does it work?Invoke a Lambda function

Put object in an S3 bucket

Insert, Update, Read from a

DynamoDB table

Publish to an SNS Topic

or Endpoint

Publish to a Kinesis stream

Kinesis Firehose > Redshift

Republish to AWS IoT

AWS IoT

Page 63: iNTRODUCTION TO AWS IOT

AWS IoT to AWS Lambda to SNS

Lambda Function

AWS IoT

Rules Engine

PolicyPrivate Key

& Certificate

Button

RuleSDK

AWS IoT

AWS Services

Execution

RolePolicy

SNS Topic

PermissionAction

SNS Topic Subscription

Rule: “Select * from ‘iotbutton/+’

Event

Source

Function

SMS or Email

Page 64: iNTRODUCTION TO AWS IOT

Mobile and IoT

Page 65: iNTRODUCTION TO AWS IOT

Mobile = Companion Apps For IoT

Wearables Home Automation Apps Industrial Control Equipment Companion Apps

Page 66: iNTRODUCTION TO AWS IOT

Mobile Hub – Making It Easier

Page 67: iNTRODUCTION TO AWS IOT

BUILD ING VO ICE EXPERIENCES

Be Ready For Your Customers Whenever They Ask For You

Page 68: iNTRODUCTION TO AWS IOT

V O I C E W I L L B E E V E R Y W H E R E

Page 69: iNTRODUCTION TO AWS IOT

MEET ECHO

The First

Endpoints

of Alexa

The Echo is the first and best-known

endpoint of the Alexa Ecosystem…

The Echo was built to make life

easier and more enjoyable.

We also recently launched

Fire-TV with Alexa integrated

directly into the device.

Bringing Alexa and voice to two of

the best selling products on

Amazon.com

& F IRE TV

Page 70: iNTRODUCTION TO AWS IOT

Create

Great Content:

ASK is how you connect

to your consumer

THE ALEXA ECOSYSTEMSupported by two powerful offerings

A L E X AV O I C ES E R V I C E

Unparalleled

Distribution:

AVS allow your content

to be everywhere

Automated Speech

Recognition (ASR)

&

Natural Language

Understanding (NLU)

A L E X AS K I L L SK I T

Page 71: iNTRODUCTION TO AWS IOT

The Power Of Voice: Alexa

Alexa Voice

Services

Amazon

Echo

Alexa

Skills KitIoT Apps, Back

End System, Big

Data, Machine

Learning, Storage

Companion Apps

Lambda

AWS IoT

Voice Control

• Alexa - With the Alexa Skills Kit, you

can easily build and add your own

skills to Alexa.

• AWS IoT manages the connection

devices and integration with ASK, as

well as other backend systems and

companion apps.

• Build skills for Alexa using AWS

Lambda. Simply write the code

using and upload it as a Lambda

function.

• Alexa Voice Service brings voice-

powered experiences to any

connected devices.

Page 72: iNTRODUCTION TO AWS IOT

AWS IoT & Dash Replenishment Service

• DRS enables connected

devices to reorder

consumable goods thru

Amazon when supplies

run low. Orders fulfilled

and supported by Amazon

• AWS IoT can manage the

connection to the device

and integration with DRS,

as well as other backend

systems and companion

apps.

Apps, Big

Data, Machine

Learning

DRS Devices /

Buttons

Companion Apps

Lambda

AWS IoT

Page 73: iNTRODUCTION TO AWS IOT

Thank you.Mark Relph

[email protected] Of Global Business Development, AWS IoT