SlideShare a Scribd company logo
|Webinars© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Craig Williams, Partner SA & IoT Specialist
AWS Greengrass Technical Deep Dive
|Webinars
What to except from this session
• Quick re-cap of AWS IoT
• Why Greengrass?
• AWS Greengrass deep dive
• Short demo showing a working Greengrass group
|Webinars
AWS IoT Quick Re-cap
|Webinars
AWS IoT is a fully managed cloud platform that lets connected devices easily and
securely interact with cloud applications and other devices.
Extract and Filter data
from your devices and
take action with custom
Rules
Securely connect and
manage any physical
device across multiple
networks and protocols
Create Web and
Mobile Applications
that Interact with
Devices reliably at any
time
|Webinars
AWS IoT
|Webinars
AWS Greengrass Deep Dive
|Webinars
Why Greengrass?
Law of physics Law of economics Law of the land
|Webinars
Local
Lambda
Local
Device Shadows
Local
Security
Greengrass
is…
AWS
Local
Broker
|Webinars
NOT hardware—you bring your own
Greengrass
is…
AWS
|Webinars
Greengrass Core (GGC)
The runtime responsible for
Lambda execution, messaging,
device shadows, security, and for
interacting directly with the cloud
|Webinars
Greengrass Core (GGC)
• Min Single-Core 1GHz
• Min 128MB RAM
• x86 and ARM
• Linux (Ubuntu or Amazon)
|Webinars
Greengrass Core (GGC)
The sky is the limit.
GGC takes advantage of your
device’s compute, memory,
storage, and peripherals
|Webinars
IoT Device SDK
Any device that uses the IoT
Device SDK can be configured to
interact with Greengrass Core via
the local network
AWS IoT Device SDK supports C,
C++, Python, JavaScript
|Webinars
Devices work together locally
A Greengrass Group is
a set of Cores and other
devices configured to
communicate with one
another
|Webinars
Devices work together with the cloud
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
|Webinars
Local Lambda
Lambdas are event-driven
compute functions
With Greengrass you can write
Lambda functions in the cloud
and deploy them locally
|Webinars
Local Lambda
Greengrass runs Lambdas
written in Python 2.7
Invoke Lambda functions with
messaging and shadow updates
|Webinars
Local Lambda – What you can do
Command and control
Offline operation
Data filtering & aggregation
Iterative learning
|Webinars
Shadows
JSON documents that represent
state of your devices and Lambdas
Define them however is logical to
you—a car, an engine, a fleet
Sync to the cloud or
keep them local
|Webinars
Shadows – What you can do
Device state (current and desired)
Granular device state (only
synched to the cloud for debug)
Dynamic configuration (e.g,.
numeric factors of an ML model)
|Webinars
Messaging
Local MQTT Pub/Sub messaging
Define subscriptions between
publishers and subscribers
Apply MQTT topic filters
|Webinars
Security
Mutual auth, both locally
and also with the cloud
Certificate on your
devices can be
associated to SigV4
credentials in the cloud
You can directly call any
AWS service from
Greengrass
|Webinars
Security
The local GGC has it’s
own root certificate.
Each device certificate is
signed by the GGC’s root
certificate.
Greengrass core now
uses the local CA and
device certificate for
authentication.
|Webinars
Broker Specifics
Publisher
Connect to
GGC
• Cert verified
locally
Publish to
topic
Route
Table
• Match targets
• Reject by
default
Lambda or
Subscriber
Subscriber
Connect to
GGC
• Cert verified
locally
Subscribe
to topics
Route
Table
• Match targets
• Reject by
default
Receive
messages
Lambda
Receives
message
Compute
Publish to
topic
Route
Table
• Match targets
• Reject by
default
Lambda or
Subscriber
|Webinars
Detailed Requirements
• Linux – Kernel 4.4 with OverlayFS enabled (we test
on 4.4 but 3.18+ with OverlayFS is an option)
• x86_64, ARMv61, AArch64
|Webinars
Use Case - example
Gas Turbine Filter Maintenance
• Each turbine consists of multiple devices/sensors
• Each turbine has a single Greengrass core
• Lambda functions have enough logic to perform edge machine learning
• Models and Lambda changes can be centrally updated
• Lambda filters data and using it’s edge ML can determine when to request
maintenance/replacement of filters
• Only required data is sent up to AWS IoT once an hour
Lambdas
Rules
Shadowturbine
AWS
IoT
|Webinars
FAQ
What about shadow sizes?
• Shadows can be synced to the cloud and so the limit matches the cloud.
Can GGC’s communicate with each other?
• Not natively, you have to create a proxy using a connected “device” that will relay
between two cores
Can we use wildcards in the route table?
• No, explicit rules have to exist for all targets and sources
Can we subscribe to cloud topics?
• Yes, the source is “cloud” and you specify a local target
Can we compile for other architectures?
• No, please to your account team or partner team for support
|Webinars
Greengrass pricing
Active
Cores Price
3 Free for 1 year
3–10,000
$0.16/month
$1.49/year
10,000+ Call us
|Webinars
Demo
|Webinars
Demo Architecture
AWS
IoT
Lambda
API Gateway
AWS
IoT SDK
Gateway
LoRa Traffic
TCP Traffic
Data re-mapped,
re-published
MQTT Traffic
Lambda
Lambda
|Webinars

