You are on page 1of 50

I OT 0 0 1

Getting Started with IoT onAWS

© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
If you knew the state of every thing andcould
reason on top of that data…

what problems would you solve?


AWS IoT customers solve problems in allsectors

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Internet of Things
Internet of Things
Why there is so much interest?
All the music on earth, in every room of your
home, wirelessly

Sonos is the smart speaker


system that streams all your
favorite music to any room, or
every room.

Control your music with one


simple app, and fill your home
with pure, immersive sound.
Connected products improve over
time
Connected products provide
unique insights
AWS IoT
A Lot of Efforts Are Still Required…
Connecting devices to cloud
applications requires undifferentiated
heavy lifting.

Alternate Scalability Security & Integration with Cloud Many SDKs


Protocols Management and Mobile Applications & Tools
How to make IoT Simple ?
How to make IoT Simple ?
For Developers
Hello World!

Security
Hello World!

Security Scalability
Introducing AWS IoT
“Securely connect one or one-billion devices to AWS,
so they can interact with applications and other devices”

Securely connect any Respond to signals from your Create Web and Mobile
physical device to AWS fleet of devices and take Applications that Interact with
action with Rule Engine Devices reliably at any time

Connect any device via Shift business logic from Easily build applications on
MQTT/HTTP securely. Quickly get device to cloud and route data web and mobile that interact
started with AWS IoT Starter Kits to AWS service of your choice with devices, even when they
and Scale to billions of messages for storage and analysis using are offline, with AWS SDK and
across millions of devices rules engine. Device Shadow.
AWS IoT Platform
Managed service
• No installation
• Automatic scaling
• No pre-provisioning
• Redundant across AZ
• Pay as you go

All in one service


• Message Broker
• Rules Engine
• Shadow
• Registry
All for $5/M Msg*

* Varies by Region
Publish / Subscribe AWS
Lambda

Standard Protocol Support


MQTT, HTTPS, WebSockets

Machine Friendly
Low power, low bandwidth, fast

Long Lived Connections


Receive signals from the cloud

Bidirectional
Communication FROM and TO the
devices no matter the protocol used

Device SDK
Open Source – Apache 2.0
Embedded-C, Javascript, Python, Java,
Arduino Yún, iOS, Android
Security, Security, Security
Most trusted authentication
X509 Certificates
Mutual Authentication

Easy onboarding and provisioning


Certificate management
Unlimited amount of Certificates
(Sign your CSR or BYOC)

Policy and Role based access control


Granular access to the message broker for devices
and IAM identities
Granular access to backend services via Roles
Rules Engine - Finding the Signals
Easy SQL-Like Syntax

SELECT DATA FROM TOPIC WHERE FILTER


Bring Context
From Amazon Machine Learning, IoT
Shadows, DDB

Transforms & Enrich


Math library, JSON parsing and
cleansing functions

Route
To multiple AWS Services
AWS IoT Shadow
Virtual representation of the device in the Cloud
Always accessible
Holds “states” up to 1 year

More efficient programming


Familiar REST APIs for read/write
Hide complexity of device connectivity (developers
do not need to know what protocol the device uses)

Mindful of device constraints


Holds the commands until device is ready
Can be queried anytime
Very fast (~120ms round trip)
AWS IoT Device Shadow Flow

1. Device Publishes Current State


3. App requests device’s current state

5. Device Shadow sync’s


updated state 4. App requests change the state

6. Device Publishes Current State 7. Device Shadow confirms state change

2. Persist JSON Data Store


AWS IoT Registry
Device Metadata store
Unlimited registry entries for devices
Mostly used for Metadata

Enforce Schema
Can define Thing Types with set schema
Define up to 50 attributes per Thing
Simple Pay as you go and Predictable
Pricing • Pay as you go. No minimum fees
• $5 per million messages published to, or
delivered in US East (N. Virginia, Ohio), US
West (Oregon), Ireland, Germany, UK. $6/M in
Korea, Australia. $8/M in Asia Pacific (Tokyo,
and Singapore)

Free Tier
250,000 Messages Per Month Free for first 12 Months

