SlideShare une entreprise Scribd logo
1  sur  71
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Michele Alessandrini, Sr.Solutions Architect
Milan - June 8, 2017
Building and Managing Secure,
Scalable IoT Solutions
The “Internet of Things”
(plural)
The customer has many
identities
AWS IoT
Device Gateway
Publish / Subscribe
Standard Protocol Support
MQTT, HTTP, WebSockets
Long Lived Connections
Receive signals from the cloud
Secure by Default
Connect securely via X509 Certs
and TLS 1.2 Client Mutual Auth
Rules engine
Rules engine: Extracting value from messages
• Filter messages with certain criteria
• Transform the payload of messages
• React based on messages
• Move messages to other topics
• Move messages to other systems
• Predict changes based on trends
What is a rule?
• ruleName: human-readable name
• description: human-readable description
• ruleDisabled: true/false
• sql: e.g. SELECT * FROM ‘pm/topic’
• actions:
• action 1:
• action 2:
What is a rule?
• ruleName: human-readable name
• description: human-readable description
• ruleDisabled: true/false
• sql: e.g. SELECT * FROM ‘pm/topic’
• actions:
• action 1:
• action 2:
Rules engine: Filter and transform
• Filter messages with certain criteria
• Transform the payload of messages
• React based on messages
• Move messages to other topics
• Move messages to other systems
• Predict changes based on trends
Rules engine: Filter and transform
• SQL
• SELECT * FROM topic WHERE condition
• SELECT status.space_id AS room_id FROM
'iot/tempSensors/#' WHERE temp > 50
• Functions (in SELECT or WHERE)
• String manipulation (regex support)
• Mathematical operations
• Context-based helper functions
• Crypto support
• UUID, timestamp, rand, etc.
Rules engine: React and move
• Filter messages with certain criteria
• Transform the payload of messages
• React based on messages
• Move messages to other topics
• Move messages to other systems
• Predict changes based on trends
Rules engine: React (and move)
"rule": {
"ruleName": "republishPredictions”,
"ruleDisabled": false,
"sql": "SELECT no AS id, cycle AS c_number FROM 'pm/topic' WHERE failure = 1",
"description": "Republish ids of engines that are predicted to fail within 30 cycles",
"actions": [
{
"republish": {
"topic": "pm/failures",
"roleArn": "arn:aws:iam::012345678901:role/iot-actions-role”
}
}
],
}
Rules engine: React (and move)
"rule": {
"ruleName": "republishPredictions”,
"ruleDisabled": false,
"sql": "SELECT no AS id, cycle AS c_number FROM 'pm/topic' WHERE failure = 1",
"description": "Republish ids of engines that are predicted to fail within 30 cycles",
"actions": [
{
"republish": {
"topic": "pm/failures",
"roleArn": "arn:aws:iam::012345678901:role/iot-actions-role”
}
}
],
}
Rules engine: Move messages to other systems
• Filter messages with certain criteria
• Transform the payload of messages
• React based on messages
• Move messages to other topics
• Move messages to other systems
• Predict changes based on trends
Rules engine: Move messages to other
systems
Invoke a Lambda function
Put object in an S3 bucket
Insert, update a
DynamoDB table
Publish to an SNS topic
or endpoint
Publish to a Amazon Kinesis
stream
Publish to Firehose
Republish to AWS IoT
Publish to Amazon ES
Capture a CloudWatch
metric or change an alarm
Write to an SQS queue
AWS IoT <-> Salesforce IoT Cloud partnership
Profiles (Event & Context)
Build 360° views of customers and device
Journeys (Business Logic)
State-based orchestration engine
Translate business goals into action
AWS IoT Device Shadow
1. Device publishes current state
2. Persist JSON data store
3. App requests device’s current state
4. App requests change the state
5. Device shadow syncs
updated state
6. Device publishes current state 7. Device shadow confirms state change
AWS IoT device shadow flow
AWS IoT device shadow: Simple yet powerful
{
"state" : {
“desired" : {
"lights": { "color": "RED" },
"engine" : "ON"
},
"reported" : {
"lights" : { "color": "GREEN" },
"engine" : "ON"
},
"delta" : {
"lights" : { "color": "RED" }
} },
"version" : 10
}
Device
Report its current state to one or multiple shadows
Retrieve its desired state from shadow
Mobile App
Set the desired state of a device
Get the last reported state of the device
Delete the shadow
Shadow
Shadow reports delta, desired, and reported
states along with metadata and version
Security
Authentication
Certificate/private key
AWS IAM (user/role: API keys)
Amazon Cognito (role: API keys)
AWS IAM (role: API keys)
Things
Users
AWS services
Just-in-time registration (JITR)
Just-in-time registration
Manufacturing line
JIT registration
Just-in-time registration
Manufacturing line
Provisioning of the Identities
signed with customer’s CA
JIT registration
Just-in-time registration
Manufacturing line
Provisioning of the Identities
signed with customer’s CA
First data connection
JIT registration
User access
Unauthenticated (anonymous) user access
IAM
unauthenticated
role
Amazon
Cognito
Authenticated user access
IAM
authenticated
role
Amazon
Cognito
IoT policy
per user
Identity
provider
Most machine data never reaches the cloud
Medical equipment Industrial machinery Extreme environments
Why this problem isn’t going away
Law of physics Law of economics Law of the land
AWS Greengrass
Three pillars of IoT
Things
Sense
& Act
Cloud
Storage
& Compute
Intelligence
Insights &
Logic → Action
AWS Greengrass
Things
Sense
& Act
Cloud
Storage
& Compute
Intelligence
Insights &
Logic → Action
AWS IoT
Starting in the cloud
Action
Device
State
AWS Services
Applications
Authentication
& Authorization
Device
Gateway
Registry
AWS IoT API
Messages Messages
AWS Greengrass
Messages Messages
Authentication
& Authorization
Device
Gateway
Action
Device
State
AWS Services
Applications
Registry
AWS IoT API
AWS IoT
Going to the edge
Introducing AWS Greengrass
Device
State
Action
Device
Gateway
Messages
Authentication
& Authorization
Security
*Note: Greengrass is NOT Hardware (You bring your own)
Components of AWS Greengrass
Greengrass Core (GGC)
The runtime responsible for
Lambda execution, messaging,
device shadows, security, and for
interacting directly with the cloud
Greengrass Core (GGC)
• Min Single-Core 1GHz
• Min 128MB RAM
• x86 and ARM
• Linux (Ubuntu or Amazon)
Greengrass Core (GGC)
The sky is the limit.
GGC takes advantage of your
device’s compute, memory,
storage, and peripherals
IoT Device SDK
Any device that uses the IoT
Device SDK can be configured to
interact with Greengrass Core via
the local network
Starts with the IoT Device SDK
for C++, more coming soon
IoT Device SDK
Devices that connect to
Greengrass can be small
(microcontroller-based),
and they can also be big
Devices work together locally
A Greengrass Group is
a set of Cores and other
devices configured to
communicate with one
another
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
Features of AWS Greengrass
Local
Lambda
Local
Device Shadows Local
Security
Greengrass
is …
AWS
Local
Broker
Local Lambda
Greengrass runs Lambdas
written in Python 2.7
Invoke Lambda functions with
messaging and shadow updates
Local Lambda
Lambdas are event-driven
compute functions
With Greengrass you can write
Lambda functions in the cloud
and deploy them locally
Local Lambda – What you can do
Command and control
Offline operation
Data filtering & aggregation
Iterative learning
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
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)
Messaging
Local MQTT Pub/Sub messaging
Define subscriptions between
publishers and subscribers
Apply MQTT topic filters
Messaging – What you can do
Bridge to the cloud
Local distributed system
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 AWS Greengrass
AWS Greengrass
Benefits of AWS Greengrass
Respond to local events quickly
Operate offline
Simplified device programming
Reduce the cost of IoT applications
AWS Summit Milano
Ignacio Berenguer (ignacio.berenguer@enel.com)
Enel / Global ICT / Digital Enabler
08/06/2017
About Enel
60
Global Diversified Energy Operator
About Enel
61
Enel Mission
We are opening energy access to
more people
We are opening the world of
energy to new technologies
We are opening new ways for
people to manage energy
We are opening new uses of
energy
Residential
Customers
Industrial
Customers
Industrial
Installations
The Challenge
62
IoT at Enel
AWS IoT at Enel
63
GoodLife Project
Home Gateway
Smart Devices IoT Platform
Mobile App and Web AppEnergy Meter
Internet connectivity
AWS IoT at Enel
64
Evolution of the Enel IoT for Future Projects
Cloud
Dashboards
Edge
PI Network
LoRa Network
Zwave Network
IoT Platform
IoT
Gateway
Monitoring
Storage &
Persistence
64
Sensor
Sensors
LoRa
Gateway LoRa
Network Server
Sensors PI
Server
Internet
IoT
API
Gateway
Lambda
IoT Device
Registry
IoT Rule
Device
Shadows
S3 DynamoDB
Other Systems
Data Lake
ElasticSearch
SQS
Vertical
Applications
Kibana
API Interfaces
Application 1
Application 2
Application N
IoT Gateway
Lambda Greengrass
Camera
Kinesis
Device Management, device registry, get /
set status, command execution, data
aggregation, camera, monitoring,
authentication / authorization
IAM
Salesforce Connector
Benefits of Working with AWS
65
IoT solution for Enel
Time to Market
Future Proof
Strategic choice
Scalability
IoT evolution
66
Future Relationship with AWS (1
Minute)
Initial IoT
projects
Building
new
generation
IoT
architecture
2nd wave of
IoT
solutions
Partner Ecosystem
Customers and Partners
AWS
Snowball
AWS Partner Network (APN)
AWS IoT customers can leverage the tens of thousands of APN partners
(Technology and ISV). APN grew by 50% in membership in the last 12
months
Native integration with Sigfox
What is Sigfox
Network operator in the Sub-GHz
Global network (one network)
Very Low power (up to 10 years on a single charge)
Very Low volume (12B per message)
Very Low cost (~$1/y in volume)
What is the integration
Sigfox transports data and passes it to AWS IoT
Device Management in AWS IoT
Rules Engine in AWS IoT
All the Power of the AWS Cloud
Coverage
Massive European Coverage
Rapid deployment in the US (100 cities by end of year)
Thank you!

