SlideShare a Scribd company logo
1 of 53
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Twitter: @madhushekar23
Linkedin: /in/madhusudanshekar
IoT  Serverless
Madhusudan Shekar
Business of IoT
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
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. »
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
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
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
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
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
“Securely connect
billions of devices to AWS
and interact with
applications, other devices
and the AWS platform”
AWS IoT
Serverless
Going Serverless…
Code is all you need Event driven scaling
Never pay for idle Availability and fault tolerance built in
AWS Serverless offerings
And more !!
Lambda DynamoDB S3 Kinesis
How Lambda works
S3 event
notifications
DynamoDB
Streams
Kinesis
events
Cognito
events
SNS
events
Custom
events
CloudTrail
events LambdaDynamoDB
Kinesis S3
Any custom
Redshift
SNS
CloudWatch
events
How does a Lambda function looks like?
def hello(event, context):
return {
"message": ”Hello World!",
"event": event
}
'use strict';
handlermodule.exports.hello = (event, context, cb) => cb(null,
{ message: ’Hello World!', event }
);
AWS IoT
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
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
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
Demo Time Lets Sync a Light Bulb
Light bulb explained
Amazon
Cognito
AWS IoTIoT
shadow
MQTT
IoT with AWS
IoT with AWS
IoT Endpoints IoT Edge IoT Cloud Enterprise Applications
Thing
s
Thing
s
Thing
s
Deviceshadow
Deviceshadow
Greengrass
Lambda
Functions
Deviceshadow
Local Comms
Edge
Users
Long-range Comms
Device
shadow
Rules
Engine
AWS IoT
service
IoT
Users
AWS
Lambda
Amazon
Kinesis
Amazon
DynamoDB
AWS
Amazon Machine
Learning
Amazon
Redshift
IoT
Analytics
Big Data, Machine Learning,
& Integration
Real-time viewCorrelationAnalysisArchive
Enterprise
Users
Corp Apps
Corp Data Center
MQT
T
MQT
T
MQT
T
MQT
T
MQT
T
MQT
T
IoT Partners
Operating systems
Consulting
Wireless operator
OEM
ISVsSilicon
Cloud
Moving to the Edge
Devices
Local
actions
Local
Lambda Functions
Security
AWS-grade
security
Local
triggers
Local
Message Broker
Data and
state sync
Local
Device Shadows
Features
AWS Greengrass
Respond quickly
to local events
Operate
offline
Simplified device
programming
Reduce the cost of
IoT applications
AWS-grade
security
Benefits
AWS Greengrass
Greengrass components
Greengrass is software, not hardware
(you bring your own)
2 components that work together:
• Greengrass Core
• IoT Device SDK
AWS Greengrass Core (GGC)
The runtime responsible for Lambda
execution, messaging, device
shadows, security, and for interacting
directly with the cloud
AWS Greengrass Core (GGC)
• Min single-core 1 GHz
• Min 128 MB RAM
• x86 and ARM
• Linux (Ubuntu orAmazon)
• The sky is the limit
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
Devices work together locally
An AWS Greengrass group
is a set of cores and other
devices configured to
communicate with one another
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
How about a Connected Car
Connected Car
Each Car with a GreenGrass Core with sensors sending data to it
What features - Connected Car Platform
Connected Vehicle Cloud
• Secure data consumption
• Vehicle health reports
• Anomaly detection
• Diagnostics alerts
• Map Integration
• Mobile Companion Application
Infotainment / eCommerce
• Head Unit AGL Prototype
• Alexa Voice Services
• Facial recognition
• Hands-free accessibility
• Location-based offers
• Music Integration
• Amazon Video Integration
AWS Components for Connected Vehicle
Connected Vehicle
AWS Connected Vehicle Cloud Reference Architecture
On the vehicle
AWS Connected Vehicle Cloud Reference Architecture
AWS IoT Ingest
AWS Connected Vehicle Cloud Reference Architecture
Just-in-Time Registration
AWS Connected Vehicle Cloud Reference Architecture
Storage and Delivery
AWS Connected Vehicle Cloud Reference Architecture
Anomaly Detection
AWS Connected Vehicle Cloud Reference Architecture
Aggregated Telemetry Data
AWS Connected Vehicle Cloud Reference Architecture
Drive Score Algorithm
AWS Connected Vehicle Cloud Reference Architecture
DTC Detection
AWS Connected Vehicle Cloud Reference Architecture
Connected Vehicle APIs
AWS Connected Vehicle Cloud Reference Architecture
Authentication and Authorization
AWS Connected Vehicle Cloud Reference Architecture
AWS Connected Vehicle Cloud
AWS Connected Vehicle Cloud Reference Architecture
Demo Time!!
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
IoT Device SDK
Thank you
Twitter: @madhushekar23
Linkedin: /in/madhusudanshekar

More Related Content

What's hot

Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017Amazon Web Services
 
Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...
Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...
Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...Amazon Web Services
 
Getting started with Serverless on AWS
Getting started with Serverless on AWSGetting started with Serverless on AWS
Getting started with Serverless on AWSAdrian Hornsby
 
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...Amazon Web Services
 
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...Amazon Web Services
 
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...Amazon Web Services
 
Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Amazon Web Services
 
Going Global with AWS: Customer Case Study with Bynder
Going Global with AWS: Customer Case Study with BynderGoing Global with AWS: Customer Case Study with Bynder
Going Global with AWS: Customer Case Study with BynderAmazon Web Services
 
Lessons & Use-Cases at Scale - Dr. Pete Stanski
Lessons & Use-Cases at Scale - Dr. Pete StanskiLessons & Use-Cases at Scale - Dr. Pete Stanski
Lessons & Use-Cases at Scale - Dr. Pete StanskiAmazon Web Services
 
Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...
Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...
Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...Amazon Web Services
 
AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)
AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)
AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)Amazon Web Services
 