AWS IoT
Enterprise Discounts Available
For large volumes our Enterprise Sales team is engaged
IoT – Simple Demo
SMS

MQTT Read/
Write
AWS
IoT

Read

Amazon Static S3
CloudFront Site
IoT – Simple Demo
SMS

MQTT Read/
Write
AWS
IoT

Read

Amazon Static S3
CloudFront Site
What customers are doing with AWS IoT

Predictive Wellness and Productivity and Connected buildings


maintenance health solutions process optimization and citysystems

Device fleet Energy efficiency Payment, insurance and Safeguard


maintenance monitoring connected commerce manufacturing facilities

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Nobody just buys IoT technology…
they seek business outcomes
Business outcomes with IoT

New services & Products that get better Better relationship Increased Intelligent decision Data driven
business models with time with customers efficiency making discipline

Revenue growth Operational efficiency


IoT data drives businessgrowth IoT data decreasesOpEx

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IoT solutions are complex & multidimensional

Devices & Connectivity & Analytics & Applications & Change


sensors infrastructure insights services management

Onboard, Connect, Analyze, Engage, Transform,


provision, communicate, visualize, empower, shift culture
manage secure act delight

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS IoT Architecture

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS IoT Architecture

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
IoT VirtuousCycle

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
“AIoT” (AI andIoT) — ML at Edge trend
ML: Train in the cloud, infer at the edge

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
SU MMI T IoT with AWS
Edge
Endpoints Gateway/PLC

MQT T

IoT SDK
OPC-UA

WiFi &
BLE OPC-UA
Adapter
MQT T
Integrated Message
Client Router
Lambda
Functions
Cert
MQT T

OTA Device
Shadow
OTA

Amazon Certificate
Authority
FreeRTOS
Local
Resources

Snowball AWS
Edge Greengrass
MQT T

Amazon
FreeRT OS

Local Comms Long-range Comms


© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SU MMI T IoT with AWS
Edge
Endpoints Gateway/PLC AWS Cloud

MQT T

IoT SDK
OPC-UA

WiFi &
Message Over-The-Air Audit Device
BLE (OTA) Updates Configurations Define
OPC-UA Broker Interaction
Adapter
Integrated
MQT T
Message
Flows
Client Router
Lambda
Functions ?
Rules
Cert Engine Monitor
MQT T Device Specify
Behavior Devices
OTA Device
Shadow
OTA Real-Time
Certificate Fleet Index &
Amazon Certificate
Authority Authority Search
FreeRTOS Alerts
Define Triggers
Local
Resources

Snowball AWS
Edge Device Batch Fleet Risk Mitigation Deploy to
Greengrass
Shadow Provisioning Greengrass
MQT T

Amazon
FreeRT OS AWS IoT AWS IoT Device AWS IoT AWS IoT
Core Management Device Things
Defender Graph

Local Comms Long-range Comms


© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
SU MMI T IoT with AWS
Edge
Endpoints Gateway/PLC AWS Cloud
Managed
KMS CloudWatch Blockchain Kinesis EC2 S3 DynamoDB Lambda SageMaker
MQT T

IoT SDK …
OPC-UA

WiFi &
Message Over-The-Air Audit Device DataPipelines
BLE (OTA) Updates Configurations Define
OPC-UA Broker Interaction Collect
Adapter Define logic and
Integrated
MQT T
Message
Flows states
Client Router
Lambda
Functions ?
Rules
Cert Engine Monitor AnalyticsData
MQT T Device Specify Store Structure Data
Behavior Devices
OTA Device
Shadow ? Detectand
OTA Real-Time
? Trigger
Certificate Fleet Index &
Amazon Certificate
Authority Authority Search Ad-hoc & In- Remote Problem
FreeRTOS Alerts
Define Triggers depthAnalysis Diagnosis
Local
Resources

Snowball AWS
Edge Device Batch Fleet Risk Mitigation Deploy to T emplated Action
Greengrass Dashboards
Shadow Provisioning Greengrass Reports
MQT T

Amazon
FreeRT OS AWS IoT AWS IoT Device AWS IoT AWS IoT AWS IoT AWS IoT AWS IoT
Core Management Device Things Analytics SiteWise Events
Defender Graph