Contenu connexe

Tendances

Jeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud ComputingJeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud Computing
deimos
 

Tendances (20)

Getting started with Serverless on AWS
Getting started with Serverless on AWSGetting started with Serverless on AWS
Getting started with Serverless on AWS
 
Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm
 
Build a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million UsersBuild a Website on AWS for Your First 10 Million Users
Build a Website on AWS for Your First 10 Million Users
 
Serverless Geospatial Mobile Apps with AWS
Serverless Geospatial Mobile Apps with AWSServerless Geospatial Mobile Apps with AWS
Serverless Geospatial Mobile Apps with AWS
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesIntroduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services
 
Introduction to Cloud Computing with Amazon Web Services-ASEAN Workshop Serie...
Introduction to Cloud Computing with Amazon Web Services-ASEAN Workshop Serie...Introduction to Cloud Computing with Amazon Web Services-ASEAN Workshop Serie...
Introduction to Cloud Computing with Amazon Web Services-ASEAN Workshop Serie...
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
Sensors Everywhere: Unlocking the Promise of IoT | AWS Public Sector Summit 2016
Sensors Everywhere: Unlocking the Promise of IoT | AWS Public Sector Summit 2016Sensors Everywhere: Unlocking the Promise of IoT | AWS Public Sector Summit 2016
Sensors Everywhere: Unlocking the Promise of IoT | AWS Public Sector Summit 2016
 
