SlideShare una empresa de Scribd logo
1 de 28
© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Massimiliano Angelino
Solution Architect, Amazon Web Services
Alessandro Pirrotta
Ph.D., Data Scientist, DFDS
ML inference at the Edge
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Architecture: 2016
AWS AWS IoT Core
Gateway
Endpoints
Greengrass
Things
Sense & Act
Cloud
Storage & Compute
Intelligence
Insights & Logic → Action
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Architecture: 2018
Secure device
connectivity
and messaging
Endpoints
AWS IoT Core
Fleet onboarding,
management and
SW updates
Fleet
audit and
protection
IoT data
analytics and
intelligence
Gateway
AWS Greengrass
Things
Sense & Act
Cloud
Storage & Compute
Amazon
Intelligence
Insights & Logic → ActionAWS IoT 1-Click
CO
M
ING
IN
2018
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How can I extend
AWS intelligence
to the edge?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Greengrass extends AWS intelligence to your devices, so they can act
locally on the data they generate, while still taking advantage of the cloud.
Extend AWS intelligence to the Edge
AWS Greengrass
Edge Cloud
Law of economics
Law of physics
Law of the land
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Extend intelligence to the Edge
AWS Greengrass
Machine
learning
inference
Local execution
of ML models
Over-the-air
updates
Easily update AWS
Greengrass core
Protocol
adapters
Local
resource
access
Lambda interacts
with peripherals
Easy integrations
with local
protocols
ʥ
A
Data and
state sync
Security
Local
device shadows
Local
actions
Lambda
functions
Local
messages
and triggers
Local
message broker
High-quality
AWS
security
© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Machine Learning at the Edge
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use Cases
Voice/sound
recognition
Collision
avoidance
Image
recognition
Anomaly
detection
More
!
Smart
Agriculture
Predictive
maintenance
Self-driving
cars
Video
surveillance
Robotics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Greengrass ML Inference
Build and train ML
models in the cloud
Accelerate ML inference
applications on the edge
Devices take
action quickly –
even when
disconnected
Use Greengrass to
deploy optimized
models on your
target device
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Machine Learning at the Edge
Inference Training
Local
actions
Edge Cloud
Triggers
© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Greengrass ML Overview
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What do you want to achieve?
Sense
Generate and receive rich data
about the environment
Infer
Extract relevance from huge
amounts of data in real time
Action
Take smart actions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why is it hard?
Collect and
moving data
to the cloud
Process data,
build and
train your
model
Deploy
model to the
target device
Build ML
framework
(e.g., MXNet)
for different
device
Write
Inference
app and
deploy it to
the target
device
Utilize
accelerator
such as GPU
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ML Inference using AWS Greengrass
Train in the cloud
• Massive computing power
• Large repository of data
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Inference at the edge
• Low latency
• bandwidth saving
• regulation/privacy
Trained models
and Lambdas
Extracted
Intelligence
Inferences and
take actions
locally on device
AWS Cloud
for training
SageMaker
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Deploy cloud trained models
to target devices for you
• Add your trained model as a
Machine Learning resource
to Greengrass group
• Deploy to Greengrass devices
• Locate Amazon SageMaker
trained models in
Greengrass console
• Bring your own models
Deploy cloud trained models
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Access GPU and FPGA
from Lambda functions
to speed up inference
• No code required
• Simply declare the
accelerator as a Local
Resource that Lambda
functions need to access
Access hardware accelerators
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pre-built MXNet and
Tensorflow packages
• Intel Atom E3900
(Apollo Lake)
• NVIDIA Jetson TX2
• Raspberry Pi
You can always bring
your own framework (e.g.
Caffe2, and CNTK)
Pre-built ML frameworks for devices
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda examples
to help you create
inference apps,
showing you how to
• Load trained models
• Applying them to locally
generated data for local
inferencing
• Take actions
Lambda inference examples
© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Demo
© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Guest speaker - DFDS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Benefits of Greengrass ML Inference
Deploy cloud
trained models
Enable
GPU access
Use pre-build
MXNet and TensorFlow,
or bring your own ML
framework
Lambda
actions
AWS DeepLens
HD video camera
Custom-designed
deep learning
inference engine
Micro-SD
Mini-HDMI
USB
USB
Reset
Audio out
Power
HD video camera
with on-board
compute optimized
for deep learning
Tutorials, examples,
demos, and pre-
built models
From unboxing
to first inference
in <10 minutes
Integrates with
Amazon SageMaker
and AWS Lambda
10
MIN
The world’s first deep learning-enabled video camera for developers
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS DeepLens Architecture
Video out
Data out
I N F E R E N C E
D E P L O Y P R O J E C T S
Manage device
Security
Console Project
Management
AWS Cloud
Intel: Model Optimizer
cIDNN and Driver
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Customers and partners
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Consultancy Partners – ML Competency
© 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Go build!
Problem
Nokia saw a need in industrial IoT to analyze
video streams at the edge and send the data
to remote centers only when anomalies are
detected.
Solution
Deploying AWS Greengrass on Nokia Multi-
access Edge Computing platform and
combining it with Nokia private mobile
network solutions. This joint solution makes
it possible for the oil industry to pair real-
time drilling data with production data
of nearby wells.
Impact
Due to the high cost of bandwidth being, this
solution enables Nokia to optimize the data
that is sent to other wells and to the cloud
based on rules and alerts set up on
the locally processed data.
Problem
Wärtsilä needed to accurately predict when the
marine engines they manufactured needed to
get serviced. Understanding and predicting the
service schedule is vital for Wärtsilä to increase
their service and parts revenue.
Solution
Accenture worked with AWS account SAs, AoD
SAs, and Salesforce SAs to architect an IoT
solution using Salesforce and AWS IoT Core to
collect data and build predictive models. The
solution they developed is scalable and
extensible beyond just this use case, as Wärtsilä
has 14,000 ships with 35,000 engines installed.
There are great possibilities for sensor-driven IoT
use cases.
Impact
The entire solution should result in an increase
in parts and service sales for Wärtsilä and higher
customer retention.