Syn254 showdown aws vs. azure for desktop delivery - final
Syn254   showdown aws vs. azure for desktop delivery - finalSyn254   showdown aws vs. azure for desktop delivery - final
Syn254 showdown aws vs. azure for desktop delivery - finalHenrik Johansson
 
Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017
Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017
Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017Amazon Web Services
 
Intro Presentation at AWS AWSome Day Dublin July 2015
Intro Presentation at AWS AWSome Day Dublin July 2015Intro Presentation at AWS AWSome Day Dublin July 2015
Intro Presentation at AWS AWSome Day Dublin July 2015Ian Massingham
 
Building Intelligent Solutions with AWS IoT
Building Intelligent Solutions with AWS IoT Building Intelligent Solutions with AWS IoT
Building Intelligent Solutions with AWS IoT Amazon Web Services
 
Building a Data Processing Pipeline on AWS
Building a Data Processing Pipeline on AWSBuilding a Data Processing Pipeline on AWS
Building a Data Processing Pipeline on AWSAmazon Web Services
 
Accelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAccelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAmazon Web Services
 
Compliance in the Cloud Using “Security by Design” Principles
Compliance in the Cloud Using “Security by Design” PrinciplesCompliance in the Cloud Using “Security by Design” Principles
Compliance in the Cloud Using “Security by Design” PrinciplesAmazon Web Services
 
I servizi AWS per le applicazioni mobili: sviluppo, test e produzione
I servizi AWS per le applicazioni mobili: sviluppo, test e produzioneI servizi AWS per le applicazioni mobili: sviluppo, test e produzione
I servizi AWS per le applicazioni mobili: sviluppo, test e produzioneAmazon Web Services
 
Big Data & Analytics: End to End on AWS - Technical 101
Big Data & Analytics: End to End on AWS - Technical 101Big Data & Analytics: End to End on AWS - Technical 101
Big Data & Analytics: End to End on AWS - Technical 101Amazon Web Services
 

What's hot (20)

Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
Building a Data Processing Pipeline on AWS - AWS Summit SG 2017
 
Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...
Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...
Trova ed utilizza in modo sicuro nel Cloud il software che ti serve con l'AWS...
 
Getting started with Serverless on AWS
Getting started with Serverless on AWSGetting started with Serverless on AWS
Getting started with Serverless on AWS
 
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
 
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
BDA308 Serverless Analytics with Amazon Athena and Amazon QuickSight, featuri...
 
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG  2017...
SQL Strikes Back! Options for Large Scale SQL Analytics - AWS Summit SG 2017...
 
Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017 Serverless solutions - AWS Summit SG 2017
Serverless solutions - AWS Summit SG 2017
 
