2. 2
IoT (Internet of Tings)
• The Internet of Things (IoT) is the network of physical objects or "things" embedded with
electronics, software, sensors, and network connectivity, which enables these objects to collect
and exchange data
4. 4
AWS IoT Components
• Thing Registry
– Organizes the resources associated with each thing. You register your things and associate up
to three custom attributes with each thing.
• Security and identity service
– Provides shared responsibility for security in the AWS cloud. Your things must keep their
credentials safe in order to send data securely to the message broker.
5. 5
AWS IoT Components
• Message broker
– Provides a secure mechanism for things and IoT applications to publish and receive messages
from each other. You can use the MQTT protocol to publish and subscribe. You can use the
HTTP REST interface to publish.
6. 6
• Rules engine
– Provides message processing and integration with other AWS services. You can use a SQL-
based language to select data from message payloads, process the data, and send the data to
other services, such as Amazon S3, Amazon DynamoDB, and AWS Lambda. You can also use
the message broker to republish messages to other subscribers.
AWS IoT Components
7. 7
• How to get data if the sensor temperature is over 50 °C ?
– JSON
– SELECT Statements
• Iot/thing/# is topic name and temp > 50 is our criteria
AWS IoT Components
{
"deviceid" : "iot123",
"temp" : 54.98,
"humidity" : 32.43,
"coords" : {
"latitude" : 47.615694,
"longitude" : -122.3359976
}
}
SELECT * FROM 'iot/thing/#' WHERE temp > 50
8. 8
AWS IoT Components
• Thing Shadows
– Provides persistent representations of your things in the AWS cloud. You can publish updated
state information to a thing shadow, and your thing can synchronize its state when it
connects. Your things can also publish their current state to a thing shadow for use by
applications or devices.
9. 9
Why AWS IoT
• Easy to use
– Common interface (MQTT, HTTP)
– Lots of web service
• Flexible
– Provide SDK API for developers (Embedded C, JavaScript, Arduino Yún)
• Cost-Effective
– Free 250,000 Messages per month in first year ($5 per million messages after first year)
– Don’t need to maintain machine
• Reliable
• Scalable and high-performance
• Secure