Más contenido relacionado

La actualidad más candente

ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewShahed Chowdhuri
 
The AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in PracticeThe AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in PracticeAmazon Web Services
 
Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Araf Karsh Hamid
 
AWS 101: Introduction to AWS
AWS 101: Introduction to AWSAWS 101: Introduction to AWS
AWS 101: Introduction to AWSIan Massingham
 
CI/CD for React Native
CI/CD for React NativeCI/CD for React Native
CI/CD for React NativeJoao Marins
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsAraf Karsh Hamid
 
Disaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWSDisaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWSAmazon Web Services
 
Practical introduction to hadoop
Practical introduction to hadoopPractical introduction to hadoop
Practical introduction to hadoopinside-BigData.com
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Amazon Web Services
 
Kubernetes Deployment Strategies
Kubernetes Deployment StrategiesKubernetes Deployment Strategies
Kubernetes Deployment StrategiesAbdennour TM
 
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations WorkshopI Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations WorkshopApigee | Google Cloud
 

La actualidad más candente (20)

AWS Lambda Features and Uses
AWS Lambda Features and UsesAWS Lambda Features and Uses
AWS Lambda Features and Uses
 
ASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with OverviewASP.NET Core MVC + Web API with Overview
ASP.NET Core MVC + Web API with Overview
 
The AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in PracticeThe AWS Shared Security Responsibility Model in Practice
The AWS Shared Security Responsibility Model in Practice
 
Architecture: Microservices
Architecture: MicroservicesArchitecture: Microservices
Architecture: Microservices
 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
 
Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics Apache Flink, AWS Kinesis, Analytics
Apache Flink, AWS Kinesis, Analytics
 
AWS 101: Introduction to AWS
AWS 101: Introduction to AWSAWS 101: Introduction to AWS
AWS 101: Introduction to AWS
 
