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

PDF
IoT from Cloud to Edge & Back Again - WebSummit 2018
Boaz Ziniman
 
PDF
IoT at the Edge_Greengrass and More_ Craig Lawton_AWS
Helen Rogers
 
PDF
AWS IoT Deep Dive
Kristana Kane
 
PPTX
Living on the Edge with AWS Greengrass
Forrest Brazeal
 
PDF
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
CodeOps Technologies LLP
 
PPTX
AWS IoT and Serverless
Madhusudan Shekar
 
PPTX
Getting Started with AWS IoT
AWS Summits
 
PDF
Connecting the Unconnected: IoT Made Simple
Danilo Poccia
 
IoT from Cloud to Edge & Back Again - WebSummit 2018
Boaz Ziniman
 
IoT at the Edge_Greengrass and More_ Craig Lawton_AWS
Helen Rogers
 
AWS IoT Deep Dive
Kristana Kane
 
Living on the Edge with AWS Greengrass
Forrest Brazeal
 
IoT and Serverless - AWS - Serverless Summit - Madhusudan Shekar
CodeOps Technologies LLP
 
AWS IoT and Serverless
Madhusudan Shekar
 
Getting Started with AWS IoT
AWS Summits
 
Connecting the Unconnected: IoT Made Simple
Danilo Poccia
 

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

More from Boaz Ziniman (20)

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

Recently uploaded (20)

PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 

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