More Related Content

What's hot

S/4HANA on AWS-SAPPHIRE NOW 2016
S/4HANA on AWS-SAPPHIRE NOW 2016S/4HANA on AWS-SAPPHIRE NOW 2016
S/4HANA on AWS-SAPPHIRE NOW 2016
Amazon Web Services
 
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
Amazon Web Services
 
An Overview of the AI on the AWS Platform
An Overview of the AI on the AWS PlatformAn Overview of the AI on the AWS Platform
An Overview of the AI on the AWS Platform
Amazon Web Services
 
What Is Happening At The Edge
What Is Happening At The EdgeWhat Is Happening At The Edge
What Is Happening At The Edge
Amazon Web Services
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
Amazon Web Services
 
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Amazon Web Services
 
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Amazon Web Services
 
BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...
BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...
BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...
Amazon Web Services
 
Serverless Realtime Backup
Serverless Realtime BackupServerless Realtime Backup
Serverless Realtime Backup
Amazon Web Services
 
ENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the CloudENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the Cloud
Amazon Web Services
 
Serverless Workshop
Serverless WorkshopServerless Workshop
Serverless Workshop
Amazon Web Services
 
SEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) ScaleSEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) Scale
Amazon Web Services
 
The Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your BusinessThe Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your Business
Amazon Web Services
 
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You ScaleENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
Amazon Web Services
 
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
Amazon Web Services
 
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot InstancesWKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
Amazon Web Services
 
Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS
2nd Watch
 
Ingest Options on AWS
Ingest Options on AWSIngest Options on AWS
Ingest Options on AWS
Amazon Web Services
 
NEW LAUNCH! Introducing AWS Snowball Edge and AWS Snowmobile
NEW LAUNCH! Introducing AWS Snowball Edge and AWS SnowmobileNEW LAUNCH! Introducing AWS Snowball Edge and AWS Snowmobile
NEW LAUNCH! Introducing AWS Snowball Edge and AWS Snowmobile
Amazon Web Services
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and Docker
Amazon Web Services
 

What's hot (20)

S/4HANA on AWS-SAPPHIRE NOW 2016
S/4HANA on AWS-SAPPHIRE NOW 2016S/4HANA on AWS-SAPPHIRE NOW 2016
S/4HANA on AWS-SAPPHIRE NOW 2016
 
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch ServiceBDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
BDA402 Deep Dive: Log Analytics with Amazon Elasticsearch Service
 
An Overview of the AI on the AWS Platform
An Overview of the AI on the AWS PlatformAn Overview of the AI on the AWS Platform
An Overview of the AI on the AWS Platform
 
