SlideShare una empresa de Scribd logo
1 de 51
Descargar para leer sin conexión
IoT on Amazon Web Services
Julien Simon
Principal Technical Evangelist
Amazon Web Services

julsimon@amazon.fr
@julsimon

17/11/2016
Agenda
•  A simple definition of the Internet of Things
•  IoT projects running on AWS
•  The AWS IoT platform
–  Devices & SDKs
–  The MQTT protocol
–  Moving IoT data to the cloud
–  Demo on the Arduino Yùn platform
•  Q&A
The Internet of Things
RESOURCE-CONSTRAINED
COMPUTING DEVICES
DEPLOYED IN THE THOUSANDS,
MAYBE THE MILLIONS
ABLE TO RUN FOR YEARS"
WITHOUT HUMAN INTERVENTION
COLLECTING AND SENDING "
STREAMS OF DATA 24/7/365"
"
and this is the real challenge in IoT !
Millions of devices
sending billions of
messages
Receivers
Senders
a = 2
More on this later J
IoT projects running on AWS
AWS IoT
https://aws.amazon.com/solutions/case-studies/philips/
http://www.usa.philips.com/healthcare/articles/healthsuite-device-cloud
Streaming, analysis, storage
and visualization of data
coming from 200,000
farming machines

Precision agriculture and
yield optimization for
farmers

New business model for
John Deere
https://www.youtube.com/watch?v=uq4kQPsM4cQ
“Car as a Sensor”

Collect sensor data
from BMW 7 Series cars
to give drivers dynamically
updated map information

100,000 vehicles by 2018

Service launched "
in 6 months
https://aws.amazon.com/solutions/case-studies/bmw/
Connected Roomba
launched in 2015 

More than 45 million
square meters mapped

Discovery and interaction
with Smart Home devices
https://aws.amazon.com/solutions/case-studies/irobot/
More IoT applications based on AWS
Thermomix
Consumer equipment
Soitec
Semiconductors
SPS
Motors
Siemens Power & Gas
Energy production
Veolia Water
Water systems
Amazon
Retail
Une communication natuelle
The AWS IoT Platform
AWS Global Infrastructure
14 Regions
38 Availability Zones
63 Edge Locations
AWS IoT available
DEVICE SDK
Set of client libraries to
connect, authenticate and
exchange messages
DEVICE GATEWAY
Communicate with devices via
MQTT and HTTP
AUTHENTICATION
AUTHORIZATION
Secure with mutual
authentication and encryption
RULES ENGINE
Transform messages
based on rules and
route to AWS Services
AWS
- - - - - 
3rd party
DEVICE SHADOW
Persistent thing state during
intermittent connections
APPLICATIONS
AWS IoT API
DEVICE REGISTRY
Identity and Management of
your things
Pricing

•  No minimum fee
•  You are only charged on the number of
incoming and outgoing messages
•  1 message = 512 bytes maximum
•  Free tier: 250K free messages / month for
12 months
•  No charge when delivering to Amazon
S3, Amazon DynamoDB, AWS Lambda,
Amazon Kinesis, Amazon SNS, and
Amazon SQS.
AWS IoT: Devices & SDKs
Official AWS IoT Starter Kits
Software platforms supported by AWS IoT
•  Arduino Yún https://github.com/aws/aws-iot-device-sdk-arduino-yun 
•  Javascript https://github.com/aws/aws-iot-device-sdk-js 
•  Embedded C https://github.com/aws/aws-iot-device-sdk-embedded-C 
•  Android https://github.com/aws/aws-sdk-android/ 
•  iOS https://github.com/awslabs/aws-sdk-ios-samples 
•  Java (07/16) https://github.com/aws/aws-iot-device-sdk-java 
•  Python (07/16) https://github.com/aws/aws-iot-device-sdk-python
Managing things
•  Thing Registry
•  Secure Identity for Things: one certificate per thing (mandatory)
•  Secure Communications with Things: one keypair per thing (mandatory)

•  Fine-grained Authorization (based on Amazon IAM)
–  Thing Management
–  Access to messages
–  Access to AWS services