AWS Services for Content Production
AWS Services for Content ProductionAWS Services for Content Production
AWS Services for Content Production
 
AWS Innovate 2016: Digital Workloads on Amazon Web Services- Santanu Dutt
AWS Innovate 2016: Digital Workloads on Amazon Web Services- Santanu DuttAWS Innovate 2016: Digital Workloads on Amazon Web Services- Santanu Dutt
AWS Innovate 2016: Digital Workloads on Amazon Web Services- Santanu Dutt
 
The New Normal: Benefits of Cloud Computing and Defining your IT Strategy
The New Normal: Benefits of Cloud Computing and Defining your IT StrategyThe New Normal: Benefits of Cloud Computing and Defining your IT Strategy
The New Normal: Benefits of Cloud Computing and Defining your IT Strategy
 
Lessons & Use-Cases at Scale - Dr. Pete Stanski
Lessons & Use-Cases at Scale - Dr. Pete StanskiLessons & Use-Cases at Scale - Dr. Pete Stanski
Lessons & Use-Cases at Scale - Dr. Pete Stanski
 
Introduction to Cloud Computing with AWS (Thai Session)
Introduction to Cloud Computing with AWS (Thai Session)Introduction to Cloud Computing with AWS (Thai Session)
Introduction to Cloud Computing with AWS (Thai Session)
 
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
Industry 4.0: come i servizi IoT e Big Data di AWS rendono Smart il Manufactu...
 