Serverless Architectures.pdf
Serverless Architectures.pdfServerless Architectures.pdf
Serverless Architectures.pdf
 
CI/CD for React Native
CI/CD for React NativeCI/CD for React Native
CI/CD for React Native
 
Microservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native AppsMicroservices Architecture - Cloud Native Apps
Microservices Architecture - Cloud Native Apps
 
Getting Started with Amazon EC2
Getting Started with Amazon EC2Getting Started with Amazon EC2
Getting Started with Amazon EC2
 
Disaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWSDisaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWS
 
Practical introduction to hadoop
Practical introduction to hadoopPractical introduction to hadoop
Practical introduction to hadoop
 
Intro to AWS Lambda
Intro to AWS Lambda Intro to AWS Lambda
Intro to AWS Lambda
 
DevOps on AWS
DevOps on AWSDevOps on AWS
DevOps on AWS
 
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
Infrastructure Is Code with the AWS Cloud Development Kit (DEV372) - AWS re:I...
 
Kubernetes Deployment Strategies
Kubernetes Deployment StrategiesKubernetes Deployment Strategies
Kubernetes Deployment Strategies
 
Amazon Kinesis
Amazon KinesisAmazon Kinesis
Amazon Kinesis
 
Cost Optimization on AWS
Cost Optimization on AWSCost Optimization on AWS
Cost Optimization on AWS
 
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations WorkshopI Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
I Love APIs 2015 : Zero to Thousands TPS Private Cloud Operations Workshop
 

Similar a ML Inference at the Edge

NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...
NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...
NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...Amazon Web Services
 
SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices
SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices
SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices Amazon Web Services
 
Enabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNetEnabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNetAmazon Web Services
 
GPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and Beyond
GPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and BeyondGPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and Beyond
GPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and BeyondAmazon Web Services
 
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017Amazon Web Services
 
Transforming Enterprise IT - Virtual Transformation Day Feb 2019
Transforming Enterprise IT - Virtual Transformation Day Feb 2019Transforming Enterprise IT - Virtual Transformation Day Feb 2019
Transforming Enterprise IT - Virtual Transformation Day Feb 2019Amazon Web Services
 
IOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWSIOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWSAmazon Web Services
 
GPSBUS211-Edge Intelligence for IoT Applications
GPSBUS211-Edge Intelligence for IoT ApplicationsGPSBUS211-Edge Intelligence for IoT Applications
GPSBUS211-Edge Intelligence for IoT ApplicationsAmazon Web Services
 
透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)
透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)
透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)Amazon Web Services
 
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018Amazon Web Services
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartVladimir Simek
 
Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...
Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...
Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...Amazon Web Services
 
How Can Edge Computing and IoT Transform Your Business?
How Can Edge Computing and IoT Transform Your Business?How Can Edge Computing and IoT Transform Your Business?
How Can Edge Computing and IoT Transform Your Business?Amazon Web Services
 
How Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud AdoptionHow Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud AdoptionAmazon Web Services
 
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...Amazon Web Services
 
EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...
EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...
EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...Amazon Web Services
 
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Amazon Web Services
 
NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...
NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...
NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...Amazon Web Services
 
Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018
Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018
Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018Amazon Web Services
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartVladimir Simek
 

Similar a ML Inference at the Edge (20)

NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...
NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...
NEW LAUNCH! Push Intelligence to the edge with Greengrass - IOT209 - re:Inven...
 
SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices
SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices
SRV201 Push Intelligence to the Edge Machine Learning on AWS Greengrass Devices
 
Enabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNetEnabling Deep Learning in IoT Applications with Apache MXNet
Enabling Deep Learning in IoT Applications with Apache MXNet
 
GPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and Beyond
GPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and BeyondGPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and Beyond
GPSTEC317-From Leaves to Lawns AWS Greengrass at the Edge and Beyond
 
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
Deep Learning for Industrial IoT - MCL316 - re:Invent 2017
 