https://aws.amazon.com/security/ 
https://aws.amazon.com/compliance/
https://aws.amazon.com/compliance/eu-data-protection/
AWS IoT: The MQTT Protocol
Protocols supported by AWS IoT
•  MQTT over HTTPS: publish and subscribe"
(IPv4 and IPv6)
•  MQTT over WebSockets: publish and subscribe
–  Security is managed with AWS Signatures v4
•  HTTPS publish only
MQTT Protocol
MQTTS vs HTTPS: 

93x faster throughput
11.89x less battery to send
170.9x less battery to receive
50% less power to stay connected
8x less network overhead
Source:
http://stephendnicholas.com/archives/1217 
•  OASIS standard protocol (v3.1.1)
•  Lightweight transport protocol that is
useful for connected devices
•  Publish-subscribe with topics
•  MQTT is used on oil rigs, connected
trucks, and many more critical
applications
•  Until now, customers had to build,
maintain and scale a broker to use MQTT
with cloud applications
MQTT: device-to-device communication
mydevices/alert
MQTT: collect data from a device
mydevices/4
mydevices/4
MQTT: aggregate data from many devices
mydevices/#
mydevices/1
mydevices/2
mydevices/3
….
Amazon "
DynamoDB
Applications
MQTT: update a device
mydevices/4
mydevices/4
MQTT: QoS 0 (at most once)"

1
2
3
4
5
6
1,2,3,5,6
Publish QoS0
MQTT: QoS 1 (at least once)
1
2
3
4
5
4
1,2,3,4,5,6
6
PUBLISH QoS1
PUBLISH QoS1
PUBACK
MQTT.fx
http://mqttfx.jfx4ee.org/
AWS IoT: Moving data to the cloud
Collect Store Analyze Consume
A
iOS
 Android
Web Apps
Logstash
Amazon
RDS
Amazon
DynamoDB
Amazon
ES
Amazon

S3
Apache
Kafka
Amazon

Glacier
Amazon

Kinesis
Amazon

DynamoDB
Amazon
Redshift
Impala
Pig
Amazon ML
Streaming
Amazon

Kinesis
AWS
Lambda
AmazonElasticMapReduce
Amazon
ElastiCache
SearchSQLNoSQLCache
StreamProcessing
Batch
Interactive
Logging
StreamStorage
IoT
Applications
FileStorage
Analysis&Visualization
Hot
Cold
Warm
Hot
Slow
Hot
ML
Fast
Fast
Amazon
QuickSight
Transactional Data
File Data
Stream Data
Notebooks
Predictions
Apps & APIs
Mobile
Apps
IDE
Search Data
ETL
1. AWS Services
(Direct Integration)
Rules Engine
Actions
AWS IoT Rules
AWS "
Lambda
Amazon "
SNS
Amazon "
SQS
Amazon "
S3
Amazon "
Kinesis
Amazon "
DynamoDB
 Amazon RDS
Amazon "
Redshift
Amazon Glacier
Amazon "
EC2
3. External Endpoints"
(via Lambda and SNS)
Rules connect AWS IoT to
External Endpoints "
and AWS Services
2. Rest of AWS"
(via Amazon Kinesis, AWS
Lambda, Amazon S3, and
more)
Amazon
CloudWatch
Amazon "
Elasticsearch
Amazon 
Machine "
Learning
AWS IoT Rules Engine
Rule
Name
Description
SQL Statement
Array of Actions
Simple & Familiar Syntax
-  SQL Statement to define topic filter
-  Optional WHERE clause
-  Advanced JSON support

Many functions available
-  String manipulation (regex support)
-  Mathematical operations
-  Crypto support
-  UUID, Timestamp, rand, etc.
From AWS IoT to an External Endpoint
Lambda Function
AWS Services
Execution
Role
 Policy
External
Endpoint
Permission
Private Key
& Certificate
Thing/Device
SDK
Rules Engine
Policy
 Rule
AWS IoT
Select * from ‘iotbutton/+’
Action
AWS IoT Demo
Personal picture
Hardware Shopping List
Software Shopping List

Arduino IDE and librairies 
http://arduino.org/software

