Hands-on with AWS IoT

Preview:

Citation preview

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Hands-on with AWS IoT

Julien Simon, Principal Technical Evangelist, AWS julsimon@amazon.fr

@julsimon

DEVICE SDK Set of client libraries to

connect, authenticate and exchange messages

DEVICE GATEWAY Communicate with devices via

MQTT and HTTP

AUTHENTICATION AUTHORIZATION

Secure with mutual authentication and encryption

RULES ENGINE Transform messages based on rules and

route to AWS Services

AWS - - - - -

3rd party

DEVICE SHADOW Persistent thing state

during intermittent connections

APPLICATIONS

AWS IoT API

DEVICE REGISTRY Identity and Management of

your things

*** NEW (April 7) : AWS IoT is now available in eu-central-1 (Frankfurt)

Official AWS IoT Starter Kits

Personal picture

MQTT Protocol

MQTTS vs HTTPS: 93x faster throughput 11.89x less battery to send 170.9x less battery to receive 50% less power to stay connected 8x less network overhead

Source: http://stephendnicholas.com/archives/1217

•  OASIS standard protocol (v3.1.1) •  Lightweight, transport protocol that is

useful for connected devices •  Publish-subscribe with topics

•  MQTT is used on oil rigs, connected trucks, and many more critical applications

•  Until now, customers had to build, maintain and scale a broker to use MQTT with cloud applications

MQTT: device-to-device communication

mydevices/alert

MQTT: collect data from a device

mydevices/4

mydevices/4

MQTT: aggregate data from many devices

mydevices/#

mydevices/1 mydevices/2 mydevices/3 ….

Amazon DynamoDB

Applications

MQTT: update a device

mydevices/4

mydevices/4

1. AWS Services (Direct Integration)

Rules Engine

Actions

AWS IoT Rules

AWS Lambda

Amazon SNS

Amazon SQS

Amazon S3

Amazon Kinesis

Amazon DynamoDB Amazon RDS

Amazon Redshift

Amazon Glacier

Amazon EC2

3. External Endpoints (via Lambda and SNS)

Rules connect AWS IoT to External Endpoints and AWS Services.

2. Rest of AWS (via Amazon Kinesis, AWS Lambda, Amazon S3, and more)

*** NEW (March 16) : direct integration with Amazon Elasticsearch & CloudWatch *** NEW (April 11) : direct integration with Amazon Machine Learning

Thank you!

Julien Simon, Principal Technical Evangelist, AWS julsimon@amazon.fr

@julsimon

Recommended