aws iot button - aws august webinar series

30
© 2016 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc. Jinesh Varia, AWS IoT “There is an App Button for that” AWS IoT Button

Upload: amazon-web-services

Post on 16-Apr-2017

1.855 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: AWS IoT Button - AWS August Webinar Series

© 2016 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc.

Jinesh Varia, AWS IoT

“There is an App Button for that”AWS IoT Button

Page 2: AWS IoT Button - AWS August Webinar Series

Agenda

• AWS IoT Overview• AWS IoT Button• Getting Started with AWS IoT using the AWS IoT

Button• Demos• Questions

Page 3: AWS IoT Button - AWS August Webinar Series

AWS IoT

“Securely connect one or one-billion devices to AWS, so they can interact with applications and other devices”

Page 4: AWS IoT Button - AWS August Webinar Series

AWS IoT

DEVICE SDKSet of client libraries to

connect, authenticate and exchange messages

DEVICE GATEWAYCommunicate with devices via

MQTT and HTTP

AUTHENTICATIONAUTHORIZATION

Secure with mutual authentication and encryption

RULES ENGINETransform messages based on rules and

route to AWS Services

AWS Services- - - - -

3P Services

DEVICE SHADOWPersistent thing state during

intermittent connections

APPLICATIONS

AWS IoT API

DEVICE REGISTRYIdentity and Management of

your things

Page 5: AWS IoT Button - AWS August Webinar Series

AWS IoT Button – Limited Release Programmable Dash Button

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

• A programmable Wi-Fi button for developers to learn how to use AWS IoT, Lambda, DynamoDB, SNS

• Use the button to count items, track usage, initiate a call, send alerts or start and stop a process or connected product

• Eliminate the hassle of writing device-specific code; code in the cloud to configure your button's single, double, and long clicks.

Page 6: AWS IoT Button - AWS August Webinar Series
Page 7: AWS IoT Button - AWS August Webinar Series

Developer Use casesCall an uber cab

Order Pizza

Start a car

Poke someone on Facebook

“Like” something on Facebook

Mayday button

Tweet SomethingCall customer service

Slack it

Approve Expense reports

Count things

Track Things

Track Meds

Track baby sleeps

“I left office, honey”

Doorbell

Refill prescriptions

Page 8: AWS IoT Button - AWS August Webinar Series

Sassy Ping PongScore Keeper

Source: https://www.hackster.io/youngd/ping-pong-showdown-eabaed

Page 9: AWS IoT Button - AWS August Webinar Series

Slack-powered Doorbell

Source:www.theatlantic.com/notes/2016/07/make-every-week-2-a-silent-slack-powered-doorbell/490880/

Page 10: AWS IoT Button - AWS August Webinar Series

Source: http://www.andrewmcgill.me/2016/08/19/make-every-week-sweetgreen-salad-button.html

EmergencySweet Green Ordering

Page 11: AWS IoT Button - AWS August Webinar Series

Push a button to get directions to the right meal within your budget. (Integrate time of day, weather, Google Directions, Yelp, and Stripe)

Source: https://medium.com/@_adeel/nerding-out-with-the-amazon-iot-but-ton-84a6e14b6b28#.ekd5hsnez

Page 12: AWS IoT Button - AWS August Webinar Series

Enterprise Customer Use Cases

“Callback from Nurse” Button

”Callback from Agent” Button

“Create Maintenance Case” Button

“Track med compliance” Button

“Order my favorite Pizza” Button

“Create Support Case/TT” Button

“Order local craft Beer” Button

“Call a Cab” Button

“Smart Souvenir” Button

“Call your Mom on Mothers day” Button

“Check-in/Check-out” Button

“1-click Payment” Button

Page 13: AWS IoT Button - AWS August Webinar Series

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 14: AWS IoT Button - AWS August Webinar Series

Demo: Get Started using Lambda Console‘Click to Send Email’ Blueprint

Step By Step Tutorial: http://docs.aws.amazon.com/iot/latest/developerguide/iot-button-lambda.html

Page 15: AWS IoT Button - AWS August Webinar Series

1.

Page 16: AWS IoT Button - AWS August Webinar Series

2.

Page 17: AWS IoT Button - AWS August Webinar Series

3.

Page 18: AWS IoT Button - AWS August Webinar Series

3.

Page 19: AWS IoT Button - AWS August Webinar Series

4.

Page 20: AWS IoT Button - AWS August Webinar Series

5.

Page 21: AWS IoT Button - AWS August Webinar Series

Under the Covers

Page 22: AWS IoT Button - AWS August Webinar Series

Alert Someone: AWS IoT to AWS Lambda to SNS

Lambda Function

AWS IoTRules Engine

PolicyPrivate Key& Certificate

Button

RuleSDK

AWS IoT

AWS Services

ExecutionRole Policy

SNS Topic

PermissionAction

SNS Topic Subscription

Rule: “Select * from ‘iotbutton/+’

Event Source

Function

SMS or Email

Page 23: AWS IoT Button - AWS August Webinar Series

Demo: Initiate a Call

Page 24: AWS IoT Button - AWS August Webinar Series

Call Someone: AWS IoT to AWS Lambda to an External Endpoint

Lambda Function

Rules Engine

PolicyPrivate Key& Certificate

Thing/Device

RuleSDK

AWS IoT AWS Services

ExecutionRole Policy

External Endpoint

Permission

Rule: Select * from ‘iotbutton/+’

Action

Page 25: AWS IoT Button - AWS August Webinar Series

Demo: Track Usage or Count items

Page 26: AWS IoT Button - AWS August Webinar Series

Count items or Track Usage: AWS IoT to DynamoDB to Dashboard

DynamoDB

Rules Engine

Dashboard

S3 Website

Lambda Function

PolicyPrivate Key& Certificate

Button

RuleSDK

AWS IoT

AWS Services

ExecutionRole

PolicyPermissionAction

Rule: “Select * from ‘iotbutton/+’

Event Source

FunctionDynamoDB API Gateway

Page 27: AWS IoT Button - AWS August Webinar Series

Demo: Control a Device

Page 28: AWS IoT Button - AWS August Webinar Series

Start or Stop Something : AWS IoT to AWS Lambda to an External Endpoint

Lambda Function

Rules Engine

PolicyPrivate Key& Certificate

Thing/Device

RuleSDK

AWS IoT AWS Services

ExecutionRole Policy

External Endpoint

Permission

Rule: Select * from ‘iotbutton/+’

Action

ExternalAPI

LifX API

Page 29: AWS IoT Button - AWS August Webinar Series

Infinite Possibilities

Control an IoT Device Initiate a Call

Alert SomeoneSend Email/SMS

Start and Stop a Process

Track UsageCount Items

Page 30: AWS IoT Button - AWS August Webinar Series

© 2016 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified, or distributed in whole or in part without the express consent of Amazon.com, Inc.

Twitter: #awsiotbutton

Q & A?

Thank YouJinesh Varia @jinman

http://aws.amazon.com/iot/button