Thomas Jones, Partner Solutions Architect
AWS IoT OverviewJuly 2016
AWS customers are connecting physical things to the cloud in every industry imaginable.
Healthcare and Life Sciences
Municipal Infrastructure
Smart Home Retail
Manufacturing, Logistics & Supply Chain
Agriculture Education Automotive
IoT connects things, but what is a “thing”?
• iPads are “things”• Laptops are “things”• Sensors and actuators are “things”• Embedded devices are “things”
• If it has a Cert, MQTT, and an IP address then itcan be a “connected thing”
AWS IoT is a fully managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices.
Extract and Filter data from your devices and
take action with custom Rules
Securely connect and manage any physical device across multiple networks and protocols
Create Web and Mobile Applications
that Interact with Devices reliably at any
time
Device SDK Device Security and Policy Management Device Gateway Registry Rules Engine Shadow
DEVICE SDKSet of client libraries to
connect, authenticate and exchange messages
DEVICE GATEWAYCommunicate with devices via
MQTT and HTTP
AUTHENTICATIONSecure with mutual
authentication and encryption
RULES ENGINETransform messages
based on rules and route to AWS Services
AWS Services- - - - -
3P Services
SHADOWPersistent thing state during
intermittent connections
APPLICATIONS
AWS IoT API
REGISTRYIdentity and Management of
your things
AWS IoT Overview
Administration
AWS IoT
Data storage& analytics
Sensors
Example: Connected Farm
Actuators
Controlautomation
Basics of IoT Telemetry & Analytics
1. Connect devices2. Send data3. Collect & store the data4. Do something with the data
AWS IoT Components
AWS IoT: Front Door to AWS
RegistryEstablishes an identity for devices and manages metadata such as the devices’ attributes and capabilities
Rules and ActionsMatch patterns and take actions to send data to other AWS services or republish
ShadowsApps and devices can access “RESTful” Shadow (Thing’s State) that is in sync with the device
{Thing Name,Sensor Temp,, GetTemp(),Output LED}
Rules Engine
Shadow
Registry
S3 Lambda,Kinesis DynamoDBSNS
Mobile App
Subscribers
Publishers
Secure by DefaultConnect securely via X509 Certs andTLS v1.2 Client Mutual Auth
Multi-protocol Message GatewayMillions of devices and apps can connectover MQTT or HTTP.
Elastic Pub Sub BrokerGo from 1 to 1-billion long-lived connections with zero provisioning
AWS IoT: Securely Connect Devices
Enforce Security and Policies End to End
PolicyPrivate Key& Certificate
Thing/Device
Rule
IAM Role
PolicySDK
AWS IoT AWS Services
ExecutionRole
Policy
Sample IoT Architecture
Amazon SQS
Credentials
IAM
DynamoDB
Lambda
mobile app / device
API Gateway
AWS CognitoEC2 Instances
Amazon SNS
RDS
AWS IoT
1. AWS Services(Direct Integration)
Rules Engine
Actions
LambdaSNS SQS
S3 KinesisDDB RDS
Redshift
Glacier
EC2
3. External Endpoints(via Lambda and SNS)
Rules Engine connects AWS IoT to External Endpoints and AWS Services.
2. Rest of AWS(via Kinesis, Lambda, S3, and more)
AWS IoT Rules Engine
AWS IoT 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 shadowsRetrieve 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
Increase The Value of A Product Over Time with Data
Telemetry and Usage Data Data Filtering and Routing RulesOrdered Stream to Kinesis Firehose
Storage and Offline Analysis
Online Monitoring
Customization, New Capabilities
AWS: The Full Platform For IoT
SDKs & Tools
Connecting To The Cloud
Data Ingestion
Security & Management
Cloud Powered
Apps
Big Data & Analytics
Prediction
Thank You!