What Is Happening At The Edge
What Is Happening At The EdgeWhat Is Happening At The Edge
What Is Happening At The Edge
 
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel AvivFinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
FinOps - AWS Cost and Operational Efficiency - Pop-up Loft Tel Aviv
 
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
Migrating your Databases to AWS: Deep Dive on Amazon RDS and AWS Database Mig...
 
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
Getting Started with AWS Internet of Things - AWS Summit Cape Town 2017
 
BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...
BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...
BDA403 The Visible Network: How Netflix Uses Kinesis Streams to Monitor Appli...
 
Serverless Realtime Backup
Serverless Realtime BackupServerless Realtime Backup
Serverless Realtime Backup
 
ENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the CloudENT306 Migrating Large Scale Data Sets to the Cloud
ENT306 Migrating Large Scale Data Sets to the Cloud
 
Serverless Workshop
Serverless WorkshopServerless Workshop
Serverless Workshop
 
SEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) ScaleSEC301 Security @ (Cloud) Scale
SEC301 Security @ (Cloud) Scale
 
The Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your BusinessThe Value of Certified AWS Experts to Your Business
The Value of Certified AWS Experts to Your Business
 
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You ScaleENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
ENT316 Keeping Pace With The Cloud: Managing and Optimizing as You Scale
 
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
AWS re:Invent 2016: Real-Time Data Exploration and Analytics with Amazon Elas...
 
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot InstancesWKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
WKS401 Deploy a Deep Learning Framework on Amazon ECS and EC2 Spot Instances
 
Big data and Analytics on AWS
Big data and Analytics on AWSBig data and Analytics on AWS
Big data and Analytics on AWS
 
Ingest Options on AWS
Ingest Options on AWSIngest Options on AWS
Ingest Options on AWS
 
NEW LAUNCH! Introducing AWS Snowball Edge and AWS Snowmobile
NEW LAUNCH! Introducing AWS Snowball Edge and AWS SnowmobileNEW LAUNCH! Introducing AWS Snowball Edge and AWS Snowmobile
NEW LAUNCH! Introducing AWS Snowball Edge and AWS Snowmobile
 
SRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and DockerSRV409 Deep Dive on Microservices and Docker
SRV409 Deep Dive on Microservices and Docker
 

Similar to AWS Greengrass Technical Deep Dive - AWS Online Tech Talks

AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
Amazon Web Services
 
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
Amazon Web Services
 
AWS IoT Edge Management
AWS IoT Edge ManagementAWS IoT Edge Management
AWS IoT Edge Management
Avinash Patil
 
Gluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A ChallengeGluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A Challenge
Adrian Cockcroft
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
Amazon Web Services
 
AWS Lambda and Serverless Cloud
AWS Lambda and Serverless CloudAWS Lambda and Serverless Cloud
AWS Lambda and Serverless Cloud
Amazon Web Services
 
Come costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWSCome costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWS
Amazon Web Services
 
Datapalooza: A Music Festival Themed ML & IoT Workshop
Datapalooza: A Music Festival Themed ML & IoT WorkshopDatapalooza: A Music Festival Themed ML & IoT Workshop
Datapalooza: A Music Festival Themed ML & IoT Workshop
Amazon Web Services
 
Introduction to AWS Greengrass - DevDay Los Angeles 2017
Introduction to AWS Greengrass - DevDay Los Angeles 2017Introduction to AWS Greengrass - DevDay Los Angeles 2017
Introduction to AWS Greengrass - DevDay Los Angeles 2017
Amazon Web Services
 
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with DemoRaleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
Amazon Web Services
 
DataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT WorkshopDataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT Workshop
Amazon Web Services
 
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
Amazon Web Services
 
Service fabric and azure service fabric mesh
Service fabric and azure service fabric meshService fabric and azure service fabric mesh
Service fabric and azure service fabric mesh
Mikkel Mørk Hegnhøj
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
Amazon Web Services
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
Amazon Web Services
 
XCloudLabs- AWS Overview
XCloudLabs- AWS Overview XCloudLabs- AWS Overview
XCloudLabs- AWS Overview
sangam biradar
 
