$30 off During Our Annual Pro Sale. View Details »

Connecting the Unconnected with AWS IoT

Connecting the Unconnected with AWS IoT

Webinar with Cloud Academy, London, November 24th, 2016

Connecting physical devices to the cloud can enhance the user experience. AWS IoT is a new managed service that enables Internet-connected things (sensors, actuators, devices, and applications) to easily and securely interact with each other and the cloud. In this session, we will discuss how constrained devices can send data to the cloud and receive commands back to the device. Devices can securely connect using MQTT, HTTP and WebSockets protocols and developers can leverage several features of AWS IoT such as the Rules Engine and Thing Shadows to quickly and easily build a real connected product. This session will take a practical approach to developing real-world IoT and mobile applications in which the back end is serverless and can scale from one to virtually unlimited users without any infrastructure or servers to manage.

Danilo Poccia

November 24, 2016
Tweet

More Decks by Danilo Poccia

Other Decks in Programming

Transcript

  1. Danilo Poccia Technical Evangelist Amazon Web Services @danilop danilop Connecting

    the Unconnected with AWS IoT Alex Casalboni Cloud Evangelist Cloud Academy @alex_casalboni alexcasalboni
  2. Sonos is the smart speaker system that streams all your

    favorite music to any room, or every room. Control your music with one simple app, and fill your home with pure, immersive sound. All the music on earth, in every room of your home, wirelessly Sonos
  3. Closer Relationship with Your Customers Processes That Are More Efficient

    and Predictable Smarter Products That Get Better with Time
  4. Offerings That Were Not Possible Before Closer Relationship with Your

    Customers Processes That Are More Efficient and Predictable Smarter Products That Get Better with Time
  5. We are enabling the transformation of healthcare to a networked,

    patient-centric model Philips H ealthSuite
  6. Smarter Products That Get Better with Time Offerings That Were

    Not Possible Before Processes That Are More Efficient and Predictable Closer Relationship with Your Customers
  7. Devices Are Hard to Connect, Manage Things Do Not Interoperate

    Out of The Box Low Signal to Noise Ratio in Collected Data
  8. Devices Are Hard to Connect, Manage Applications and Things Do

    Not Always Match Things Do Not Interoperate Out of The Box Low Signal to Noise Ratio in Collected Data
  9. Devices Are Hard to Connect, Manage Applications and Things Do

    Not Always Match Things Do Not Interoperate Out of The Box Low Signal to Noise Ratio in Collected Data
  10. Registry Hardware Revision Firmware Version Serial Numbers Device Type Device

    Group Device Description Link to Product
 Documentation . . .
  11. Device Gateway Millions of devices and apps can connect over


    MQTT,
 WebSockets,
 and HTTP 1.1 Powerful
 Pub/Sub Broker
 with Long-lived
 bi-directional messages
  12. Rules Engine SELECT *
 FROM ‘things/thing-2/color’
 WHERE color = ‘red’

    Simple & Familiar Syntax SQL Statement to define topic filter with JSON support Functions improve signal : noise
  13. MQTT Topic Device A “Sensor” Device B “Control Center” (1)

    Subscribe (3) Message (2) Publish MQTT Topic = topic level / topic level / … ↓ “myapp/customer123/house4/kitchen/temperature”
  14. Wildcards for Topic Subscriptions ‘+’ single level ‘#’ multi level

    “myapp/customer123/house4/+/temperature” “myapp/+/+/kitchen/+” “myapp/customer123/house4/#” “myapp/customer123/#” “myapp/#” $topics are not subscribed by “#’”
  15. Device Shadows RESTful API https://endpoint/things/thingName/shadow endpoint = identifier.iot.region.amazonaws.com HTTP GET

    → GetThingShadow HTTP POST → UpdateThingShadow HTTP DELETE → DeleteThingShadow
  16. 1

  17. 10

  18. 10

  19. 100

  20. Serverless IoT Analytics IoT Sensors (MQTT) MQTT Topics AWS IoT

    Rules Kinesis Firehose Kinesis Analytics App Kinesis Stream Lambda Function Web App (MQTT over WebSockets) S3 Bucket MQTT Topics
  21. Thank you! Danilo Poccia Technical Evangelist Amazon Web Services @danilop

    danilop Alex Casalboni Cloud Evangelist Cloud Academy @alex_casalboni alexcasalboni