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.

14-10242017_IoT_Precipitating-the-Cloud-Local-IoT-Framework-with-Intel-and-AWS-Greengrass_No Notes.pptx

314 views

Published on

Learning Objectives:
- How to gather sensor data on the gateway
- How to setup an Amazon Greengrass core
- How to create business logic using Lambda with Greengrass and How to connect to AWS IoT

  • Be the first to comment

14-10242017_IoT_Precipitating-the-Cloud-Local-IoT-Framework-with-Intel-and-AWS-Greengrass_No Notes.pptx

  1. 1. 1
  2. 2. Intel Gateway overview
  3. 3. THINGS (ENDPOINTS) CLOUD-BASED ANALYTICS 3 The Intel® IoT Platform: A blueprint for connecting devices into the cloud for developers to better leverage data, customize, and scale Intel® Architecture Powers Endpoints, Gateways, Networks, and Cloud GATEWAY NETWORK (DATA CENTER)
  4. 4. 4 Intel® NUC Gateway • Scalable • Open Source • Wide Range of Specifications
  5. 5. 5 Scalable Processing • From Quark to i7 • Get just the right amount of compute power at the edge
  6. 6. 6 Open Source Technology MRAA
  7. 7. Supports Intel, non-Intel (community added) MCU boards, UNIX boards and IoT Gateways Simple I/O protocol control for: Open source on GitHub: http://mraa.io 7 MRAA – I/O Library • GPIO • Analog (AIO) • PWM • SPI • I2C • UART • 1-Wire • Firmata Typical stack on UNIX systems:
  8. 8. 8
  9. 9. 9 Developer Kit
  10. 10. 10 Intel Developer Program: Software.intel.com/iot
  11. 11. 12 AWS IoT DEVICE SDK Set of client libraries to connect, authenticate and exchange messages DEVICE GATEWAY Communicate with devices via MQTT and HTTP AUTHENTICATION Secure with mutual authentication and encryption RULES ENGINE Transform messages based on rules and route to AWS Services AWS Services - - - - - 3P Services SHADOW Persistent thing state during intermittent connections APPLICATIONS AWS IoT API REGISTRY Identity and Management of your things
  12. 12. 13 AWS IoT Data PUBLISH turbines/ev-gen/123 (qos: 0) { "timestamp": "2016-11-29T10:00:00", "temperature": 125, "humidity": 95, ”rotor-freq": 6455, “output”: 480, “output-freq”: 60 }
  13. 13. 14 Issues with Direct Publishing Light Control logic on Device Gateway off on off
  14. 14. 15 Device Shadows Device Controller reported state desired state
  15. 15. 16 AWS IoT Shadow { "state" : { “desired" : { "lights": { "color": "RED" }, "engine" : "ON" }, "reported" : { "lights" : { "color": "GREEN" }, "engine" : "ON" }, "delta" : { "lights" : { "color": "RED" } } }, "version" : 10 } •/update •/update/accepted •/update/documents •/update/rejected •/update/delta •/get •/get/accepted •/get/rejected •/delete •/delete/accepted •/delete/rejected
  16. 16. 18 Cloud Issues • Intermittent Internet • Latency • Too Much Data
  17. 17. 19 The Fog!
  18. 18. Local Lambda Local Device Shadows Local Security Greengrass is… AWS Local Broker
  19. 19. 21
  20. 20. 22
  21. 21. 23 Greengrass Framework • Run Local Systems Control • Communicate and Scale to the Cloud • Deploy and Manage remotely • Securely
  22. 22. 24 Conclusion
  23. 23. Greengrass in action
  24. 24. 26 High Level Overview AWS IoT Intel NUC Arduino 101 Button Software.intel.com/iot/aws Greengrass
  25. 25. 27 In depth Overview AWS IoT Intel NUC Arduino 101 Button MRAA/Firmata GPIO Python Script GG topic: /button MQTT Lambda Subscription Thing Shadow Device SDK/ MQTT Device SDK/ MQTT
  26. 26. Demo
  27. 27. 29 SSH onto NUC
  28. 28. 30 AWS IoT
  29. 29. 31 Greengrass groups
  30. 30. 32 Cores
  31. 31. 33 Devices
  32. 32. 34 Device Shadows
  33. 33. 35 Lambdas
  34. 34. 36 Lambda Details
  35. 35. 37 Core Settings
  36. 36. 38 MQTT Client

×