Introduction to AWS Greengrass on IoT
Introduction to AWS Greengrass on IoTIntroduction to AWS Greengrass on IoT
Introduction to AWS Greengrass on IoT
Amazon Web Services
 
Introducing AWS Greengrass
Introducing AWS GreengrassIntroducing AWS Greengrass
Introducing AWS Greengrass
Amazon Web Services
 
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
Amazon Web Services
 
Serverless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloadsServerless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloads
Tensult
 

Similar to AWS Greengrass Technical Deep Dive - AWS Online Tech Talks (20)

AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
AWS re:Invent 2016: NEW LAUNCH! Introducing AWS Greengrass (IOT201)
 
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
 
AWS IoT Edge Management
AWS IoT Edge ManagementAWS IoT Edge Management
AWS IoT Edge Management
 
Gluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A ChallengeGluecon Monitoring Microservices and Containers: A Challenge
Gluecon Monitoring Microservices and Containers: A Challenge
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
AWS Lambda and Serverless Cloud
AWS Lambda and Serverless CloudAWS Lambda and Serverless Cloud
AWS Lambda and Serverless Cloud
 
Come costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWSCome costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWS
 
Datapalooza: A Music Festival Themed ML & IoT Workshop
Datapalooza: A Music Festival Themed ML & IoT WorkshopDatapalooza: A Music Festival Themed ML & IoT Workshop
Datapalooza: A Music Festival Themed ML & IoT Workshop
 
Introduction to AWS Greengrass - DevDay Los Angeles 2017
Introduction to AWS Greengrass - DevDay Los Angeles 2017Introduction to AWS Greengrass - DevDay Los Angeles 2017
Introduction to AWS Greengrass - DevDay Los Angeles 2017
 
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with DemoRaleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
Raleigh DevDay 2017: AWS Greengrass Technical Deep Dive with Demo
 
DataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT WorkshopDataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT Workshop
 
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
AWS re:Invent 2016: Serverless IoT Back Ends (IOT401)
 
Service fabric and azure service fabric mesh
Service fabric and azure service fabric meshService fabric and azure service fabric mesh
Service fabric and azure service fabric mesh
 
Machine Learning Inference at the Edge
Machine Learning Inference at the EdgeMachine Learning Inference at the Edge
Machine Learning Inference at the Edge
 
Getting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless CloudGetting Started with AWS Lambda and the Serverless Cloud
Getting Started with AWS Lambda and the Serverless Cloud
 
XCloudLabs- AWS Overview
XCloudLabs- AWS Overview XCloudLabs- AWS Overview
XCloudLabs- AWS Overview
 
Introduction to AWS Greengrass on IoT
Introduction to AWS Greengrass on IoTIntroduction to AWS Greengrass on IoT
Introduction to AWS Greengrass on IoT
 
Introducing AWS Greengrass
Introducing AWS GreengrassIntroducing AWS Greengrass
Introducing AWS Greengrass
 
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
AWS March 2016 Webinar Series - AWS IoT Real Time Stream Processing with AWS ...
 
Serverless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloadsServerless design considerations for Cloud Native workloads
Serverless design considerations for Cloud Native workloads
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
Amazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
Amazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

