aws iot button - aws august webinar series

Post on 16-Apr-2017

1.856 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

© 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

Agenda

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

Button• Demos• Questions

AWS IoT

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

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

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.

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

Sassy Ping PongScore Keeper

Source: 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-but-ton-84a6e14b6b28#.ekd5hsnez

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

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

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

1.

2.

3.

3.

4.

5.

Under the Covers

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

Demo: Initiate a Call

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

Demo: Track Usage or Count items

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

Demo: Control a Device

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

Infinite Possibilities

Control an IoT Device Initiate a Call

Alert SomeoneSend Email/SMS

Start and Stop a Process

Track UsageCount Items

© 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

top related