Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Connecting the Unconnected: IoT Made Simple

Connecting the Unconnected: IoT Made Simple

October 25th, 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

October 25, 2016
Tweet

More Decks by Danilo Poccia

Other Decks in Programming

Transcript

  1. 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
  2. Closer Relationship with Your Customers Processes That Are More Efficient

    and Predictable Smarter Products That Get Better with Time
  3. 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
  4. We are enabling the transformation of healthcare to a networked,

    patient-centric model Philips H ealthSuite
  5. 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
  6. Devices Are Hard to Connect, Manage Things Do Not Interoperate

    Out of The Box Low Signal to Noise Ratio in Collected Data
  7. 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
  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. Registry Hardware Revision Firmware Version Serial Numbers Device Type Device

    Group Device Description Link to Product
 Documentation . . .
  10. 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
  11. 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
  12. 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”
  13. Device Shadows RESTful API https://endpoint/things/thingName/shadow endpoint = identifier.iot.region.amazonaws.com HTTP GET

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

  15. 10

  16. 100

  17. 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 or Device Shadows