AWS IoT Button - AWS August Webinar Series

  • View
    1.830

  • Download
    0

Embed Size (px)

Transcript

PowerPoint Presentation

Jinesh Varia, AWS IoTThere is an App Button for thatAWS IoT Button

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.

AgendaAWS IoT OverviewAWS IoT ButtonGetting Started with AWS IoT using the AWS IoT ButtonDemosQuestions

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

3

AWS IoT

DEVICE SDKSet of client libraries to connect, authenticate and exchange messagesDEVICE GATEWAYCommunicate with devices via MQTT and HTTPAUTHENTICATIONAUTHORIZATIONSecure 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

APPLICATIONSAWS IoT API

DEVICE REGISTRYIdentity and Management of your things

4

AWS IoT Button Limited Release Programmable Dash Button

An easy way to get started with the Internet of ThingsA programmable Wi-Fi button for developers to learn how to use AWS IoT, Lambda, DynamoDB, SNSUse the button to count items, track usage, initiate a call, send alerts or start and stop a process or connected productEliminate the hassle of writing device-specific code; code in the cloud to configure your button's single, double, and long clicks.

5

Developer Use casesCall an uber cabOrder PizzaStart a carPoke someone on FacebookLike something on FacebookMayday buttonTweet SomethingCall customer serviceSlack itApprove Expense reportsCount thingsTrack ThingsTrack MedsTrack baby sleepsI left office, honeyDoorbellRefill prescriptions

Sassy Ping PongScore KeeperSource: https://www.hackster.io/youngd/ping-pong-showdown-eabaed

Slack-powered Doorbell

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

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

EmergencySweet Green Ordering

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-button-84a6e14b6b28#.ekd5hsnez

Enterprise Customer Use CasesCallback from Nurse ButtonCallback from Agent ButtonCreate Maintenance Case ButtonTrack med compliance ButtonOrder my favorite Pizza Button Create Support Case/TT ButtonOrder local craft Beer Button Call a Cab ButtonSmart Souvenir ButtonCall your Mom on Mothers day ButtonCheck-in/Check-out Button1-click Payment Button

How does it work?

Invoke a Lambda functionPut object in an S3 bucketInsert, Update, Read from a DynamoDB tablePublish to an SNS Topic or EndpointPublish to a Kinesis stream

Kinesis Firehose > RedshiftRepublish to AWS IoT

AWS IoT

Demo: Get Started using Lambda ConsoleClick to Send Email Blueprint

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

14

1.

2.

3.

3.

18

4.

5.

Under the Covers

21

Alert Someone: AWS IoT to AWS Lambda to SNS

Lambda FunctionAWS IoTRules EnginePolicyPrivate Key& CertificateButton

RuleSDK

AWS IoTAWS ServicesExecutionRolePolicy

SNS Topic

Permission

Action

SNS Topic

SubscriptionRule: Select * from iotbutton/+Event Source

FunctionSMS or Email

22

Demo: Initiate a Call

23

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

Lambda FunctionRules EnginePolicyPrivate Key& CertificateThing/Device

RuleSDK

AWS IoTAWS ServicesExecutionRolePolicy

External Endpoint

Permission

Rule: Select * from iotbutton/+

Action

24

Demo: Track Usage or Count items

25

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

DynamoDBRules Engine

Dashboard

S3 Website

Lambda Function

PolicyPrivate Key& CertificateButton

RuleSDK

AWS IoTAWS ServicesExecutionRolePolicy

Permission

Action

Rule: Select * from iotbutton/+Event SourceFunction

DynamoDBAPI Gateway

26

Demo: Control a Device

27

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

Lambda FunctionRules EnginePolicyPrivate Key& CertificateThing/Device

RuleSDK

AWS IoTAWS ServicesExecutionRolePolicy

External Endpoint

Permission

Rule: Select * from iotbutton/+

Action

ExternalAPI

LifX API

28

Infinite Possibilities

Control an IoT DeviceInitiate a CallAlert SomeoneSend Email/SMSStart and Stop a ProcessTrack UsageCount Items

Twitter: #awsiotbuttonQ & A?

Thank YouJinesh Varia @jinman

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

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.