AWS Greengrass Technical Deep Dive - AWS Online Tech Talks

  • 1. |Webinars© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Craig Williams, Partner SA & IoT Specialist AWS Greengrass Technical Deep Dive
  • 2. |Webinars What to except from this session • Quick re-cap of AWS IoT • Why Greengrass? • AWS Greengrass deep dive • Short demo showing a working Greengrass group
  • 4. |Webinars AWS IoT is a fully managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices. Extract and Filter data from your devices and take action with custom Rules Securely connect and manage any physical device across multiple networks and protocols Create Web and Mobile Applications that Interact with Devices reliably at any time
  • 7. |Webinars Why Greengrass? Law of physics Law of economics Law of the land
  • 9. |Webinars NOT hardware—you bring your own Greengrass is… AWS
  • 10. |Webinars Greengrass Core (GGC) The runtime responsible for Lambda execution, messaging, device shadows, security, and for interacting directly with the cloud
  • 11. |Webinars Greengrass Core (GGC) • Min Single-Core 1GHz • Min 128MB RAM • x86 and ARM • Linux (Ubuntu or Amazon)
  • 12. |Webinars Greengrass Core (GGC) The sky is the limit. GGC takes advantage of your device’s compute, memory, storage, and peripherals
  • 13. |Webinars IoT Device SDK Any device that uses the IoT Device SDK can be configured to interact with Greengrass Core via the local network AWS IoT Device SDK supports C, C++, Python, JavaScript
  • 14. |Webinars Devices work together locally A Greengrass Group is a set of Cores and other devices configured to communicate with one another
  • 15. |Webinars Devices work together with the cloud 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
  • 16. |Webinars Local Lambda Lambdas are event-driven compute functions With Greengrass you can write Lambda functions in the cloud and deploy them locally
  • 17. |Webinars Local Lambda Greengrass runs Lambdas written in Python 2.7 Invoke Lambda functions with messaging and shadow updates
  • 18. |Webinars Local Lambda – What you can do Command and control Offline operation Data filtering & aggregation Iterative learning
  • 19. |Webinars Shadows JSON documents that represent state of your devices and Lambdas Define them however is logical to you—a car, an engine, a fleet Sync to the cloud or keep them local
  • 20. |Webinars Shadows – What you can do Device state (current and desired) Granular device state (only synched to the cloud for debug) Dynamic configuration (e.g,. numeric factors of an ML model)
  • 21. |Webinars Messaging Local MQTT Pub/Sub messaging Define subscriptions between publishers and subscribers Apply MQTT topic filters
  • 22. |Webinars Security Mutual auth, both locally and also with the cloud Certificate on your devices can be associated to SigV4 credentials in the cloud You can directly call any AWS service from Greengrass
  • 23. |Webinars Security The local GGC has it’s own root certificate. Each device certificate is signed by the GGC’s root certificate. Greengrass core now uses the local CA and device certificate for authentication.
  • 24. |Webinars Broker Specifics Publisher Connect to GGC • Cert verified locally Publish to topic Route Table • Match targets • Reject by default Lambda or Subscriber Subscriber Connect to GGC • Cert verified locally Subscribe to topics Route Table • Match targets • Reject by default Receive messages Lambda Receives message Compute Publish to topic Route Table • Match targets • Reject by default Lambda or Subscriber
  • 25. |Webinars Detailed Requirements • Linux – Kernel 4.4 with OverlayFS enabled (we test on 4.4 but 3.18+ with OverlayFS is an option) • x86_64, ARMv61, AArch64
  • 26. |Webinars Use Case - example Gas Turbine Filter Maintenance • Each turbine consists of multiple devices/sensors • Each turbine has a single Greengrass core • Lambda functions have enough logic to perform edge machine learning • Models and Lambda changes can be centrally updated • Lambda filters data and using it’s edge ML can determine when to request maintenance/replacement of filters • Only required data is sent up to AWS IoT once an hour Lambdas Rules Shadowturbine AWS IoT
  • 27. |Webinars FAQ What about shadow sizes? • Shadows can be synced to the cloud and so the limit matches the cloud. Can GGC’s communicate with each other? • Not natively, you have to create a proxy using a connected “device” that will relay between two cores Can we use wildcards in the route table? • No, explicit rules have to exist for all targets and sources Can we subscribe to cloud topics? • Yes, the source is “cloud” and you specify a local target Can we compile for other architectures? • No, please to your account team or partner team for support
  • 28. |Webinars Greengrass pricing Active Cores Price 3 Free for 1 year 3–10,000 $0.16/month $1.49/year 10,000+ Call us
  • 30. |Webinars Demo Architecture AWS IoT Lambda API Gateway AWS IoT SDK Gateway LoRa Traffic TCP Traffic Data re-mapped, re-published MQTT Traffic Lambda Lambda