SlideShare a Scribd company logo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
G O T O
Amsterdam 2018
IoT Compute at the Edge with
AWS Greengrass
Boaz Ziniman, Technical Evangelist – Amazon Web Service
@ziniman
boaz.ziniman.aws
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Things
Sense & Act
Cloud
Storage & Compute
Intelligence
Insights & Logic → Action
Our Concept of IoT
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Architecture
Things
Sense & Act
Cloud
Storage & Compute
Intelligence
Insights & Logic → Action
Secure device
connectivity
and messaging
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Architecture
Endpoints
Fleet onboarding,
management,
and SW updates
Fleet
audit and
protection
IoT data
analytics and
intelligence
Gateway
Things
Sense & Act
Cloud
Storage & Compute
Secure local
triggers, actions,
and data sync
Intelligence
Insights & Logic → Action
Secure device
connectivity
and messaging
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Endpoints
Fleet onboarding,
management,
and SW updates
Fleet
audit and
protection
IoT data
analytics and
intelligence
Gateway
Things
Sense & Act
Cloud
Storage & Compute
Secure local
triggers, actions,
and data sync
Intelligence
Insights & Logic → Action
Secure device
connectivity
and messaging
AWS IoT Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Core
Secure Device Connectivity and Messaging
Device
Gateway
Rules
Engine
Message
Broker
Device
Shadow
RegistryIdentity
Service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Benefits of AWS IoT
The AWS IoT Core platform enables you:
To securely connect
devices to the AWS Cloud
and other devices at scale
To route, process and act
upon data from these devices
To enable applications to
interact with devices even
when they are offline
To fully integrate with
other AWS service to reason
on top of the data
(Analytics, Databases, AI, etc.)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Identity Service
• Certificates
- AWS or BYOC
• Manual or JITR
• IAM and AWS IoT policies
• Amazon Cognito
• Federated users
SigV4
X.509
Custom Auth
Tokens
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Long-lived connections
• MQTT, WebSockets, HTTP
• SigV4, X.509, and token-
based authentication
• TLS 1.2
Device Gateway
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• MQTT-based routing
• Publish/Subscribe
• QoS 0/1
• Topics
- Reserved ($aws/#)
- Wildcards
Message Broker
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Rules Engine
Data transformation and actions
Analytics
Kinesis
Artificial
Intelligence
EMR
Messaging
SQS
SNS
Database
Amazon
Redshift
DynamoDB
Manage
CloudWatch
• Query language
SELECT * from 'topic/structure’
WHERE temperature > 35
• Topics
• Republish
• ML
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Registry
• Static device metadata
• ThingTypes
• Groups
• Jobs
Static data
Serial #, metadata, etc.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Representation of state
• Reported
• Desired
• Application interaction
Device Shadow
APIs
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
bit.ly/AWSIoTLights
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Light bulb moment
AWS IoT IoT
shadow
Amazon
Cognito
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Endpoints
Fleet onboarding,
management,
and SW updates
Fleet
audit and
protection
IoT data
analytics and
intelligence
Gateway
Things
Sense & Act
Cloud
Storage & Compute
Secure local
triggers, actions,
and data sync
Secure device
connectivity
and messaging
AWS
IoT Core
Intelligence
Insights & Logic → Action
AWS IoT Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Where do I want to process data?
CloudEdge
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Where do I want to process data?
Law of EconomicsLaw of Physics Law of the Land
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Where do I want to process data?
Edge Cloud
Law of Economics
Law of Physics
Law of the Land
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Where do I want to process data?
Edge Cloud
Law of Economics
Law of Physics
Law of the Land
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Where do I want to process data?
I n f r a s t r u c t u r e C l o u dP o PI o T E n d p o i n t G a t e w a y A p p l i a n c e
C o m m o n P r o g r a m m i n g M o d e l
O n b o a r d
A W S
C l o u d
L a m b d a
@ E d g e
A m a z o n
F r e e R T O S
G r e e n g r a s s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Where do I want to process data?
A W S
C l o u d
G r e e n g r a s s
I n f r a s t r u c t u r e C l o u dP o PI o T E n d p o i n t G a t e w a y A p p l i a n c eO n b o a r d
A m a z o n
F r e e R T O S
L a m b d a
@ E d g e
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Who is AWS Greengrass for?
E n e r g y
M e d i c a l
I n s u r a n c e
R e t a i l
A g r i c u l t u r e
M o r e …I n f r a s t r u c t u r e
M i n i n g
I n d u s t r i a l G a t e w a y s C o n s t r u c t i o n
A u t o m o t i v e
C o n s u m e r
E l e c t r o n i c s
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Greengrass
Extend AWS IoT to the Edge
Data and
State Sync
Security Over the
Air Updates
Protocol
Adapters
Local
device shadows
Local
Actions
Lambda
functions
Local
Messages
and Triggers
Local
message broker
AWS-grade
security
Easily update AWS
Greengrass core
Machine
Learning
Inference
Local execution
of ML models
Local
Resource
Access
Lambda functions
Interact with
peripherals
Easy integrations
with local
protocols
ʥ
A
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Greengrass
• Software installed on a gateway
• Architectures:
• x86_64
• ARMv8
• ARMv7l
• Linux bases:
• Amazon Linux
• Ubuntu 14.04 - 16.04
• Raspbian Jessie
• Core and Device AWS
IoT SDK Endpoints
Greengrass Devices
Gateway
Greengrass Core
C l o u d
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Local Messages
and Triggers
• Extends the AWS IoT MQTT pub/sub
messaging paradigm locally to the edge
• Allows AWS Lambda functions written
in the cloud and deployed locally on
the AWS Greengrass core to trigger and
respond to events
• Enables offline command and control
operations from the AWS Greengrass
core and other devices that use the
AWS IoT Device SDK
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• With AWS Greengrass, you can write
event-driven AWS Lambda functions
in the cloud and deploy them locally
• AWS Greengrass runs AWS Lambda
functions written in Python 2.7,
Node.js, or Java
• Invoke AWS Lambda functions with
messaging and shadow updates
• Offline actions and triggers, for
example, that can detect low
moisture in the soil and then trigger
controls to spray more water inside a
smart greenhouse
Local Actions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Data & State Sync
• Enables you to define a shadow state
for a device as a JSON document in
any logical manner - a single wind
turbine, a wind farm, or a resource
grid
• Allows shadow states to be local
or synced to the cloud
• AWS Lambda functions running
on the AWS Greengrass core can
update shadow states through
MQTT messages
• For example, the AWS Greengrass core
can update a tractor’s shadow with
continuous information on harvest quality,
and a snapshot of the data can be synced
to the cloud at the end of the day
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Security
• Supports TLS mutual
authentication, both locally
and with the cloud
• Certificates on your devices
can be associated to SigV4
credentials in the cloud
• Through AWS Lambda
running on the AWS
Greengrass core, you can
easily call any AWS service
running in the cloud
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Local Resource Access
• Allows AWS Lambda to access local
resources on a device
• GPIO can be accessed to process
sensor and actuator data
• AWS Lambda can take advantage
of the local file system on your
operating system
• AWS Lambda can use GPUs for
hardware acceleration for
machine learning GPU
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Machine Learning
Inference
• Train models in the cloud using
Amazon SageMaker or another
service using Amazon EC2
• ML Inference works with Apache
MXNet and TensorFlow
• Transfer your trained models
onto your AWS Greengrass device
to make predictions based on
local data
• ML Inference gives you access
to hardware accelerators such
as GPUs on your devices
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Protocol Adapter
for OPC-UA
• Allows for industrial machines to
participate in the AWS Greengrass
programming paradigm
• Brings the robust AWS Greengrass
security model to industrial devices that
communicate through an OPC-UA
server
• Supports certificate-based
authentication with industrial OPC-UA
servers
• Fully customizable framework to
fit other industrial protocols
• Example: an industrial PLC on a machine
can send telemetry data to an AWS
Greengrass core that, in turn, controls
other machines
ʥ
A
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Over-the-air Updates
• Remotely update an AWS
Greengrass core device with the
latest AWS Greengrass software,
security updates, bug fixes, and
features
• Enables bulk updates of many AWS
Greengrass core devices at once
• Updates are fail-safe: Any
breaking change triggers
an automatic revert
• Status of updates can be tracked
from the AWS IoT console
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS
Snowball Edge
Greengrass Momentum
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
BORON Mining Site
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Greengrass - Benefits
Respond quickly
to local events
Operate
offline
Simplified device
programming
Reduce the cost of
IoT applications
AWS-grade
security
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS
Greengrass
Endpoints
Fleet onboarding,
management,
and SW updates
Fleet
audit and
protection
IoT data
analytics and
intelligence
Gateway
Things
Sense & Act
Cloud
Storage & Compute
Secure local
triggers, actions,
and data sync
Secure device
connectivity
and messaging
AWS
IoT Core
Intelligence
Insights & Logic → Action
AWS IoT Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon FreeRTOS
IoT Microcontroller OS
Local Connectivity
Libraries
Cloud Connectivity
Libraries
Security
Connectivity
Libraries
OTA Beta &
Code Signing
Based on FreeRTOS kernel
AWS Greengrass AWS IoT Core
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
• Offer designer eyewear
• Started as online business and
moved to physical stores
• Use data from the stores and the
web to inform product decisions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Design a physical retail experience to be as data
rich as the digital experience
Online In Store
Unique Visitors Foot traffic
Click streams Stay zones
Add-to-carts Product interactions
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
With Greengrass, they can process and act upon in-
store data more easily.
Greengrass makes it easy to apply
this paradigm in our stores
Already love using Lambda in
the Cloud
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Secure device
connectivity
and messaging
Endpoints
Fleet onboarding,
management,
and SW updates
Fleet
audit and
protection
IoT data
analytics and
intelligence
Things
Sense & Act
Cloud
Storage & Compute
Secure local
triggers, actions,
and data sync
AWS IoT Core
Gateway
AWS
Greengrass AWS IoT Device
Management
AWS IoT
Device
Defender
Intelligence
Insights & Logic → Action
a:FreeRTOS
a:FreeRTOS
AWS IoT
Analytics
AWS IoT Architecture
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Boaz Ziniman – Technical Evangelist, AWS
@ziniman
boaz.ziniman.aws

More Related Content

PPTX
Living on the Edge with AWS Greengrass
PDF
IoT from Cloud to Edge & Back Again - WebSummit 2018
PDF
IoT at the Edge_Greengrass and More_ Craig Lawton_AWS
PDF
AWS IoT Deep Dive
PDF
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
PPTX
AWS IoT and Serverless
PPTX
Getting Started with AWS IoT
PDF
Connecting the Unconnected: IoT Made Simple
Living on the Edge with AWS Greengrass
IoT from Cloud to Edge & Back Again - WebSummit 2018
IoT at the Edge_Greengrass and More_ Craig Lawton_AWS
AWS IoT Deep Dive
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
AWS IoT and Serverless
Getting Started with AWS IoT
Connecting the Unconnected: IoT Made Simple

Similar to IoT Compute at the Edge with AWS Greengrass - GOTO Amsterdam (20)

PDF
AWS IoT Services Overview- IoT Core, Monitoring, Analytics by Jake Scherrer
PDF
IoT におけるセキュリティ
PPTX
Getting Started on Edge Computing with AWS IoT Greengrass
PDF
From Cloud to Edge & back again
PDF
Webinar: Arquiteturas para IoT na nuvem: segurança, conformidade, resiliência...
PPTX
Temperature and light intensity sensor
PDF
From Cloud Computing to Edge Computing
PDF
An Introduction to AWS IoT - Web Summit Lisbon
PDF
AWSのIoTソリューション本番導入にむけた取り組み
PDF
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
PDF
AWS IoT and Alexa in the connected home
PDF
Intro to AWS IoT - Pop-up Loft London
PPTX
Plant monitoring System- AWS Community day Bengaluru 2019
PDF
AWS IoT & ML Recap - 20180423
PDF
AWS IoT Edge Management
PPTX
Derive Insight from IoT data in minute with AWS
PDF
UNIT V.pdf
PDF
Enabling supply chain flexibility and IoT scale with zero touch provisioning
PPTX
AWS_IoT_Device_Management_Workshop.pptx
PPTX
IoT Smart Home
AWS IoT Services Overview- IoT Core, Monitoring, Analytics by Jake Scherrer
IoT におけるセキュリティ
Getting Started on Edge Computing with AWS IoT Greengrass
From Cloud to Edge & back again
Webinar: Arquiteturas para IoT na nuvem: segurança, conformidade, resiliência...
Temperature and light intensity sensor
From Cloud Computing to Edge Computing
An Introduction to AWS IoT - Web Summit Lisbon
AWSのIoTソリューション本番導入にむけた取り組み
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT and Alexa in the connected home
Intro to AWS IoT - Pop-up Loft London
Plant monitoring System- AWS Community day Bengaluru 2019
AWS IoT & ML Recap - 20180423
AWS IoT Edge Management
Derive Insight from IoT data in minute with AWS
UNIT V.pdf
Enabling supply chain flexibility and IoT scale with zero touch provisioning
AWS_IoT_Device_Management_Workshop.pptx
IoT Smart Home
Ad

More from Boaz Ziniman (20)

PDF
AWS Cost Optimization - JLM
PDF
What can you do with Serverless in 2020
PDF
Six ways to reduce your AWS bill
PDF
Modern Applications Development on AWS
PDF
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
PDF
AI Services and Serverless Workshop
PDF
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
PDF
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
PDF
Serverless Beyond Functions - CTO Club Made in JLM
PDF
Websites Go Serverless - ServerlessDays TLV 2019
PDF
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
PDF
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
PDF
Breaking Language Barriers with AI - AWS Summit
PDF
Websites go Serverless - AWS Summit Berlin
PDF
AWS Lambda updates from re:Invent
PDF
Artificial Intelligence for Developers - OOP Munich
PDF
Introduction to Serverless Computing - OOP Munich
PDF
Breaking Language Barriers with AI - Web Summit 2018
PDF
How Websites go Serverless - WebSummit Lisbon 2018
PDF
Introduction to Serverless computing and AWS Lambda - Floor28
AWS Cost Optimization - JLM
What can you do with Serverless in 2020
Six ways to reduce your AWS bill
Modern Applications Development on AWS
Enriching your app with Image recognition and AWS AI services Hebrew Webinar
AI Services and Serverless Workshop
Drive Down the Cost of your Data Lake by Using the Right Data Tiering
Breaking Voice and Language Barriers with AI - Chatbot Summit Tel Aviv
Serverless Beyond Functions - CTO Club Made in JLM
Websites Go Serverless - ServerlessDays TLV 2019
SKL208 - Turbocharge your Business with AI and Machine Learning - Tel Aviv Su...
AIM301 - Breaking Language Barriers With AI - Tel Aviv Summit 2019
Breaking Language Barriers with AI - AWS Summit
Websites go Serverless - AWS Summit Berlin
AWS Lambda updates from re:Invent
Artificial Intelligence for Developers - OOP Munich
Introduction to Serverless Computing - OOP Munich
Breaking Language Barriers with AI - Web Summit 2018
How Websites go Serverless - WebSummit Lisbon 2018
Introduction to Serverless computing and AWS Lambda - Floor28
Ad

Recently uploaded (20)

PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
KodekX | Application Modernization Development
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Machine learning based COVID-19 study performance prediction
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Cloud computing and distributed systems.
PPTX
Big Data Technologies - Introduction.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation theory and applications.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
sap open course for s4hana steps from ECC to s4
PDF
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
KodekX | Application Modernization Development
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Machine learning based COVID-19 study performance prediction
MIND Revenue Release Quarter 2 2025 Press Release
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Cloud computing and distributed systems.
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation theory and applications.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Unlocking AI with Model Context Protocol (MCP)
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Spectral efficient network and resource selection model in 5G networks
sap open course for s4hana steps from ECC to s4
cuic standard and advanced reporting.pdf

IoT Compute at the Edge with AWS Greengrass - GOTO Amsterdam

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. G O T O Amsterdam 2018 IoT Compute at the Edge with AWS Greengrass Boaz Ziniman, Technical Evangelist – Amazon Web Service @ziniman boaz.ziniman.aws
  • 2. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 3. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Things Sense & Act Cloud Storage & Compute Intelligence Insights & Logic → Action Our Concept of IoT
  • 4. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Architecture Things Sense & Act Cloud Storage & Compute Intelligence Insights & Logic → Action Secure device connectivity and messaging
  • 5. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Architecture Endpoints Fleet onboarding, management, and SW updates Fleet audit and protection IoT data analytics and intelligence Gateway Things Sense & Act Cloud Storage & Compute Secure local triggers, actions, and data sync Intelligence Insights & Logic → Action Secure device connectivity and messaging
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Endpoints Fleet onboarding, management, and SW updates Fleet audit and protection IoT data analytics and intelligence Gateway Things Sense & Act Cloud Storage & Compute Secure local triggers, actions, and data sync Intelligence Insights & Logic → Action Secure device connectivity and messaging AWS IoT Architecture
  • 7. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Core Secure Device Connectivity and Messaging Device Gateway Rules Engine Message Broker Device Shadow RegistryIdentity Service
  • 8. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Benefits of AWS IoT The AWS IoT Core platform enables you: To securely connect devices to the AWS Cloud and other devices at scale To route, process and act upon data from these devices To enable applications to interact with devices even when they are offline To fully integrate with other AWS service to reason on top of the data (Analytics, Databases, AI, etc.)
  • 9. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Identity Service • Certificates - AWS or BYOC • Manual or JITR • IAM and AWS IoT policies • Amazon Cognito • Federated users SigV4 X.509 Custom Auth Tokens
  • 10. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Long-lived connections • MQTT, WebSockets, HTTP • SigV4, X.509, and token- based authentication • TLS 1.2 Device Gateway
  • 11. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • MQTT-based routing • Publish/Subscribe • QoS 0/1 • Topics - Reserved ($aws/#) - Wildcards Message Broker
  • 12. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Rules Engine Data transformation and actions Analytics Kinesis Artificial Intelligence EMR Messaging SQS SNS Database Amazon Redshift DynamoDB Manage CloudWatch • Query language SELECT * from 'topic/structure’ WHERE temperature > 35 • Topics • Republish • ML
  • 13. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Registry • Static device metadata • ThingTypes • Groups • Jobs Static data Serial #, metadata, etc.
  • 14. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Representation of state • Reported • Desired • Application interaction Device Shadow APIs
  • 15. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. bit.ly/AWSIoTLights
  • 16. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Light bulb moment AWS IoT IoT shadow Amazon Cognito
  • 17. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Endpoints Fleet onboarding, management, and SW updates Fleet audit and protection IoT data analytics and intelligence Gateway Things Sense & Act Cloud Storage & Compute Secure local triggers, actions, and data sync Secure device connectivity and messaging AWS IoT Core Intelligence Insights & Logic → Action AWS IoT Architecture
  • 18. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Where do I want to process data? CloudEdge
  • 19. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Where do I want to process data? Law of EconomicsLaw of Physics Law of the Land
  • 20. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Where do I want to process data? Edge Cloud Law of Economics Law of Physics Law of the Land
  • 21. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Where do I want to process data? Edge Cloud Law of Economics Law of Physics Law of the Land
  • 22. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Where do I want to process data? I n f r a s t r u c t u r e C l o u dP o PI o T E n d p o i n t G a t e w a y A p p l i a n c e C o m m o n P r o g r a m m i n g M o d e l O n b o a r d A W S C l o u d L a m b d a @ E d g e A m a z o n F r e e R T O S G r e e n g r a s s
  • 23. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Where do I want to process data? A W S C l o u d G r e e n g r a s s I n f r a s t r u c t u r e C l o u dP o PI o T E n d p o i n t G a t e w a y A p p l i a n c eO n b o a r d A m a z o n F r e e R T O S L a m b d a @ E d g e
  • 24. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Who is AWS Greengrass for? E n e r g y M e d i c a l I n s u r a n c e R e t a i l A g r i c u l t u r e M o r e …I n f r a s t r u c t u r e M i n i n g I n d u s t r i a l G a t e w a y s C o n s t r u c t i o n A u t o m o t i v e C o n s u m e r E l e c t r o n i c s
  • 25. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Greengrass Extend AWS IoT to the Edge Data and State Sync Security Over the Air Updates Protocol Adapters Local device shadows Local Actions Lambda functions Local Messages and Triggers Local message broker AWS-grade security Easily update AWS Greengrass core Machine Learning Inference Local execution of ML models Local Resource Access Lambda functions Interact with peripherals Easy integrations with local protocols ʥ A
  • 26. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Greengrass • Software installed on a gateway • Architectures: • x86_64 • ARMv8 • ARMv7l • Linux bases: • Amazon Linux • Ubuntu 14.04 - 16.04 • Raspbian Jessie • Core and Device AWS IoT SDK Endpoints Greengrass Devices Gateway Greengrass Core C l o u d
  • 27. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Local Messages and Triggers • Extends the AWS IoT MQTT pub/sub messaging paradigm locally to the edge • Allows AWS Lambda functions written in the cloud and deployed locally on the AWS Greengrass core to trigger and respond to events • Enables offline command and control operations from the AWS Greengrass core and other devices that use the AWS IoT Device SDK
  • 28. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • With AWS Greengrass, you can write event-driven AWS Lambda functions in the cloud and deploy them locally • AWS Greengrass runs AWS Lambda functions written in Python 2.7, Node.js, or Java • Invoke AWS Lambda functions with messaging and shadow updates • Offline actions and triggers, for example, that can detect low moisture in the soil and then trigger controls to spray more water inside a smart greenhouse Local Actions
  • 29. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Data & State Sync • Enables you to define a shadow state for a device as a JSON document in any logical manner - a single wind turbine, a wind farm, or a resource grid • Allows shadow states to be local or synced to the cloud • AWS Lambda functions running on the AWS Greengrass core can update shadow states through MQTT messages • For example, the AWS Greengrass core can update a tractor’s shadow with continuous information on harvest quality, and a snapshot of the data can be synced to the cloud at the end of the day
  • 30. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Security • Supports TLS mutual authentication, both locally and with the cloud • Certificates on your devices can be associated to SigV4 credentials in the cloud • Through AWS Lambda running on the AWS Greengrass core, you can easily call any AWS service running in the cloud
  • 31. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Local Resource Access • Allows AWS Lambda to access local resources on a device • GPIO can be accessed to process sensor and actuator data • AWS Lambda can take advantage of the local file system on your operating system • AWS Lambda can use GPUs for hardware acceleration for machine learning GPU
  • 32. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Machine Learning Inference • Train models in the cloud using Amazon SageMaker or another service using Amazon EC2 • ML Inference works with Apache MXNet and TensorFlow • Transfer your trained models onto your AWS Greengrass device to make predictions based on local data • ML Inference gives you access to hardware accelerators such as GPUs on your devices
  • 33. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Protocol Adapter for OPC-UA • Allows for industrial machines to participate in the AWS Greengrass programming paradigm • Brings the robust AWS Greengrass security model to industrial devices that communicate through an OPC-UA server • Supports certificate-based authentication with industrial OPC-UA servers • Fully customizable framework to fit other industrial protocols • Example: an industrial PLC on a machine can send telemetry data to an AWS Greengrass core that, in turn, controls other machines ʥ A
  • 34. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Over-the-air Updates • Remotely update an AWS Greengrass core device with the latest AWS Greengrass software, security updates, bug fixes, and features • Enables bulk updates of many AWS Greengrass core devices at once • Updates are fail-safe: Any breaking change triggers an automatic revert • Status of updates can be tracked from the AWS IoT console
  • 35. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Snowball Edge Greengrass Momentum
  • 36. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 37. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. BORON Mining Site
  • 38. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Greengrass - Benefits Respond quickly to local events Operate offline Simplified device programming Reduce the cost of IoT applications AWS-grade security
  • 39. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Greengrass Endpoints Fleet onboarding, management, and SW updates Fleet audit and protection IoT data analytics and intelligence Gateway Things Sense & Act Cloud Storage & Compute Secure local triggers, actions, and data sync Secure device connectivity and messaging AWS IoT Core Intelligence Insights & Logic → Action AWS IoT Architecture
  • 40. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon FreeRTOS IoT Microcontroller OS Local Connectivity Libraries Cloud Connectivity Libraries Security Connectivity Libraries OTA Beta & Code Signing Based on FreeRTOS kernel AWS Greengrass AWS IoT Core
  • 41. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. • Offer designer eyewear • Started as online business and moved to physical stores • Use data from the stores and the web to inform product decisions
  • 42. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Design a physical retail experience to be as data rich as the digital experience Online In Store Unique Visitors Foot traffic Click streams Stay zones Add-to-carts Product interactions
  • 43. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. With Greengrass, they can process and act upon in- store data more easily. Greengrass makes it easy to apply this paradigm in our stores Already love using Lambda in the Cloud
  • 44. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Secure device connectivity and messaging Endpoints Fleet onboarding, management, and SW updates Fleet audit and protection IoT data analytics and intelligence Things Sense & Act Cloud Storage & Compute Secure local triggers, actions, and data sync AWS IoT Core Gateway AWS Greengrass AWS IoT Device Management AWS IoT Device Defender Intelligence Insights & Logic → Action a:FreeRTOS a:FreeRTOS AWS IoT Analytics AWS IoT Architecture
  • 45. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Boaz Ziniman – Technical Evangelist, AWS @ziniman boaz.ziniman.aws