AWS re:Invent 2016: Unlocking the Four Seasons of Migrations and Operations: ...
AWS re:Invent 2016: Unlocking the Four Seasons of Migrations and Operations: ...AWS re:Invent 2016: Unlocking the Four Seasons of Migrations and Operations: ...
AWS re:Invent 2016: Unlocking the Four Seasons of Migrations and Operations: ...
 
Containers and the Evolution of Computing
Containers and the Evolution of ComputingContainers and the Evolution of Computing
Containers and the Evolution of Computing
 
Gestire la sicurezza nel Cloud: come iniziare ad implementare un processo Dev...
Gestire la sicurezza nel Cloud: come iniziare ad implementare un processo Dev...Gestire la sicurezza nel Cloud: come iniziare ad implementare un processo Dev...
Gestire la sicurezza nel Cloud: come iniziare ad implementare un processo Dev...
 
Content Delivery: accelerare in modo sicuro e flessibile siti web e applicazioni
Content Delivery: accelerare in modo sicuro e flessibile siti web e applicazioniContent Delivery: accelerare in modo sicuro e flessibile siti web e applicazioni
Content Delivery: accelerare in modo sicuro e flessibile siti web e applicazioni
 
Jeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud ComputingJeff Barr Amazon Services Cloud Computing
Jeff Barr Amazon Services Cloud Computing
 
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
 

Similaire à Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapido, sicuro e scalabile

AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
Amazon Web Services Korea
 

Similaire à Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapido, sicuro e scalabile (20)

AWS IoT Deep Dive
AWS IoT Deep DiveAWS IoT Deep Dive
AWS IoT Deep Dive
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
 
IoT Smart Home
IoT Smart HomeIoT Smart Home
IoT Smart Home
 
AWS IoT 深入探討
AWS IoT 深入探討AWS IoT 深入探討
AWS IoT 深入探討
 
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
AWS IoT 및 Mobile Hub 서비스 소개 (김일호) :: re:Invent re:Cap Webinar 2015
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
 
Deep Dive on AWS IoT
Deep Dive on AWS IoTDeep Dive on AWS IoT
Deep Dive on AWS IoT
 
Reply Webinar Online - Mastering AWS - IoT Foundations
Reply Webinar Online - Mastering AWS - IoT FoundationsReply Webinar Online - Mastering AWS - IoT Foundations
Reply Webinar Online - Mastering AWS - IoT Foundations
 
Programming the Physical World with Device Shadows and Rules Engine
Programming the Physical World with Device Shadows and Rules EngineProgramming the Physical World with Device Shadows and Rules Engine
Programming the Physical World with Device Shadows and Rules Engine
 