Going Global with AWS: Customer Case Study with Bynder
Going Global with AWS: Customer Case Study with BynderGoing Global with AWS: Customer Case Study with Bynder
Going Global with AWS: Customer Case Study with Bynder
 
Lessons & Use-Cases at Scale - Dr. Pete Stanski
Lessons & Use-Cases at Scale - Dr. Pete StanskiLessons & Use-Cases at Scale - Dr. Pete Stanski
Lessons & Use-Cases at Scale - Dr. Pete Stanski
 
Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...
Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...
Bringing Governance to an Existing Cloud at NASA’s Jet Propulsion Laboratory ...
 
AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)
AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)
AWS re:Invent 2016: IoT: Build, Test, and Securely Scale (GPST302)
 
Syn254 showdown aws vs. azure for desktop delivery - final
Syn254   showdown aws vs. azure for desktop delivery - finalSyn254   showdown aws vs. azure for desktop delivery - final
Syn254 showdown aws vs. azure for desktop delivery - final
 
Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017
Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017
Best Practices Using Big Data on AWS | AWS Public Sector Summit 2017
 
Intro Presentation at AWS AWSome Day Dublin July 2015
Intro Presentation at AWS AWSome Day Dublin July 2015Intro Presentation at AWS AWSome Day Dublin July 2015
Intro Presentation at AWS AWSome Day Dublin July 2015
 
Building Intelligent Solutions with AWS IoT
Building Intelligent Solutions with AWS IoT Building Intelligent Solutions with AWS IoT
Building Intelligent Solutions with AWS IoT
 
Building a Data Processing Pipeline on AWS
Building a Data Processing Pipeline on AWSBuilding a Data Processing Pipeline on AWS
Building a Data Processing Pipeline on AWS
 
Accelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAccelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform Services
 
Compliance in the Cloud Using “Security by Design” Principles
Compliance in the Cloud Using “Security by Design” PrinciplesCompliance in the Cloud Using “Security by Design” Principles
Compliance in the Cloud Using “Security by Design” Principles
 
I servizi AWS per le applicazioni mobili: sviluppo, test e produzione
I servizi AWS per le applicazioni mobili: sviluppo, test e produzioneI servizi AWS per le applicazioni mobili: sviluppo, test e produzione
I servizi AWS per le applicazioni mobili: sviluppo, test e produzione
 
Big Data & Analytics: End to End on AWS - Technical 101
Big Data & Analytics: End to End on AWS - Technical 101Big Data & Analytics: End to End on AWS - Technical 101
Big Data & Analytics: End to End on AWS - Technical 101
 

Similar to AWS IoT and Serverless

Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...
Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...
Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...AWS Germany
 
AWS IoT: colmare il divario tra il mondo fisico e quello digitale
AWS IoT: colmare il divario tra il mondo fisico e quello digitaleAWS IoT: colmare il divario tra il mondo fisico e quello digitale
AWS IoT: colmare il divario tra il mondo fisico e quello digitaleAmazon Web Services
 