Local Comms Long-range Comms AWS IoT 1-Click


© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What happens when
you combine AI and
IoT?

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Reduce costs
Predict
Failure Before
Business Avoid unplanned production outages
Operations
are Impacted Plan optimal maintenance work schedule

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Requirements AWS IoT Capabilities
Predict Ingest sensor data from devices Run edge software and services like
Failure Before in plants and offsite Amazon FreeRTOS and AWS Greengrass
for local triggers, actions, and data sync
Business Securely connect billions of
devices to the cloud and Securely connect to AWS IoT Core
Operations manage trillions of messages
AWS IoT Device Defender fleet audit and
are Impacted protection

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Requirements AWS IoT Capabilities
Predict Build and train predictive AWS IoT Analytics collects, processes,
Failure Before models based on device data and analyzes IoT data. Use built-in
templates for predictive maintenance
Business Deploy models on devices
Run predictive models on devices
Operations Detect anomalies using AWS Greengrass

are Impacted Trigger alerts Use AWS Greengrass Machine


Learning Inference to take local
Predict failures action even without cloud
connectivity

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Requirements AWS IoT Capabilities
Predict
Visualize and explore IoT AWS IoT Analytics lets you
Failure Before data visualize and explore data and
share insights across teams
Business The AWS IoT Analytics
Operations Share insights across teams interface enables collaboration
and fast delivery of analytics
are Impacted

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Detect Anomalies to
Predict Pump Failure
1 Run Amazon FreeRTOS on vibration sensors to securely
collect data and connect to AWS IoT Greengrass enabled device

2 The AWS IoT Greengrass enabled device runs the predictive


model locally to identify when vibrations hit dangerous levels.
AWS IoT Greengrass triggers alert to maintenance staff when
anomalies are detected. When Internet connectivity is available,
the AWS IoT Greengrass device sends data to the cloud for
analytics filtering out “normal” data

3 AWS IoT Analytics analyzes vibration data and adds time


stamp and device information such as serial number pulling
from AWS IoT Core. Sends updated model to the AWS IoT
Greengrass enabled device

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Home Security & Monitoring
Key Trends & Opportunities

Audio and Machin Home Quick Energy


image recognition e surveillance response time management
learning

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why use AWS IoT forHome
Security & Monitoring?

Machine learning inference at theEdge

Offline communication AAWS


WAWSSGreengrass
GGreeeennggraagives ssdeenvab iyou
celescthe caonnp ability
ne to
r occteesd train
sdae ML
nvdicaecston
d ataWliotoctain
models ohlythe
pIeortTaoteArnewsa
cloud py
li thotnd
and icid
en ps loythem on the
teqyouu
rm
device i ckc itelyantinference—so
for noetalocsoiclynalngeeavcine i vitysa
tn
the ,w toithoutthe
model canrun
Quick response time pr the
ro un edc idta clotdirect
riiuvpe—cloud connection.
d
without
tins
o sytih
gh n
ectchslo rooud.nniuzsA inam ggetzhpa
a oentdtFre aetranesw RhTeOnSev dervices
Intelligent insights foeacorsnislny
mec a
ctoritnon hnecoim
st re dsG
teoe etvrab een ice lissg
.hreads.s core devices.

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Home Security & Monitoring
Example
AWS IoT Device Management,
AWS IoT Device Defender,
AWS Greengrass allows the
and AWS IoT Analytics
security camera, door lock, and
provide addedbenefits such as
even outdoor lighting to
remote device management,
continue operating even when
monitoring, security, and
cloud connection is lost. It can
insights into device usage.
also take actions locally,
avoiding acostly and timely
AWS Greengrass ML Inference round trip to the cloud.
brings machine learning
capabilities to acamera,
like being able to detect an
intruder as it’s happening.

Amazon FreeRTOS provides security,


connectivity, and updateability for
devices running on microcontrollers,
like aconnected door lock or video
door bell.

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Now that you know the state of
every thing, and can reason on
top of that data, what problems
would you solve?

aws.amazon.com/IoT

SU MMI T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.

You might also like