Introducing AWS IoT - Interfacing with the Physical World - Technical 101
Introducing AWS IoT - Interfacing with the Physical World - Technical 101Introducing AWS IoT - Interfacing with the Physical World - Technical 101
Introducing AWS IoT - Interfacing with the Physical World - Technical 101
 
Internet of Things on AWS
Internet of Things on AWSInternet of Things on AWS
Internet of Things on AWS
 
Introduction to AWS IoT
Introduction to AWS IoTIntroduction to AWS IoT
Introduction to AWS IoT
 
AWS IoT - Introduction - Pop-up Loft
AWS IoT - Introduction - Pop-up LoftAWS IoT - Introduction - Pop-up Loft
AWS IoT - Introduction - Pop-up Loft
 
Getting started with aws io t.compressed.compressed
Getting started with aws io t.compressed.compressedGetting started with aws io t.compressed.compressed
Getting started with aws io t.compressed.compressed
 
AWS IoT Webinar
AWS IoT WebinarAWS IoT Webinar
AWS IoT Webinar
 
AWS IoT - Best of re:Invent Tel Aviv
AWS IoT - Best of re:Invent Tel AvivAWS IoT - Best of re:Invent Tel Aviv
AWS IoT - Best of re:Invent Tel Aviv
 
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 ...
 
AWS October Webinar Series - Getting Started with AWS IoT
AWS October Webinar Series - Getting Started with AWS IoTAWS October Webinar Series - Getting Started with AWS IoT
AWS October Webinar Series - Getting Started with AWS IoT
 
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
 
Overview of IoT Infrastructure and Connectivity at AWS & Getting Started with...
Overview of IoT Infrastructure and Connectivity at AWS & Getting Started with...Overview of IoT Infrastructure and Connectivity at AWS & Getting Started with...
Overview of IoT Infrastructure and Connectivity at AWS & Getting Started with...
 

Plus de 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 AWS
Amazon 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 Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon 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
 

Plus 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
 

Dernier

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 

Dernier (20)

WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
WSO2CON 2024 - API Management Usage at La Poste and Its Impact on Business an...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - KeynoteWSO2Con204 - Hard Rock Presentation - Keynote
WSO2Con204 - Hard Rock Presentation - Keynote
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 

