Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

AWS January 2016 Webinar Series - Getting Started with AWS IoT

5,363 views

Published on

AWS IoT is a managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices.

In this webinar, we will discuss how constrained devices can leverage AWS IoT to send data to the cloud and receive commands back to the device from the cloud using the protocol of their choice. We will discuss how devices can securely connect using MQTT and HTTP protocols, and how developers and businesses can leverage features of AWS IoT like Device Shadows, a JSON document used to store and retrieve current state information for device, app and so on, and Rules Engine, which provides message processing and integration with other AWS services, to build a real connected product.
Learning Objectives:
Understand what AWS IoT is and an introduction to the Internet of Things
Understand connecting a device with a live example
Understand using the Device Gateway, Rules Engine, Registry, Device Shadows
Who Should Attend:

IoT Developers

Published in: Technology

AWS January 2016 Webinar Series - Getting Started with AWS IoT

  1. 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. John Rotach January 26, 2016 AWS IoT Getting Started
  2. 2. Today’s Webinar Overview of AWS IoT Build a Working Demo Video
  3. 3. AWS IoT 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 Services - - - - - 3P Services DEVICE SHADOW Persistent thing state during intermittent connections APPLICATIONS AWS IoT API DEVICE REGISTRY Identity and Management of your things
  4. 4. Security and Identity AUTHENTICATION Secure with mutual authentication and encryption
  5. 5. Security and Identity TLS Mutual Authentication Fine-Grained Permissions through Policies Standard Web Security
  6. 6. Device Gateway
  7. 7. Device Gateway Standard protocols – MQTT / HTTP AWS front-end for devices Scalable, long-lived connections Secure by default – X509 certs, TLS 1.2 Topic Based Architecture building3/chillers/unit5 building3/pickers/unit9 building1/chillers/unit1
  8. 8. Device Registry THING REGISTRY Identity and Management of your things
  9. 9. Device Registry $ aws --region us-east-1 iot describe-thing --thing-name pump1 { "attributes": { "MN": "AB776", "install_date": "12-23-2011", "SN": "225458854" }, "thingName": "pump1", "defaultClientId": "pump1" }
  10. 10. Device Shadows THING SHADOW Persistent thing state during intermittent connections
  11. 11. Device Shadows { "state" : { “desired" : { "lights": { "color": "RED" }, "engine" : "ON" }, "reported" : { "lights" : { "color": "GREEN" }, "engine" : "ON" }, "delta" : { "lights" : { "color": "RED" } } }, "version" : 10 } Thing Report its current state to one or multiple shadow 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
  12. 12. Device Shadows { "state" : { “desired" : { "engine" : "ON”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "reported" : { "engine" : ”OFF”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "version" : 10 }
  13. 13. Device Shadows { "state" : { “desired" : { "engine" : "ON”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "reported" : { "engine" : ”OFF”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "delta" : { ”engine" : “ON” } }, "version" : 10 } "engine" : ”ON”
  14. 14. Device Shadows { "state" : { “desired" : { "engine" : "ON”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "reported" : { "engine" : ”OFF”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "delta" : { ”engine" : “ON” } }, "version" : 10 } "engine" : ”OFF”
  15. 15. Device Shadows { "state" : { “desired" : { "engine" : "ON”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "reported" : { "engine" : ”OFF”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "delta" : { ”engine" : “ON” } }, "version" : 10 } "engine" : "ON”
  16. 16. Device Shadows { "state" : { “desired" : { "engine" : "ON”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "reported" : { "engine" : ”ON”, “tires”: { “LF”:40, “RF”:38, “LR”:37, “RR”:39 }, “CCD”: { “A”:0, “B”:8, “C”:7, “D”:9 } }, "version" : 10 } "engine" : "ON”
  17. 17. Rules Engine RULES ENGINE Transform messages based on rules and route to AWS Services
  18. 18. Rules Engine building1/chillers/xx881 building1/fans/aj982 building3/chillers/ks434 building1/radiators/ss243 building2/chillers/fe324 "sql": "SELECT * FROM 'building1/#'" "actions": [{ "dynamoDB":….
  19. 19. Rules Engine building1/chillers/xx881 building1/fans/aj982 building3/chillers/ks434 building1/radiators/ss243 building2/chillers/fe324 "sql": "SELECT * FROM '+/chillers/+' WHERE coolant < 20" "actions": [{"lambda":{"functionArn":... {"sns":{"topicArn":...
  20. 20. Rules Engine Integrations • DynamoDB • Kinesis • Lambda • S3 • SNS • Firehose • SQS • Republish (AWS IoT) Transformations • round • ceiling/floor • trig – sin/cos/tan • MD5 • concatination • replace • client ID • topic tokens
  21. 21. Device SDKs C-SDK RTOS, μControllers JS-SDK Embedded Linux Platforms Arduino Yún Arduino Mobile SDKs Android and iOS
  22. 22. Starter Kits
  23. 23. Demo Hardware http://amzn.to/1RHEZGW Arrow / Qualcomm DragonBoard 410c http://amzn.to/1ZM5yu2 Seeed Studio BeagleBone Green http://amzn.to/1Sdt8PM Intel Edison
  24. 24. Demo Hardware •Qualcomm® Snapdragon 410 processor, a Quad-core ARM® Cortex A53 •WLAN 802.11b/g/n 2.4GHz, Bluetooth 4.1, On-board GPS •1GB LPDDR3 533MHz •Supports Android 5.1, Ubuntu Linux, Windows 10
  25. 25. Building an IoT Use Case
  26. 26. Use Case – Pool Pump • Actual customer story • Control a device • Intermittent connectivity • Notification when synced
  27. 27. Use Case – Architecture Overview AWS IoT Device Shadow Rule SNS Application (Console) Device
  28. 28. Use Case – Pool Pump Live walkthrough of building out this use case.
  29. 29. Hardware Video
  30. 30. Questions After the Webinar? General Page http://aws.amazon.com/iot/ Developer Guide http://docs.aws.amazon.com/iot/latest/developerguide AWS IoT Forum https://forums.aws.amazon.com/forum.jspa?forumID=210
  31. 31. Thank you!

×