Arduino Web Editor & Cloud Platform
https://aws.amazon.com/blogs/aws/
arduino-web-editor-and-cloud-platform-
powered-by-aws/ 

Tip: ArduinoJson, a JSON library for
embedded systems
https://github.com/bblanchon/ArduinoJson
Arduino: connecting to AWS IoT
aws_iot_mqtt_client myClient;
if((rc = myClient.setup(AWS_IOT_CLIENT_ID)) == 0) {
// Load user configuration
if((rc = myClient.config(AWS_IOT_MQTT_HOST,
AWS_IOT_MQTT_PORT, AWS_IOT_ROOT_CA_PATH,
AWS_IOT_PRIVATE_KEY_PATH, AWS_IOT_CERTIFICATE_PATH)) == 0) {
if((rc = myClient.connect()) == 0) {
// We are connected
doSomethingUseful();
}
}
}
Arduino: subscribing and publishing to a topic
if ((rc=myClient.subscribe(”myTopic", 1, msg_callback)) != 0)
{
Serial.println("Subscribe failed!");
Serial.println(rc);
}
if((rc = myClient.publish(”myTopic", msg, strlen(msg),
1, false)) != 0)
{
Serial.println("Publish failed!");
Serial.println(rc);
}
Now what?
Now it’s your turn!
Whitepaper: “Core Tenets of IoT” "
https://d0.awsstatic.com/whitepapers/core-tenets-of-iot1.pdf
Whitepaper: “Big Data Analytics Options on AWS”
http://d0.awsstatic.com/whitepapers/Big_Data_Analytics_Options_on_AWS.pdf 

Learn more about AWS IoT https://aws.amazon.com/iot/
Learn about the AWS Free Tier https://aws.amazon.com/free/
Get started! https://aws.amazon.com/getting-started/ 

Next AWS events in France https://aws.amazon.com/fr/events/ 
•  AWSome Day in Lille 22/11 https://aws.amazon.com/fr/awsomeday/lille/ 
•  Security Week: 10 webinars (19-23/12) https://aws.amazon.com/fr/events/security-week/
Thank You !
Julien Simon
Principal Technical Evangelist
Amazon Web Services

julsimon@amazon.fr
@julsimon

Más contenido relacionado

La actualidad más candente

Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
Amazon Web Services
 

La actualidad más candente (20)

DevOps with Amazon Web Services (November 2016)
DevOps with Amazon Web Services (November 2016)DevOps with Amazon Web Services (November 2016)
DevOps with Amazon Web Services (November 2016)
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
Secure Content Delivery with AWS
Secure Content Delivery with AWSSecure Content Delivery with AWS
Secure Content Delivery with AWS
 
Monitoring Containers at Scale - September Webinar Series
Monitoring Containers at Scale - September Webinar SeriesMonitoring Containers at Scale - September Webinar Series
Monitoring Containers at Scale - September Webinar Series
 
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
 
AWS CloudFormation Best Practices
AWS CloudFormation Best PracticesAWS CloudFormation Best Practices
AWS CloudFormation Best Practices
 
Scaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million UsersScaling on AWS for the First 10 Million Users
Scaling on AWS for the First 10 Million Users
 
SEC302 Becoming an AWS Policy Ninja using AWS IAM and AWS Organizations
SEC302 Becoming an AWS Policy Ninja using AWS IAM and AWS OrganizationsSEC302 Becoming an AWS Policy Ninja using AWS IAM and AWS Organizations
SEC302 Becoming an AWS Policy Ninja using AWS IAM and AWS Organizations
 
Building serverless apps with Node.js
Building serverless apps with Node.jsBuilding serverless apps with Node.js
Building serverless apps with Node.js
 
An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)
 
My First Big Data Application
My First Big Data ApplicationMy First Big Data Application
My First Big Data Application
 
Infrastructure as code with Amazon Web Services
Infrastructure as code with Amazon Web ServicesInfrastructure as code with Amazon Web Services
Infrastructure as code with Amazon Web Services
 
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
 
Account Separation and Mandatory Access Control
Account Separation and Mandatory Access ControlAccount Separation and Mandatory Access Control
Account Separation and Mandatory Access Control
 
Intro to Game Development & Operations on AWS
Intro to Game Development & Operations on AWSIntro to Game Development & Operations on AWS
Intro to Game Development & Operations on AWS
 
Building Open Source Platforms on AWS (April 2017)
Building Open Source Platforms on AWS (April 2017)Building Open Source Platforms on AWS (April 2017)
Building Open Source Platforms on AWS (April 2017)
 
AWS Tips for LAUNCHing Your Infrastructure in the Cloud
AWS Tips for LAUNCHing Your Infrastructure in the CloudAWS Tips for LAUNCHing Your Infrastructure in the Cloud
AWS Tips for LAUNCHing Your Infrastructure in the Cloud
 
(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New Infrastructure(ARC401) Cloud First: New Architecture for New Infrastructure
(ARC401) Cloud First: New Architecture for New Infrastructure
 
Masterclass Webinar - AWS CloudFormation
Masterclass Webinar - AWS CloudFormationMasterclass Webinar - AWS CloudFormation
Masterclass Webinar - AWS CloudFormation
 
Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...Continuous Deployment Practices, with Production, Test and Development Enviro...
Continuous Deployment Practices, with Production, Test and Development Enviro...
 

Destacado

IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
Arun Joseph
 
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
Arun Joseph
 

Destacado (20)

iNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOTiNTRODUCTION TO AWS IOT
iNTRODUCTION TO AWS IOT
 
センサーデバイスのデータを使った Microsoft Azure Machine Learning 実装入門
センサーデバイスのデータを使った Microsoft Azure Machine Learning 実装入門センサーデバイスのデータを使った Microsoft Azure Machine Learning 実装入門
センサーデバイスのデータを使った Microsoft Azure Machine Learning 実装入門
 
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
 
Windows 10 IoT Core on Raspberry Pi 2 Usine IO
Windows 10 IoT Core on Raspberry Pi 2 Usine IOWindows 10 IoT Core on Raspberry Pi 2 Usine IO
Windows 10 IoT Core on Raspberry Pi 2 Usine IO
 
What is Web-Scale IT ?
What is Web-Scale IT ?What is Web-Scale IT ?
What is Web-Scale IT ?
 
How to bootstrap your IoT project
How to bootstrap  your IoT projectHow to bootstrap  your IoT project
How to bootstrap your IoT project
 
Building your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry PiBuilding your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry Pi
 
Raspbeery PI IoT
Raspbeery PI IoTRaspbeery PI IoT
Raspbeery PI IoT
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
IoT Implementation of Sensor Data Acquisition in Surveillance Applications - ...
 
Hands-on with AWS IoT (November 2016)
Hands-on with AWS IoT (November 2016)Hands-on with AWS IoT (November 2016)
Hands-on with AWS IoT (November 2016)
 
Making Open Source Hardware IoT with Raspberry Pi
Making Open Source Hardware IoT with Raspberry PiMaking Open Source Hardware IoT with Raspberry Pi
Making Open Source Hardware IoT with Raspberry Pi
 
NTK 2015: Internet of things track (IoT) - Smart Home
NTK 2015: Internet of things track (IoT) - Smart HomeNTK 2015: Internet of things track (IoT) - Smart Home
NTK 2015: Internet of things track (IoT) - Smart Home
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things Hardware
 
Windows 10 IoT-Core to Azure IoT Suite
Windows 10 IoT-Core to Azure IoT SuiteWindows 10 IoT-Core to Azure IoT Suite
Windows 10 IoT-Core to Azure IoT Suite
 
Deep Dive on AWS IoT
Deep Dive on AWS IoTDeep Dive on AWS IoT
Deep Dive on AWS IoT
 
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
AWS re:Invent 2016: Delighting Customers Through Device Data with Salesforce ...
 
IoT implementation and Challenges
IoT implementation and ChallengesIoT implementation and Challenges
IoT implementation and Challenges
 
IoT sensor devices
IoT sensor devicesIoT sensor devices
IoT sensor devices
 

Similar a An Overview of AWS IoT (November 2016)

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

Similar a An Overview of AWS IoT (November 2016) (20)

Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
Essential Capabilities of an IoT Cloud Platform - April 2017 AWS Online Tech ...
 
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech TalksEssential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
Essential Capabilities of an IoT Cloud Platform - AWS Online Tech Talks
 
AWS re:Invent 2016: Building IoT Applications with AWS and Amazon Alexa (HLC304)
AWS re:Invent 2016: Building IoT Applications with AWS and Amazon Alexa (HLC304)AWS re:Invent 2016: Building IoT Applications with AWS and Amazon Alexa (HLC304)
AWS re:Invent 2016: Building IoT Applications with AWS and Amazon Alexa (HLC304)
 
Think IoT and not servers - the power of the serverless analytics IoT platform
Think IoT and not servers - the power of the serverless analytics IoT platform Think IoT and not servers - the power of the serverless analytics IoT platform
Think IoT and not servers - the power of the serverless analytics IoT platform
 
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 ...
 
Machine Learning and IOT on the AWS Cloud
Machine Learning and IOT on the AWS CloudMachine Learning and IOT on the AWS Cloud
Machine Learning and IOT on the AWS Cloud
 
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
 
Vancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam ElmalakVancouver keynote - AWS Innovate - Sam Elmalak
Vancouver keynote - AWS Innovate - Sam Elmalak
 
Internet of Things (IoT) HackDay
Internet of Things (IoT) HackDayInternet of Things (IoT) HackDay
Internet of Things (IoT) HackDay
 
IoT Hack Day: AWS Pop-up Loft Hack Series Sponsored by Intel
IoT Hack Day: AWS Pop-up Loft Hack Series Sponsored by IntelIoT Hack Day: AWS Pop-up Loft Hack Series Sponsored by Intel
IoT Hack Day: AWS Pop-up Loft Hack Series Sponsored by Intel
 
AWS IoT 深入探討
AWS IoT 深入探討AWS IoT 深入探討
AWS IoT 深入探討
 
The Lifecycle of an AWS IoT Thing
The Lifecycle of an AWS IoT ThingThe Lifecycle of an AWS IoT Thing
The Lifecycle of an AWS IoT Thing
 
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
 
Building End to end IoT solutions
Building End to end IoT solutionsBuilding End to end IoT solutions
Building End to end IoT solutions
 
Internet of Things on AWS
Internet of Things on AWSInternet of Things on AWS
Internet of Things on AWS
 
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
AWS re:Invent 2016: IoT Visualizations and Analytics (IOT306)
 
Intro Presentation at AWS AWSome Day Dublin July 2015
Intro Presentation at AWS AWSome Day Dublin July 2015Intro Presentation at AWS AWSome Day Dublin July 2015
Intro Presentation at AWS AWSome Day Dublin July 2015
 
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
Connecting the Unconnected using AWS IoT - AWS Summit Tel Aviv 2017
 
Iot meets Serverless
Iot meets ServerlessIot meets Serverless
Iot meets Serverless
 
Build an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million UsersBuild an App on AWS for Your First 10 Million Users
Build an App on AWS for Your First 10 Million Users
 

Más de Julien SIMON

Más de Julien SIMON (20)

An introduction to computer vision with Hugging Face
An introduction to computer vision with Hugging FaceAn introduction to computer vision with Hugging Face
An introduction to computer vision with Hugging Face
 
Reinventing Deep Learning
 with Hugging Face Transformers
Reinventing Deep Learning
 with Hugging Face TransformersReinventing Deep Learning
 with Hugging Face Transformers
Reinventing Deep Learning
 with Hugging Face Transformers
 
Building NLP applications with Transformers
Building NLP applications with TransformersBuilding NLP applications with Transformers
Building NLP applications with Transformers
 
Building Machine Learning Models Automatically (June 2020)
Building Machine Learning Models Automatically (June 2020)Building Machine Learning Models Automatically (June 2020)
Building Machine Learning Models Automatically (June 2020)
 
Starting your AI/ML project right (May 2020)
Starting your AI/ML project right (May 2020)Starting your AI/ML project right (May 2020)
Starting your AI/ML project right (May 2020)
 
Scale Machine Learning from zero to millions of users (April 2020)
Scale Machine Learning from zero to millions of users (April 2020)Scale Machine Learning from zero to millions of users (April 2020)
Scale Machine Learning from zero to millions of users (April 2020)
 
An Introduction to Generative Adversarial Networks (April 2020)
An Introduction to Generative Adversarial Networks (April 2020)An Introduction to Generative Adversarial Networks (April 2020)
An Introduction to Generative Adversarial Networks (April 2020)
 
AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...
AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...
AIM410R1 Deep learning applications with TensorFlow, featuring Fannie Mae (De...
 
AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)
AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)
AIM361 Optimizing machine learning models with Amazon SageMaker (December 2019)
 
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
AIM410R Deep Learning Applications with TensorFlow, featuring Mobileye (Decem...
 
A pragmatic introduction to natural language processing models (October 2019)
A pragmatic introduction to natural language processing models (October 2019)A pragmatic introduction to natural language processing models (October 2019)
A pragmatic introduction to natural language processing models (October 2019)
 
Building smart applications with AWS AI services (October 2019)
Building smart applications with AWS AI services (October 2019)Building smart applications with AWS AI services (October 2019)
Building smart applications with AWS AI services (October 2019)
 
Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)
 
The Future of AI (September 2019)
The Future of AI (September 2019)The Future of AI (September 2019)
The Future of AI (September 2019)
 
Building Machine Learning Inference Pipelines at Scale (July 2019)
Building Machine Learning Inference Pipelines at Scale (July 2019)Building Machine Learning Inference Pipelines at Scale (July 2019)
Building Machine Learning Inference Pipelines at Scale (July 2019)
 
Train and Deploy Machine Learning Workloads with AWS Container Services (July...
Train and Deploy Machine Learning Workloads with AWS Container Services (July...Train and Deploy Machine Learning Workloads with AWS Container Services (July...
Train and Deploy Machine Learning Workloads with AWS Container Services (July...
 
Optimize your Machine Learning Workloads on AWS (July 2019)
Optimize your Machine Learning Workloads on AWS (July 2019)Optimize your Machine Learning Workloads on AWS (July 2019)
Optimize your Machine Learning Workloads on AWS (July 2019)
 
Deep Learning on Amazon Sagemaker (July 2019)
Deep Learning on Amazon Sagemaker (July 2019)Deep Learning on Amazon Sagemaker (July 2019)
Deep Learning on Amazon Sagemaker (July 2019)
 
Automate your Amazon SageMaker Workflows (July 2019)
Automate your Amazon SageMaker Workflows (July 2019)Automate your Amazon SageMaker Workflows (July 2019)
Automate your Amazon SageMaker Workflows (July 2019)
 
Build, train and deploy ML models with Amazon SageMaker (May 2019)
Build, train and deploy ML models with Amazon SageMaker (May 2019)Build, train and deploy ML models with Amazon SageMaker (May 2019)
Build, train and deploy ML models with Amazon SageMaker (May 2019)
 

Último

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

An Overview of AWS IoT (November 2016)

  • 1. IoT on Amazon Web Services Julien Simon Principal Technical Evangelist Amazon Web Services julsimon@amazon.fr @julsimon 17/11/2016
  • 2. Agenda •  A simple definition of the Internet of Things •  IoT projects running on AWS •  The AWS IoT platform –  Devices & SDKs –  The MQTT protocol –  Moving IoT data to the cloud –  Demo on the Arduino Yùn platform •  Q&A
  • 5. DEPLOYED IN THE THOUSANDS, MAYBE THE MILLIONS
  • 6. ABLE TO RUN FOR YEARS" WITHOUT HUMAN INTERVENTION
  • 7. COLLECTING AND SENDING " STREAMS OF DATA 24/7/365" " and this is the real challenge in IoT !
  • 8. Millions of devices sending billions of messages Receivers Senders
  • 9.
  • 10.
  • 11. a = 2
  • 12. More on this later J
  • 15. Streaming, analysis, storage and visualization of data coming from 200,000 farming machines Precision agriculture and yield optimization for farmers New business model for John Deere https://www.youtube.com/watch?v=uq4kQPsM4cQ
  • 16. “Car as a Sensor” Collect sensor data from BMW 7 Series cars to give drivers dynamically updated map information 100,000 vehicles by 2018 Service launched " in 6 months https://aws.amazon.com/solutions/case-studies/bmw/
  • 17. Connected Roomba launched in 2015 More than 45 million square meters mapped Discovery and interaction with Smart Home devices https://aws.amazon.com/solutions/case-studies/irobot/
  • 18. More IoT applications based on AWS Thermomix Consumer equipment Soitec Semiconductors SPS Motors Siemens Power & Gas Energy production Veolia Water Water systems Amazon Retail
  • 20. The AWS IoT Platform
  • 21. AWS Global Infrastructure 14 Regions 38 Availability Zones 63 Edge Locations AWS IoT available
  • 22. DEVICE SDK Set of client libraries to connect, authenticate and exchange messages DEVICE GATEWAY Communicate with devices via MQTT and HTTP AUTHENTICATION AUTHORIZATION Secure with mutual authentication and encryption RULES ENGINE Transform messages based on rules and route to AWS Services AWS - - - - - 3rd party DEVICE SHADOW Persistent thing state during intermittent connections APPLICATIONS AWS IoT API DEVICE REGISTRY Identity and Management of your things
  • 23. Pricing •  No minimum fee •  You are only charged on the number of incoming and outgoing messages •  1 message = 512 bytes maximum •  Free tier: 250K free messages / month for 12 months •  No charge when delivering to Amazon S3, Amazon DynamoDB, AWS Lambda, Amazon Kinesis, Amazon SNS, and Amazon SQS.
  • 25. Official AWS IoT Starter Kits
  • 26. Software platforms supported by AWS IoT •  Arduino Yún https://github.com/aws/aws-iot-device-sdk-arduino-yun •  Javascript https://github.com/aws/aws-iot-device-sdk-js •  Embedded C https://github.com/aws/aws-iot-device-sdk-embedded-C •  Android https://github.com/aws/aws-sdk-android/ •  iOS https://github.com/awslabs/aws-sdk-ios-samples •  Java (07/16) https://github.com/aws/aws-iot-device-sdk-java •  Python (07/16) https://github.com/aws/aws-iot-device-sdk-python
  • 27. Managing things •  Thing Registry •  Secure Identity for Things: one certificate per thing (mandatory) •  Secure Communications with Things: one keypair per thing (mandatory) •  Fine-grained Authorization (based on Amazon IAM) –  Thing Management –  Access to messages –  Access to AWS services https://aws.amazon.com/security/ https://aws.amazon.com/compliance/ https://aws.amazon.com/compliance/eu-data-protection/
  • 28. AWS IoT: The MQTT Protocol
  • 29. Protocols supported by AWS IoT •  MQTT over HTTPS: publish and subscribe" (IPv4 and IPv6) •  MQTT over WebSockets: publish and subscribe –  Security is managed with AWS Signatures v4 •  HTTPS publish only
  • 30. MQTT Protocol MQTTS vs HTTPS:  93x faster throughput 11.89x less battery to send 170.9x less battery to receive 50% less power to stay connected 8x less network overhead Source: http://stephendnicholas.com/archives/1217 •  OASIS standard protocol (v3.1.1) •  Lightweight transport protocol that is useful for connected devices •  Publish-subscribe with topics •  MQTT is used on oil rigs, connected trucks, and many more critical applications •  Until now, customers had to build, maintain and scale a broker to use MQTT with cloud applications
  • 32. MQTT: collect data from a device mydevices/4 mydevices/4
  • 33. MQTT: aggregate data from many devices mydevices/# mydevices/1 mydevices/2 mydevices/3 …. Amazon " DynamoDB Applications
  • 34. MQTT: update a device mydevices/4 mydevices/4
  • 35. MQTT: QoS 0 (at most once)" 1 2 3 4 5 6 1,2,3,5,6 Publish QoS0
  • 36. MQTT: QoS 1 (at least once) 1 2 3 4 5 4 1,2,3,4,5,6 6 PUBLISH QoS1 PUBLISH QoS1 PUBACK
  • 38. AWS IoT: Moving data to the cloud
  • 39. Collect Store Analyze Consume A iOS Android Web Apps Logstash Amazon RDS Amazon DynamoDB Amazon ES Amazon
 S3 Apache Kafka Amazon
 Glacier Amazon
 Kinesis Amazon
 DynamoDB Amazon Redshift Impala Pig Amazon ML Streaming Amazon
 Kinesis AWS Lambda AmazonElasticMapReduce Amazon ElastiCache SearchSQLNoSQLCache StreamProcessing Batch Interactive Logging StreamStorage IoT Applications FileStorage Analysis&Visualization Hot Cold Warm Hot Slow Hot ML Fast Fast Amazon QuickSight Transactional Data File Data Stream Data Notebooks Predictions Apps & APIs Mobile Apps IDE Search Data ETL
  • 40. 1. AWS Services (Direct Integration) Rules Engine Actions AWS IoT Rules AWS " Lambda Amazon " SNS Amazon " SQS Amazon " S3 Amazon " Kinesis Amazon " DynamoDB Amazon RDS Amazon " Redshift Amazon Glacier Amazon " EC2 3. External Endpoints" (via Lambda and SNS) Rules connect AWS IoT to External Endpoints " and AWS Services 2. Rest of AWS" (via Amazon Kinesis, AWS Lambda, Amazon S3, and more) Amazon CloudWatch Amazon " Elasticsearch Amazon Machine " Learning
  • 41. AWS IoT Rules Engine Rule Name Description SQL Statement Array of Actions Simple & Familiar Syntax -  SQL Statement to define topic filter -  Optional WHERE clause -  Advanced JSON support Many functions available -  String manipulation (regex support) -  Mathematical operations -  Crypto support -  UUID, Timestamp, rand, etc.
  • 42. From AWS IoT to an External Endpoint Lambda Function AWS Services Execution Role Policy External Endpoint Permission Private Key & Certificate Thing/Device SDK Rules Engine Policy Rule AWS IoT Select * from ‘iotbutton/+’ Action
  • 46. Software Shopping List Arduino IDE and librairies http://arduino.org/software Arduino Web Editor & Cloud Platform https://aws.amazon.com/blogs/aws/ arduino-web-editor-and-cloud-platform- powered-by-aws/ Tip: ArduinoJson, a JSON library for embedded systems https://github.com/bblanchon/ArduinoJson
  • 47. Arduino: connecting to AWS IoT aws_iot_mqtt_client myClient; if((rc = myClient.setup(AWS_IOT_CLIENT_ID)) == 0) { // Load user configuration if((rc = myClient.config(AWS_IOT_MQTT_HOST, AWS_IOT_MQTT_PORT, AWS_IOT_ROOT_CA_PATH, AWS_IOT_PRIVATE_KEY_PATH, AWS_IOT_CERTIFICATE_PATH)) == 0) { if((rc = myClient.connect()) == 0) { // We are connected doSomethingUseful(); } } }
  • 48. Arduino: subscribing and publishing to a topic if ((rc=myClient.subscribe(”myTopic", 1, msg_callback)) != 0) { Serial.println("Subscribe failed!"); Serial.println(rc); } if((rc = myClient.publish(”myTopic", msg, strlen(msg), 1, false)) != 0) { Serial.println("Publish failed!"); Serial.println(rc); }
  • 50. Now it’s your turn! Whitepaper: “Core Tenets of IoT” " https://d0.awsstatic.com/whitepapers/core-tenets-of-iot1.pdf Whitepaper: “Big Data Analytics Options on AWS” http://d0.awsstatic.com/whitepapers/Big_Data_Analytics_Options_on_AWS.pdf Learn more about AWS IoT https://aws.amazon.com/iot/ Learn about the AWS Free Tier https://aws.amazon.com/free/ Get started! https://aws.amazon.com/getting-started/ Next AWS events in France https://aws.amazon.com/fr/events/ •  AWSome Day in Lille 22/11 https://aws.amazon.com/fr/awsomeday/lille/ •  Security Week: 10 webinars (19-23/12) https://aws.amazon.com/fr/events/security-week/
  • 51. Thank You ! Julien Simon Principal Technical Evangelist Amazon Web Services julsimon@amazon.fr @julsimon