Implementare e gestire soluzioni per l'Internet of Things (IoT) in modo rapido, sicuro e scalabile

  • 1. © 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Michele Alessandrini, Sr.Solutions Architect Milan - June 8, 2017 Building and Managing Secure, Scalable IoT Solutions
  • 2. The “Internet of Things” (plural)
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. The customer has many identities
  • 10. Publish / Subscribe Standard Protocol Support MQTT, HTTP, WebSockets Long Lived Connections Receive signals from the cloud Secure by Default Connect securely via X509 Certs and TLS 1.2 Client Mutual Auth
  • 12. Rules engine: Extracting value from messages • Filter messages with certain criteria • Transform the payload of messages • React based on messages • Move messages to other topics • Move messages to other systems • Predict changes based on trends
  • 13. What is a rule? • ruleName: human-readable name • description: human-readable description • ruleDisabled: true/false • sql: e.g. SELECT * FROM ‘pm/topic’ • actions: • action 1: • action 2:
  • 14. What is a rule? • ruleName: human-readable name • description: human-readable description • ruleDisabled: true/false • sql: e.g. SELECT * FROM ‘pm/topic’ • actions: • action 1: • action 2:
  • 15. Rules engine: Filter and transform • Filter messages with certain criteria • Transform the payload of messages • React based on messages • Move messages to other topics • Move messages to other systems • Predict changes based on trends
  • 16. Rules engine: Filter and transform • SQL • SELECT * FROM topic WHERE condition • SELECT status.space_id AS room_id FROM 'iot/tempSensors/#' WHERE temp > 50 • Functions (in SELECT or WHERE) • String manipulation (regex support) • Mathematical operations • Context-based helper functions • Crypto support • UUID, timestamp, rand, etc.
  • 17. Rules engine: React and move • Filter messages with certain criteria • Transform the payload of messages • React based on messages • Move messages to other topics • Move messages to other systems • Predict changes based on trends
  • 18. Rules engine: React (and move) "rule": { "ruleName": "republishPredictions”, "ruleDisabled": false, "sql": "SELECT no AS id, cycle AS c_number FROM 'pm/topic' WHERE failure = 1", "description": "Republish ids of engines that are predicted to fail within 30 cycles", "actions": [ { "republish": { "topic": "pm/failures", "roleArn": "arn:aws:iam::012345678901:role/iot-actions-role” } } ], }
  • 19. Rules engine: React (and move) "rule": { "ruleName": "republishPredictions”, "ruleDisabled": false, "sql": "SELECT no AS id, cycle AS c_number FROM 'pm/topic' WHERE failure = 1", "description": "Republish ids of engines that are predicted to fail within 30 cycles", "actions": [ { "republish": { "topic": "pm/failures", "roleArn": "arn:aws:iam::012345678901:role/iot-actions-role” } } ], }
  • 20. Rules engine: Move messages to other systems • Filter messages with certain criteria • Transform the payload of messages • React based on messages • Move messages to other topics • Move messages to other systems • Predict changes based on trends
  • 21. Rules engine: Move messages to other systems Invoke a Lambda function Put object in an S3 bucket Insert, update a DynamoDB table Publish to an SNS topic or endpoint Publish to a Amazon Kinesis stream Publish to Firehose Republish to AWS IoT Publish to Amazon ES Capture a CloudWatch metric or change an alarm Write to an SQS queue
  • 22. AWS IoT <-> Salesforce IoT Cloud partnership Profiles (Event & Context) Build 360° views of customers and device Journeys (Business Logic) State-based orchestration engine Translate business goals into action
  • 23. AWS IoT Device Shadow
  • 24. 1. Device publishes current state 2. Persist JSON data store 3. App requests device’s current state 4. App requests change the state 5. Device shadow syncs updated state 6. Device publishes current state 7. Device shadow confirms state change AWS IoT device shadow flow
  • 25. AWS IoT device shadow: Simple yet powerful { "state" : { “desired" : { "lights": { "color": "RED" }, "engine" : "ON" }, "reported" : { "lights" : { "color": "GREEN" }, "engine" : "ON" }, "delta" : { "lights" : { "color": "RED" } } }, "version" : 10 } Device Report its current state to one or multiple shadows Retrieve its desired state from shadow Mobile App Set the desired state of a device Get the last reported state of the device Delete the shadow Shadow Shadow reports delta, desired, and reported states along with metadata and version
  • 27. Authentication Certificate/private key AWS IAM (user/role: API keys) Amazon Cognito (role: API keys) AWS IAM (role: API keys) Things Users AWS services
  • 30. Just-in-time registration Manufacturing line Provisioning of the Identities signed with customer’s CA JIT registration
  • 31. Just-in-time registration Manufacturing line Provisioning of the Identities signed with customer’s CA First data connection JIT registration
  • 33. Unauthenticated (anonymous) user access IAM unauthenticated role Amazon Cognito
  • 35. Most machine data never reaches the cloud Medical equipment Industrial machinery Extreme environments
  • 36. Why this problem isn’t going away Law of physics Law of economics Law of the land AWS Greengrass
  • 37. Three pillars of IoT Things Sense & Act Cloud Storage & Compute Intelligence Insights & Logic → Action AWS Greengrass
  • 38. Things Sense & Act Cloud Storage & Compute Intelligence Insights & Logic → Action AWS IoT Starting in the cloud Action Device State AWS Services Applications Authentication & Authorization Device Gateway Registry AWS IoT API Messages Messages AWS Greengrass
  • 39. Messages Messages Authentication & Authorization Device Gateway Action Device State AWS Services Applications Registry AWS IoT API AWS IoT Going to the edge Introducing AWS Greengrass Device State Action Device Gateway Messages Authentication & Authorization Security *Note: Greengrass is NOT Hardware (You bring your own)
  • 40. Components of AWS Greengrass
  • 41. Greengrass Core (GGC) The runtime responsible for Lambda execution, messaging, device shadows, security, and for interacting directly with the cloud
  • 42. Greengrass Core (GGC) • Min Single-Core 1GHz • Min 128MB RAM • x86 and ARM • Linux (Ubuntu or Amazon)
  • 43. Greengrass Core (GGC) The sky is the limit. GGC takes advantage of your device’s compute, memory, storage, and peripherals
  • 44. IoT Device SDK Any device that uses the IoT Device SDK can be configured to interact with Greengrass Core via the local network Starts with the IoT Device SDK for C++, more coming soon
  • 45. IoT Device SDK Devices that connect to Greengrass can be small (microcontroller-based), and they can also be big
  • 46. Devices work together locally A Greengrass Group is a set of Cores and other devices configured to communicate with one another
  • 47. 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
  • 48. Features of AWS Greengrass
  • 50. Local Lambda Greengrass runs Lambdas written in Python 2.7 Invoke Lambda functions with messaging and shadow updates
  • 51. Local Lambda Lambdas are event-driven compute functions With Greengrass you can write Lambda functions in the cloud and deploy them locally
  • 52. Local Lambda – What you can do Command and control Offline operation Data filtering & aggregation Iterative learning
  • 53. 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
  • 54. 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)
  • 55. Messaging Local MQTT Pub/Sub messaging Define subscriptions between publishers and subscribers Apply MQTT topic filters
  • 56. Messaging – What you can do Bridge to the cloud Local distributed system
  • 57. 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 AWS Greengrass AWS Greengrass
  • 58. Benefits of AWS Greengrass Respond to local events quickly Operate offline Simplified device programming Reduce the cost of IoT applications
  • 59. AWS Summit Milano Ignacio Berenguer (ignacio.berenguer@enel.com) Enel / Global ICT / Digital Enabler 08/06/2017
  • 61. About Enel 61 Enel Mission We are opening energy access to more people We are opening the world of energy to new technologies We are opening new ways for people to manage energy We are opening new uses of energy
  • 63. AWS IoT at Enel 63 GoodLife Project Home Gateway Smart Devices IoT Platform Mobile App and Web AppEnergy Meter Internet connectivity
  • 64. AWS IoT at Enel 64 Evolution of the Enel IoT for Future Projects Cloud Dashboards Edge PI Network LoRa Network Zwave Network IoT Platform IoT Gateway Monitoring Storage & Persistence 64 Sensor Sensors LoRa Gateway LoRa Network Server Sensors PI Server Internet IoT API Gateway Lambda IoT Device Registry IoT Rule Device Shadows S3 DynamoDB Other Systems Data Lake ElasticSearch SQS Vertical Applications Kibana API Interfaces Application 1 Application 2 Application N IoT Gateway Lambda Greengrass Camera Kinesis Device Management, device registry, get / set status, command execution, data aggregation, camera, monitoring, authentication / authorization IAM Salesforce Connector
  • 65. Benefits of Working with AWS 65 IoT solution for Enel Time to Market Future Proof Strategic choice Scalability
  • 66. IoT evolution 66 Future Relationship with AWS (1 Minute) Initial IoT projects Building new generation IoT architecture 2nd wave of IoT solutions
  • 69. AWS Partner Network (APN) AWS IoT customers can leverage the tens of thousands of APN partners (Technology and ISV). APN grew by 50% in membership in the last 12 months
  • 70. Native integration with Sigfox What is Sigfox Network operator in the Sub-GHz Global network (one network) Very Low power (up to 10 years on a single charge) Very Low volume (12B per message) Very Low cost (~$1/y in volume) What is the integration Sigfox transports data and passes it to AWS IoT Device Management in AWS IoT Rules Engine in AWS IoT All the Power of the AWS Cloud Coverage Massive European Coverage Rapid deployment in the US (100 cities by end of year)