(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWS(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWSAmazon Web Services
 
Derive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWSDerive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWSAdrian Hornsby
 
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)Amazon Web Services Korea
 
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...DEVCON
 
Derive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWSDerive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWSAdrian Hornsby
 
Bringing the Internet of Things “IoT” to Government: Enabling Smart Nations
Bringing the Internet of Things “IoT” to Government: Enabling Smart NationsBringing the Internet of Things “IoT” to Government: Enabling Smart Nations
Bringing the Internet of Things “IoT” to Government: Enabling Smart NationsAmazon Web Services
 
Serverless Data Processing on AWS - Level 300
Serverless Data Processing on AWS - Level 300Serverless Data Processing on AWS - Level 300
Serverless Data Processing on AWS - Level 300Amazon Web Services
 
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...Amazon Web Services
 
IoT at the Edge: Greengrass and More!
IoT at the Edge: Greengrass and More!IoT at the Edge: Greengrass and More!
IoT at the Edge: Greengrass and More!Amazon Web Services
 
Social & Mobile Apps journey through the cloud
Social & Mobile Apps   journey through the cloudSocial & Mobile Apps   journey through the cloud
Social & Mobile Apps journey through the cloudIan Massingham
 
Journey Through the Cloud - Social & Mobile Apps
Journey Through the Cloud - Social & Mobile Apps Journey Through the Cloud - Social & Mobile Apps
Journey Through the Cloud - Social & Mobile Apps Amazon Web Services
 
Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...
Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...
Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...AWS Germany
 
Journey Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social AppsJourney Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social AppsAmazon Web Services
 
Smart Cities. Brad Coughlan. AWS
Smart Cities. Brad Coughlan. AWSSmart Cities. Brad Coughlan. AWS
Smart Cities. Brad Coughlan. AWSHelen Rogers
 
AWS Customer Presentation - Angelbeat Princeton Seminar
AWS Customer Presentation -  Angelbeat Princeton SeminarAWS Customer Presentation -  Angelbeat Princeton Seminar
AWS Customer Presentation - Angelbeat Princeton SeminarAmazon Web Services
 
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017Amazon Web Services
 

Similar to AWS IoT and Serverless (20)

Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...
Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...
Internet der Ingenieure - reale und virtuelle Welten verschmelzen - AWS IoT W...
 
AWS IoT: colmare il divario tra il mondo fisico e quello digitale
AWS IoT: colmare il divario tra il mondo fisico e quello digitaleAWS IoT: colmare il divario tra il mondo fisico e quello digitale
AWS IoT: colmare il divario tra il mondo fisico e quello digitale
 
(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWS(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWS
 
AWS for IoT
AWS for IoTAWS for IoT
AWS for IoT
 
Derive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWSDerive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWS
 
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
 
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
A Smarter World: The Mesh of Interconnected Devices and Artificial Intelligen...
 
Derive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWSDerive Insight from IoT data in minute with AWS
Derive Insight from IoT data in minute with AWS
 
Bringing the Internet of Things “IoT” to Government: Enabling Smart Nations
Bringing the Internet of Things “IoT” to Government: Enabling Smart NationsBringing the Internet of Things “IoT” to Government: Enabling Smart Nations
Bringing the Internet of Things “IoT” to Government: Enabling Smart Nations
 
Serverless Data Processing on AWS - Level 300
Serverless Data Processing on AWS - Level 300Serverless Data Processing on AWS - Level 300
Serverless Data Processing on AWS - Level 300
 
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
 
IoT at the Edge: Greengrass and More!
IoT at the Edge: Greengrass and More!IoT at the Edge: Greengrass and More!
IoT at the Edge: Greengrass and More!
 
iNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOTiNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOT
 
Social & Mobile Apps journey through the cloud
Social & Mobile Apps   journey through the cloudSocial & Mobile Apps   journey through the cloud
Social & Mobile Apps journey through the cloud
 
Journey Through the Cloud - Social & Mobile Apps
Journey Through the Cloud - Social & Mobile Apps Journey Through the Cloud - Social & Mobile Apps
Journey Through the Cloud - Social & Mobile Apps
 
Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...
Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...
Integrierte Anwendungsfälle - Von der einzelnen Nachricht, über zeitnahe Anal...
 
Journey Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social AppsJourney Through the Cloud - Mobile & Social Apps
Journey Through the Cloud - Mobile & Social Apps
 
Smart Cities. Brad Coughlan. AWS
Smart Cities. Brad Coughlan. AWSSmart Cities. Brad Coughlan. AWS
Smart Cities. Brad Coughlan. AWS
 
AWS Customer Presentation - Angelbeat Princeton Seminar
AWS Customer Presentation -  Angelbeat Princeton SeminarAWS Customer Presentation -  Angelbeat Princeton Seminar
AWS Customer Presentation - Angelbeat Princeton Seminar
 
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
 

Recently uploaded

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

AWS IoT and Serverless

  • 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Twitter: @madhushekar23 Linkedin: /in/madhusudanshekar IoT  Serverless Madhusudan Shekar
  • 3.
  • 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
  • 13. Going Serverless… Code is all you need Event driven scaling Never pay for idle Availability and fault tolerance built in
  • 14. AWS Serverless offerings And more !! Lambda DynamoDB S3 Kinesis
  • 15. How Lambda works S3 event notifications DynamoDB Streams Kinesis events Cognito events SNS events Custom events CloudTrail events LambdaDynamoDB Kinesis S3 Any custom Redshift SNS CloudWatch events
  • 16. How does a Lambda function looks like? def hello(event, context): return { "message": ”Hello World!", "event": event } 'use strict'; handlermodule.exports.hello = (event, context, cb) => cb(null, { message: ’Hello World!', event } );
  • 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
  • 21. Demo Time Lets Sync a Light Bulb
  • 24. IoT with AWS IoT Endpoints IoT Edge IoT Cloud Enterprise Applications Thing s Thing s Thing s Deviceshadow Deviceshadow Greengrass Lambda Functions Deviceshadow Local Comms Edge Users Long-range Comms Device shadow Rules Engine AWS IoT service IoT Users AWS Lambda Amazon Kinesis Amazon DynamoDB AWS Amazon Machine Learning Amazon Redshift IoT Analytics Big Data, Machine Learning, & Integration Real-time viewCorrelationAnalysisArchive Enterprise Users Corp Apps Corp Data Center MQT T MQT T MQT T MQT T MQT T MQT T IoT Partners Operating systems Consulting Wireless operator OEM ISVsSilicon
  • 25. Cloud Moving to the Edge Devices
  • 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
  • 34. How about a Connected Car
  • 35. Connected Car Each Car with a GreenGrass Core with sensors sending data to it
  • 36. What features - Connected Car Platform Connected Vehicle Cloud • Secure data consumption • Vehicle health reports • Anomaly detection • Diagnostics alerts • Map Integration • Mobile Companion Application Infotainment / eCommerce • Head Unit AGL Prototype • Alexa Voice Services • Facial recognition • Hands-free accessibility • Location-based offers • Music Integration • Amazon Video Integration
  • 37. AWS Components for Connected Vehicle
  • 38. Connected Vehicle AWS Connected Vehicle Cloud Reference Architecture
  • 39. On the vehicle AWS Connected Vehicle Cloud Reference Architecture
  • 40. AWS IoT Ingest AWS Connected Vehicle Cloud Reference Architecture
  • 41. Just-in-Time Registration AWS Connected Vehicle Cloud Reference Architecture
  • 42. Storage and Delivery AWS Connected Vehicle Cloud Reference Architecture
  • 43. Anomaly Detection AWS Connected Vehicle Cloud Reference Architecture
  • 44. Aggregated Telemetry Data AWS Connected Vehicle Cloud Reference Architecture
  • 45. Drive Score Algorithm AWS Connected Vehicle Cloud Reference Architecture
  • 46. DTC Detection AWS Connected Vehicle Cloud Reference Architecture
  • 47. Connected Vehicle APIs AWS Connected Vehicle Cloud Reference Architecture
  • 48. Authentication and Authorization AWS Connected Vehicle Cloud Reference Architecture
  • 49. AWS Connected Vehicle Cloud AWS Connected Vehicle Cloud Reference Architecture
  • 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

Editor's Notes

  1. Purpose: To show all the parts of AWS IoT and state that it looks complex but it’s actually simple. This is all of AWS IoT. It looks complex but it’s actually quite simple.
  2. Note: Create a slide like this for Treadstone. That shows the parts of the system and then the following slides show the parts broken out. You need services that can take local actions, keep device data in sync, securely communicate with other local devices – even when not connected to the cloud. And once cloud connection is re-established, device data and state needs to be synchronized automatically. We designed AWS Greengrass to work on almost any device with a general-purpose CPU that runs Ubuntu or Amazon Linux, and supports ARM and x86 architectures. (1 Core, 1 GHz, 128 MB RAM). So that it can run on standard Gateways, PLCs, or 10$ devices like a Raspberry Pi
  3. AWS Greengrass provides the following features: Local execution of AWS Lambda functions written in Python 2.7 and deployed down from the cloud. Local messaging between functions and peripherals on the device that hosts AWS Greengrass core, and also between the core and other local devices that use the AWS IoT Device SDK. Local device shadows to maintain state for the stateless functions, including sync and conflict resolution. Security of communication between the AWS Greengrass group and the cloud. AWS Greengrass uses the same certificate-based mutual authentication that AWS IoT uses. Local communication within an AWS Greengrass group is also secured by using a unique private CA for every group.
  4. With AWS Greengrass You can Respond to Local Events in Near Real-time AWS Greengrass devices can act locally on the data they generate, while still using the cloud for management, analytics, and durable storage. Operate Offline AWS Greengrass lets connected devices operate even with intermittent connectivity to the cloud. Once the device reconnects, Greengrass synchronizes the data on the device with AWS IoT, providing seamless functionality regardless of connectivity. Simplified Device Programming with AWS Lambda AWS Greengrass uses the same AWS Lambda programming models you use in the cloud so you can create and test your device software in the cloud first, and then deploy it seamlessly to your devices. Greengrass lets you execute Lambda functions locally, reducing the complexity of developing embedded software. Reduce the Cost of Running IoT Applications With AWS Greengrass you can program the device to filter device data locally and only transmit the data you need for your applications to cloud. This reduces the amount of raw data transmitted to the cloud and lowers cost, and increases the quality of the data you send to the cloud so you can achieve rich insight at a lower cost. Secure Communications AWS Greengrass authenticates and encrypts device data at all points of connection, so that data is never exchanged between devices and the cloud without proven identity. Greengrass uses the same security and access management you are familiar with in AWS, with mutual device authentication and authorization, and secure connectivity to AWS IoT.
  5. The AWS IoT Device SDK helps you to easily and quickly connect your hardware device to AWS IoT. It provides enhanced features so that your hardware device can seamlessly and securely work with the Device Gateway and Device Shadow provided by AWS IoT. Launched a couple of them along with AWS IoT last year, and now we have 7.
  6. In response to massive technological changes that are transforming this industry, our team has been is developing a suite of solutions designed to help our customers innovate across all reaches of the automotive industry. Now, I want to be very clear here…I am not the car guy in the room. You guys are the automotive experts. I’m here to show you how the AWS Cloud can be used to fuel your solutions, and demonstrate what is possible on our platform. In order to develop and validate our solutions, we really took a collaborative approach, leveraging experience from across not only AWS, but also Amazon as a whole.
  7. Greengrass On every car in our ref arch, we’ve installed a greengrass core Sometimes, whether it is for cost, legal, or bandwidth reasons, you don’t want stream all of your data to the Cloud, maybe it makes more sense to aggregate on the vehicle, then send it up Greengrass helps us address this use case. On vehicle processes (CAN or OBD-II) communicate on a telemetry substraight; greengrass will send the real-time sensor data to IoT, greengrass will also grab that sensor data, aggregate it with a Lambda function that actually runs on vehicle and send that data to IoT at pre-defined intervals. This is possible because the GreenGrass core provides Lambda runtimes for python, Node.js and Java on the actual vehicle. This is great for standardizing development environments across vehicle makes and models. This frees up valuable bandwidth, and can lower cost We’ve also looked at OTA update use cases
  8. IoT When vehicle sensor data data is sent to AWS, it is done so through AWS IoT, specifically, the device gateway Messaging is done in a pub/sub model, so data is transmitted using the MQTT protocol, and messages are published to MQTT channels in IoT Before data can get to the channel, though, it must pass through an authentication stage Our reference architecture employs mutual authentication and encryption at every point throughout communication with AWS IoT, this means that no messages enter our environment without a proven identity Manufacturers must first register a CA cert with IoT Then, each vehicle is issued a unique cert with attached permissions that dictate how the vehicle can interact with IoT Now, messages are authenticated and published to the device gateway, but what happens when our data reaches AWS? Data is routed to backend applications, microservices, and AWS services based on logical rules This data routing is handled by the IoT rules engine. To create a rule, you need three things, a source, logic, and a destination Your source is the MQTT channel your rule will be listening to Your logic is simple SQL code that filters the data according to the data type and other conditions you specify Your destination is the AWS service you want to invoke, using the IoT message as a parameter (Kinesis, Lambda, IoT, SQS, DynamoDB, etc) Now, we’ll walk through the rules we have developed for our reference architecture. Each rule pretty much equates to a different use case we tackled
  9. Rule 1 – JITR This rule is all about simplifying the vehicle registration process When a new vehicle sends data to our reference architecture for the first time, IoT will see an unrecognized cert, signed by the manufacturer’s CA During this initial TLS handshake, our JITR process is invoked When IoT sees that unrecognized cert, it will trigger a lambda function, and pass the cert; the lambda function will automatically register the vehicle’s certificate and assigns a policy, dictating the vehicle’s permissions Now, the car is automatically registered, and IoT will begin to accept its messages
  10. Rule 2 – Delivery & Storage This next use case is all about securely and efficiently delivering connected vehicle sensor data from IoT to S3 It is important for manufacturers and third party service providers to have access to raw sensor data because they may want to do larger, batch analytics on the data at a later date, or possibly push the data through applications to replay scenarios Therefore, need an efficient way to get data to S3 We are sending all streaming data to Kinesis Firehose, which is great at delivering massive amounts of data When in Firehose, the data will be encrypted and compressed and sent to S3 at regular intervals Once in S3, it will remain there, encrypted, until it is needed for analytics, or it is archived Data is encrypted in transit and at rest
  11. Rule 2.5 – Anomaly Detection This part doesn’t have its own IoT rule, instead, its using the same data captured by rule #2 As data flows through Firehose to S3, we an opportunity to analyze all sensor data in real-time, this is the perfect time for us to tackle anomaly detection, specifically, high oil temperatures To do this, we’re using Kinesis analytics, which enables us to build data processing applications to analyze records flowing through Kinesis Firehose in real time First, we filter for all oil temperature records Then we pass those data points to an easy to use unsupervised machine learning algorithm. This algorithm was developed by Amazon data scientists and comes built in as part of the Kinesis Analytics service, it is really good at quickly finding outliers; the algorithm will assign an anomaly score to each record, and for records where we decide the anomaly score is too high, we will label it as an outlier We output those outliers to a Kinesis Stream; this is where we can again leverage the power of the event-based compute model When a record enters the kinesis stream, a lambda function is triggered; the function gets the record, then puts it to dynamodb, and an SNS notification is sent to the user
  12. Rule 3 – Aggregated Telemetry Data This use case is all about making aggregate data available to applications in near-real time Unlike the previous rule, instead of consuming all data, we are collecting only the data that has been aggregated by Greengrass At a defined interval, Greengrass will send aggregated data to IoT; when the IoT rule detects the aggregated data, it is sent to a lambda function to be processed The lambda function will transform the data, and put it to a dynamodb table. The primary index will be the VIN, and the secondary index will be a unique trip id, enabling you to search and filter based on trips
  13. Rule 4 – Driver Score Processing This use case enables us to really leverage the aggregated trip data We call this our insurance use case – it focuses on encouraging or rewarding safe and efficient driving performance This use case is triggered by ignition status, when the ignition status switches to off, it triggers a driver score microservice The lambda function will retrieve all aggregated data for the completed trip, and run an algorithm using the aggregated metrics We wrote this algorithm ourselves, but it leverages common practices and patterns used by insurance and fleet management firms The driver score is put back to the trip data table so it can be queried, and the lambda function will send an alert to the user Machine Learning We have also done this with AML When the trip completed, lambda would retrieve the aggregated data, then request a real-time classification prediction from AML AML would run the metrics through a pre-made model, and classify the driver as safe or unsafe Lambda would then put the driver classification to dynamodb, and send the driver an alert
  14. Rule 5 – DTC Detection Our last use case demystifies the car maintenance and repair process When something goes wrong with your engine, traditionally, a light pops up on your dash. But I never know what the actual problem is, how to fix it, or how severe it is In order to simplify/clarify this, we built a simple microservice that will translate DTCs into plain English When IoT detects a DTC code, it triggers a lambda function that does three things: First, like the anomaly use case, it will put the event to a DTC table so it can be queried by manufacturers and/or owners Second, lambda will them perform a simple look up to a preexisting DTC translation table Third, lambda will send the driver a notification explaining the issue and next steps Simple, but seriously improves the car ownership experience So now… We have preprocessed, and sent vehicle sensor data to AWS The messages have been authenticated, filtered, and sent to their subscribers Our backend microservices have processed the data, sent alerts, and stored data in databases Now, we need a way for users and third party applications to interact with this data, this is the last step
  15. API Gateway To do this, we built our own custom REST APIs using Amazon API Gateway All we need to do is define a new API, assign it methods, then connect it to a backend lambda microservice in order to perform the task In this way, API Gateway really is like a front door for backend lambda functions When 3rd party applications make a request for data, they make a call to API Gateway which triggers a lambda function. The Lambda function performs a DynamoDB lookup, and returns data back to the application through API Gateway with minimal latency We’ve even built our own connected vehicle API spec that application developers can use as a guide for interacting with our API
  16. Cognito We also need make sure that users are only viewing the data they’re allowed to access To implement access control, as well as simple sign-in and sign-up capabilities, we use Amazon Cognito We just put users into pools, assign permissions, and Cognito takes care of the rest