Documente Academic
Documente Profesional
Documente Cultură
Novedades: https://aws.amazon.com/new/
Sondeos y feedback
IoT Webinar Day
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
IoT Webinar 1
• Introducción a los servicios IoT
de AWS
IoT Webinar 2
• Cómo conectar dispositivos
• AWS IoT Shadows
• AWS IoT Rules
• AWS IoT Jobs
If you knew the state of everything and
could reason on top of that data…
Intelligence
Insights & Logic → Action
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Architecture
Things Cloud
Sense & Act Storage & Compute
Secure device
connectivity
and messaging
Intelligence
Insights & Logic → Action
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Architecture
Things Cloud
Sense & Act Storage & Compute
Intelligence
Insights & Logic → Action
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Sondeo
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Core
Secure Device Connectivity and Messaging
AWS IoT Core is a managed service that lets connected devices easily
and securely interact with cloud applications and other devices.
To securely connect devices To route, process, and To enable applications to To fully integrate with
to the AWS cloud and act upon data from interact with devices even other AWS service to reason
other devices at scale connected devices when they are offline on top of the data
(Analytics, Databases, AI, etc.)
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Core
Secure Device Connectivity and Messaging
AWS Greengrass extends AWS IoT onto your devices, so that they can act
locally on the data they generate, while still taking advantage of the cloud.
Law of Physics
Law of Economics
Edge Cloud
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Greengrass
Extend AWS IoT to the Edge
ʥ
A
Local Local Data and Security Local Machine Protocol Over the
Messages Actions State Sync Resource Learning Adapters Air Updates
and Triggers Access Inference
Local Lambda Local AWS-grade Lambdas Interact Local Execution Easy Integrations Easily Update
Message Broker Functions Device Shadows security With Peripherals of ML Models With Local Greengrass Core
Protocols
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How can I
securely connect
constrained, ?
microcontroller-
based devices?
Amazon FreeRTOS
IoT Operating System for Microcontrollers
Amazon FreeRTOS, based on the popular FreeRTOS, is a microcontroller
operating system that makes small, low powered edge devices easy to
program, deploy, secure, connect, and maintain.
EMBEDDED APPS
GREENGRASS
CONNECTIVITY
LIBRARIES
LIBRARIES
LIBRARIES
SECURTIY
CLOUD &
HELLO
FreeRTOS
HW DRIVERS
Will it work on my chip? Does it have the Where do I get it? How do I start?
functionality I need?
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon FreeRTOS
IoT Microcontroller OS
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Device Management
Device Management Service
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Device Management
Maintain Fleet Health
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How do I
generate value
from my 10101 1 0 1 0 1 1 0 1 0 1
10100 1 0 1 0 1 1 0 1 0 1 10010 0 1 0 1 0 1 0 1 0 1
1
0 1 0 1 0 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1
device data?
1 0 1 0 1 0 1 0 1 0
01010
01010
1 0 1 0 1 1 0 1 0 1
01010 1 0 1 0 1 1 0 1 0 1 101001
0 1 0 1 0 1 0 1 0 1
10100 0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1
1 0 1 0 1 0 1 0 1 0
1 0 1 0 1 0 1 0 1 0 10100
1 0 1 0 1 1 0 1 0 1 1
0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1
1 0 1 0 1 0 1 0 1 0
101001
1 0 1 0 1 1 0 1 0 1
1 0 1 0 1 1 0 1 0 1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
0 1 0 1 0 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0
0 1 0 1 0 1 0 1 0 1
1 0 1 0 1 0 1 0 1 0
1 0 1 0 1 0 1 0 1 0
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics
Analytics for IoT Devices
AWS IoT Analytics is a service that processes, enriches, stores, analyzes,
and visualizes IoT data for manufacturers and enterprises.
01010 10101
10 010101010101
010110101010
1010101010
01010 011010101011
010101011010
01010
01010 10010010
10101 10101
01010 10101 1010
1010101010 01
IoT data is noisy Filter, process, Store raw data and Ad-hoc queries
and contains gaps transform, and enrich processed data or sophisticated IoT
and false readings your data analytics and visualization
AWS IoT Analytics
Easily analyze IoT data
AWS IoT Analytics is a service that processes, enriches, stores, analyzes,
and visualizes IoT data for manufacturers and enterprises.
Amazon AWS Greengrass AWS IoT Core AWS IoT Device AWS IoT Device AWS IoT
FreeRTOS Management Defender Analytics
Intelligence
Insights & Logic → Action
Sondeo
IoT Webinar 1
• Introducción a los servicios IoT
de AWS
IoT Webinar 2
• Cómo conectar dispositivos
• AWS IoT Shadows
• AWS IoT Rules
• AWS IoT Jobs
Agenda
IoT Webinar 1
• Introducción a los servicios IoT
de AWS
IoT Webinar 2
• Cómo conectar dispositivos
• AWS IoT Shadows
• AWS IoT Rules
• AWS IoT Jobs
Securely connecting devices
• Con certificados
• MQTT
• HTTP
• Con SigV4
• MQTT por
WebSocket
• HTTP
Available AWS IoT Device SDKs
• Em bedded C
• JavaScript
• Arduino Yun
• Java
• Python
• iOS
• Android
• C++
Certificates and keys
{
"Effect": "Allow",
"Action": "iot:Publish",
"Resource": [
"arn:*:topic/private-topic/${iot:ClientId}",
"arn:*:topic/open-topic-space/*"
]
},
{
"Effect": "Allow",
"Action": "iot:Subscribe",
"Resource": "arn:*:topicfilter/private-topic/${iot:ClientId}/*"
}
Best Practice for Securing Devices
$aws/events/#
$aws/things/#
Sondeo
IoT Webinar 1
• Introducción a los servicios IoT
de AWS
IoT Webinar 2
• Cómo conectar dispositivos
• AWS IoT Shadows
• AWS IoT Rules
• Demos
Publish on/off to the sprinkler
SUBSCRIBE
macdonald/sprinkler-456
Sprinkler
Device Control logic
Gateway
Publish on/off to the sprinkler?
PUBLISH
macdonald/sprinkler-456
{ "water": "on" }
Sprinkler
Device Control logic
Gateway
Direct publishing: why not?
on
off Control
logic
off
on Device
Sprinkler Gateway
Device Shadows
reported
state
Device Controller
desired
state
AWS IoT Shadow: simple yet powerful
{
Report its current state to one or multiple shadows
Retrieve its desired state from shadow "state" : {
“desired" : {
Thing "lights": { "color": "RED" },
"engine" : "ON"
},
Shadow reports delta, desired and reported "reported" : {
states along with metadata and version "lights" : { "color": "GREEN" },
"engine" : "ON"
Shadow },
"delta" : {
"lights" : { "color": "RED" }
Set the desired state of a device
Get the last reported state of the device } },
"version" : 10
Delete the shadow
}
Mobile App
AWS IoT Shadow Topics
Lucene-index queries
Agenda
IoT Webinar 1
• Introducción a los servicios IoT
de AWS
IoT Webinar 2
• Cómo conectar dispositivos
• AWS IoT Shadows
• AWS IoT Rules
• AWS IoT Jobs
Rules engine: Extracting value from messages
station2/... }]
}
{
"sql": "SELECT * FROM 'pws/+/temp'",
"actions": [
{
"republish": {
"topic": "pws/temp_status"
}
AWS IoT
}]
}
Agenda
IoT Webinar 1
• Introducción a los servicios IoT
de AWS
IoT Webinar 2
• Cómo conectar dispositivos
• AWS IoT Shadows
• AWS IoT Rules
• AWS IoT Jobs
Define Local Actions Using Jobs
• Reboot a device
• Rotate certificates
Define Local Actions Using Jobs
Amazon AWS Greengrass AWS IoT Core AWS IoT Device AWS IoT Device AWS IoT
FreeRTOS Management Defender Analytics
Intelligence
Insights & Logic → Action
¡Muchas gracias!
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Recursos
Novedades: https://aws.amazon.com/new/
Encuesta y feedback