Transforming Enterprise IT - Virtual Transformation Day Feb 2019
Transforming Enterprise IT - Virtual Transformation Day Feb 2019Transforming Enterprise IT - Virtual Transformation Day Feb 2019
Transforming Enterprise IT - Virtual Transformation Day Feb 2019
 
IOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWSIOT311_Customer Stories of Things, Cloud, and Analytics on AWS
IOT311_Customer Stories of Things, Cloud, and Analytics on AWS
 
GPSBUS211-Edge Intelligence for IoT Applications
GPSBUS211-Edge Intelligence for IoT ApplicationsGPSBUS211-Edge Intelligence for IoT Applications
GPSBUS211-Edge Intelligence for IoT Applications
 
透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)
透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)
透過最新的 AWS 服務在 2019 年為您的業務轉型 (Level 200)
 
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
Amazon on Amazon: How Amazon Designs Chips on AWS (MFG305) - AWS re:Invent 2018
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to Start
 
Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...
Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...
Integrate the AWS Cloud with Responsive Xilinx Machine Learning at the Edge (...
 
How Can Edge Computing and IoT Transform Your Business?
How Can Edge Computing and IoT Transform Your Business?How Can Edge Computing and IoT Transform Your Business?
How Can Edge Computing and IoT Transform Your Business?
 
How Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud AdoptionHow Different Large Organizations are Approaching Cloud Adoption
How Different Large Organizations are Approaching Cloud Adoption
 
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
RET303_Drive Warehouse Efficiencies with the Same AWS IoT Technology that Pow...
 
EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...
EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...
EUT303_Modernizing the Energy and Utilities Industry with IoT Moving SCADA to...
 
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapid...
 
NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...
NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...
NEW LAUNCH! AWS Greengrass and Amazon FreeRTOS: Connectivity and Security at ...
 
Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018
Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018
Machine Learning at the IoT Edge (IOT214) - AWS re:Invent 2018
 
Artificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to StartArtificial Intelligence (Machine Learning) on AWS: How to Start
Artificial Intelligence (Machine Learning) on AWS: How to Start
 

Más de 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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon 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
 
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 WorkloadsAmazon 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 sfatareAmazon 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 NodeJSAmazon 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 webAmazon 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 sfatareAmazon 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 ServiceAmazon Web Services
 

Más de 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
 

ML Inference at the Edge

  • 1. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Massimiliano Angelino Solution Architect, Amazon Web Services Alessandro Pirrotta Ph.D., Data Scientist, DFDS ML inference at the Edge
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Architecture: 2016 AWS AWS IoT Core Gateway Endpoints Greengrass Things Sense & Act Cloud Storage & Compute Intelligence Insights & Logic → Action
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Architecture: 2018 Secure device connectivity and messaging Endpoints AWS IoT Core Fleet onboarding, management and SW updates Fleet audit and protection IoT data analytics and intelligence Gateway AWS Greengrass Things Sense & Act Cloud Storage & Compute Amazon Intelligence Insights & Logic → ActionAWS IoT 1-Click CO M ING IN 2018
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How can I extend AWS intelligence to the edge?
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Greengrass extends AWS intelligence to your devices, so they can act locally on the data they generate, while still taking advantage of the cloud. Extend AWS intelligence to the Edge AWS Greengrass Edge Cloud Law of economics Law of physics Law of the land
  • 6. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Extend intelligence to the Edge AWS Greengrass Machine learning inference Local execution of ML models Over-the-air updates Easily update AWS Greengrass core Protocol adapters Local resource access Lambda interacts with peripherals Easy integrations with local protocols ʥ A Data and state sync Security Local device shadows Local actions Lambda functions Local messages and triggers Local message broker High-quality AWS security
  • 7. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Machine Learning at the Edge
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use Cases Voice/sound recognition Collision avoidance Image recognition Anomaly detection More ! Smart Agriculture Predictive maintenance Self-driving cars Video surveillance Robotics
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Greengrass ML Inference Build and train ML models in the cloud Accelerate ML inference applications on the edge Devices take action quickly – even when disconnected Use Greengrass to deploy optimized models on your target device
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Machine Learning at the Edge Inference Training Local actions Edge Cloud Triggers
  • 11. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Greengrass ML Overview
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What do you want to achieve? Sense Generate and receive rich data about the environment Infer Extract relevance from huge amounts of data in real time Action Take smart actions
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why is it hard? Collect and moving data to the cloud Process data, build and train your model Deploy model to the target device Build ML framework (e.g., MXNet) for different device Write Inference app and deploy it to the target device Utilize accelerator such as GPU
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ML Inference using AWS Greengrass Train in the cloud • Massive computing power • Large repository of data © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Inference at the edge • Low latency • bandwidth saving • regulation/privacy Trained models and Lambdas Extracted Intelligence Inferences and take actions locally on device AWS Cloud for training SageMaker
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Deploy cloud trained models to target devices for you • Add your trained model as a Machine Learning resource to Greengrass group • Deploy to Greengrass devices • Locate Amazon SageMaker trained models in Greengrass console • Bring your own models Deploy cloud trained models
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Access GPU and FPGA from Lambda functions to speed up inference • No code required • Simply declare the accelerator as a Local Resource that Lambda functions need to access Access hardware accelerators
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Pre-built MXNet and Tensorflow packages • Intel Atom E3900 (Apollo Lake) • NVIDIA Jetson TX2 • Raspberry Pi You can always bring your own framework (e.g. Caffe2, and CNTK) Pre-built ML frameworks for devices
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda examples to help you create inference apps, showing you how to • Load trained models • Applying them to locally generated data for local inferencing • Take actions Lambda inference examples
  • 19. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Demo
  • 20. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Guest speaker - DFDS
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Benefits of Greengrass ML Inference Deploy cloud trained models Enable GPU access Use pre-build MXNet and TensorFlow, or bring your own ML framework Lambda actions
  • 22. AWS DeepLens HD video camera Custom-designed deep learning inference engine Micro-SD Mini-HDMI USB USB Reset Audio out Power HD video camera with on-board compute optimized for deep learning Tutorials, examples, demos, and pre- built models From unboxing to first inference in <10 minutes Integrates with Amazon SageMaker and AWS Lambda 10 MIN The world’s first deep learning-enabled video camera for developers
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS DeepLens Architecture Video out Data out I N F E R E N C E D E P L O Y P R O J E C T S Manage device Security Console Project Management AWS Cloud Intel: Model Optimizer cIDNN and Driver
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Customers and partners
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Consultancy Partners – ML Competency
  • 26. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved. Go build!
  • 27. Problem Nokia saw a need in industrial IoT to analyze video streams at the edge and send the data to remote centers only when anomalies are detected. Solution Deploying AWS Greengrass on Nokia Multi- access Edge Computing platform and combining it with Nokia private mobile network solutions. This joint solution makes it possible for the oil industry to pair real- time drilling data with production data of nearby wells. Impact Due to the high cost of bandwidth being, this solution enables Nokia to optimize the data that is sent to other wells and to the cloud based on rules and alerts set up on the locally processed data.
  • 28. Problem Wärtsilä needed to accurately predict when the marine engines they manufactured needed to get serviced. Understanding and predicting the service schedule is vital for Wärtsilä to increase their service and parts revenue. Solution Accenture worked with AWS account SAs, AoD SAs, and Salesforce SAs to architect an IoT solution using Salesforce and AWS IoT Core to collect data and build predictive models. The solution they developed is scalable and extensible beyond just this use case, as Wärtsilä has 14,000 ships with 35,000 engines installed. There are great possibilities for sensor-driven IoT use cases. Impact The entire solution should result in an increase in parts and service sales for Wärtsilä and higher customer retention.