This is a presentation from Serverless Summit.
In this session you will learn about how to build your IoT solution with the various components of AWS Serverless backend. We will visit the AWS IoT stack, Kinesis, DynamoDB and AWS Lambda to build an IoT solution.
4. SONOS Trueplay: Smart Speaker Tuning
Trueplay measures the
acoustics in any room and fine-
tunes your speaker
Launched in 2015 yet available
to devices purchased over 5
years ago
Data-driven evaluation and
testing
5. Cloud-connected devices are constantly smarter
« A 10 year old product can do things that hadn't
been invented 10 years ago. Most importantly, going
forward, people will expect your product to improve, and if
it isn't being updated and getting better, you're literally
being left behind. »
6. Philips HealthSuite stores 15PB of
patient data
Data gathered from 390 million
imaging studies, medical records
and patient device inputs
Provide doctors overview of long-
term patient behavior and
symptoms instead of momentary
snapshots
Philips HealthSuite – Improving patient relationship
7. Improve operational efficiency
and patient safety in hospital
pharmacies
RFID tags attached to medical
vials to check contents and age
of medications in kits
Uses AWS to manage information
on more than 6 million tagged
drugs
Kitcheck - Improving patient safety
8. Stream, analyze, store and share
data collected by 200,000
telematically-enabled machines
Provide growers timely and
accurate data for optimal
growing conditions
Help farmers plant more
efficiently and improve crop
yields
John Deere – Plant and grow more efficiently
9. BMW – Make the car the sensor!
Connected-car application
collects sensor data from
BMW 7-series
Built Car-as-a-sensor
(CARASSO) in only 6 months
Provide dynamically
updated map information
10. TATA Motors – Intelligent Fleet management
Collects sensor information and
monitors truck fleets via AWS
Data allows to route fleets more
effectively
Predict engine failures or
mechanical problems and pre-
emptively send trucks to repair
centers
11. “Securely connect
billions of devices to AWS
and interact with
applications, other devices
and the AWS platform”
AWS IoT
18. Registry
Establishes an identity for devices and manages
metadata such as the devices’ attributes and
capabilities
Rules and Actions
Match patterns and take actions to send data to
other AWS services or republish
Shadows
Apps 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
Amazon S3,
AWS Lambda,
Kinesis
DynamoDB
SNS
Elasticsearch
Machine Learning
Mobile App
AWS IoT: Key features
19. Secure by Default
Connect securely via X509 Certs and
TLS v1.2 Client Mutual Auth
Multi-protocol Message Gateway
Millions of devices and apps can connect
over MQTT or HTTP or WebSockets.
Elastic Pub Sub Broker
Go from 1 to 1-billion long-lived
connections with zero provisioning
Subscribers
Publishers
AWS IoT: Key features
20. 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
AWS IoT Platform
27. Respond quickly
to local events
Operate
offline
Simplified device
programming
Reduce the cost of
IoT applications
AWS-grade
security
Benefits
AWS Greengrass
28. Greengrass components
Greengrass is software, not hardware
(you bring your own)
2 components that work together:
• Greengrass Core
• IoT Device SDK
29. AWS Greengrass Core (GGC)
The runtime responsible for Lambda
execution, messaging, device
shadows, security, and for interacting
directly with the cloud
30. AWS Greengrass Core (GGC)
• Min single-core 1 GHz
• Min 128 MB RAM
• x86 and ARM
• Linux (Ubuntu orAmazon)
• The sky is the limit
31. IoT device SDK
Any device that uses the IoT device
SDK can be configured to interact
with AWS Greengrass core via the
local network
Devices can be small or big
Starts with the IoT device SDK
forC++, more coming soon
32. Devices work together locally
An AWS Greengrass group
is a set of cores and other
devices configured to
communicate with one another
33. Devices work together with the cloud
AWS Greengrass works with AWS IoT
to maintain long-lived connections
and process data via
the rules engine
Your Lambda functions can also
interact directly with other AWS
services
51. IoT and Serverless
• AWS IoT takes advantage of Serverless Capabilities
• Scale on demand
• Respond to Events:
• Complex Event Processing
• Triage through queues
• Focus on Benefits
• Innovate and Iterate Fast