SlideShare a Scribd company logo
1 of 39
Download to read offline
Architecture of
the AWS IoT platform
Julien Simon
Principal Technical Evangelist, AWS
julsimon@amazon.fr
@julsimon
Jean-Marc Vauguier
CEO, Z#bre
jm.vauguier@zbre.fr
@JMVauguier
AWS IoT is a fully managed cloud platform that lets connected
devices easily and securely interact with cloud applications and other
devices.
Extract and filter data from your
devices and take action with
custom rules
Securely connect and manage
any physical device across
multiple networks and protocols
Create web and mobile
applications that interact with
devices reliably at any time
AWS IoT
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
Devices & SDKs
Official AWS IoT Starter Kits
AWS IoT Sofware Development Kits
•  Arduino: Arduino Yún platform
•  Node.js: ideal for Embedded Linux
•  C: ideal for embedded OS
Personal picture
Arduino Yún hardware
Aduino.org
Not an official endorsement by AWS. Just a personal preference J
Amazon.com
Arduino Yún SDK
Arduino IDE and librairies
http://arduino.org/software
AWS IoT SDK
https://github.com/aws/aws-iot-
device-sdk-arduino-yun
Protocols
Highly scalable
Pub Sub Broker
MQTT
Subscribers
Publishers
Secure by Default
Connect securely via X509 Certs and
TLS v1.2 Client Mutual Auth
Multi-protocol Message Gateway
Millions of devices and apps can connect
over MQTT or HTTP
topics
Elastic Publish Subscribe Broker
Go from 1 to 1-billion long-lived
connections with zero provisioning
AWS IoT: Securely Connect Devices
Device Registry
Cloud alter-ego of a physical device.
Persists metadata about the device.
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
•  Customers have needed to build,
maintain and scale a broker to use
MQTT with cloud applications
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: 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
Arduino SDK: 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 SDK: 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);
}
Rules
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)
AWS IoT Rules: Streaming Data
N:1 Inbound Streams of Sensor Data
Rules Engine filters, transforms sensor data then sends aggregate to Amazon Kinesis
Amazon Kinesis Streams to Enterprise Applications
Simultaneously stream processed data to databases, applications, other AWS
Services
Ordered Stream
Amazon
Kinesis
AWS IoT Rules: Machine Learning
Anomaly Detection
The Rules Engine can feed data to Amazon Machine Learning, for example to predict
device failure
Continuous Improvement
Re-train the Amazon Machine Learning model periodically on new data
Send to S3
Amazon
Machine
Learning
Re-Train
S3
Jean-MarcVAUGUIER – CEO
www.zbre.fr
Connected business
IoT has a deep impact on business models
Company
Customer
Create Deploy
Physical re-intermediation Increasing global value
Connected businessConnected business
The challenge : improving quality of life for elderly people
Customer Intermediary Provider
Connected business
Our solution : the Lysbox
Connected business
Achievements
•  100% elderly people
equipped
•  10.000 boxes deployed in 6
months
•  Quality of service improved
•  3 M€ savings / year
•  ROI < 1 year
Connected business
Challenges
•  Complex interactions
Cities
Care
companies
Logistics
SIGFOX
Network
Weather
forecast
Objects
Mgt.
Department
Relatives
mobiles
•  Deployment time: 6 months
•  Security and encryption
•  Evolutivity: DevOps (tests / stability)
•  Scalability: from 0 to 10.000 objects
in 6 months
Constraints
Connected business
The Z#BRE platform on AWS
Devices
End users
Third parties
Services
Auto Scaling group
Availability Zone
Security group
RDS Database
security group
EC2 instance
web app
server
virtual private cloud
Lambda
Machine
Learning
Identity IAM
API Gateway
Amazon S3
Cognito
ELB
ELB
ELB
AWS IoT Authentication
& encryption IoT Broker
Rules Registry Shadow
Connected business
Upcoming projects
•  Deployment in US & Asia
•  Integrate AI features
•  Increase variety of managed objects
•  Systematic integration of SE
Connected business
Jean-MarcVAUGUIER – CEO
www.zbre.fr
Connected business
AWS IoT
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
Tomorrow at 4:15 PM
« Connected Agriculture with AWS IoT »
Michael GARCIA, EMEA SA Specialist Mobile/IoT, AWS
See you at the AWS booth!
AWS @ SIDO
April 20-22 April 25
May 31st
June 28
September 27
December 6
Next events
AWS User Groups AWS
Lille
Paris
Rennes
Nantes
Bordeaux
Lyon
Montpellier
facebook.com/groups/AWSFrance/
@aws_actus
AWS User Groups
Merci !
Julien Simon
Principal Technical Evangelist, AWS
julsimon@amazon.fr
@julsimon
Jean-Marc Vauguier
CEO, Z#bre
jm.vauguier@zbre.fr
@JMVauguier

More Related Content

What's hot

Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...
Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...
Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...
Amazon Web Services
 

What's hot (20)

Deep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECSDeep Dive on Microservices and Amazon ECS
Deep Dive on Microservices and Amazon ECS
 
DevOps for the Enterprise: Continuous Deployment
DevOps for the Enterprise: Continuous DeploymentDevOps for the Enterprise: Continuous Deployment
DevOps for the Enterprise: Continuous Deployment
 
AWS APAC Webinar Week - Introduction to Cloud Computing With Amazon Web Services
AWS APAC Webinar Week - Introduction to Cloud Computing With Amazon Web ServicesAWS APAC Webinar Week - Introduction to Cloud Computing With Amazon Web Services
AWS APAC Webinar Week - Introduction to Cloud Computing With Amazon Web Services
 
AWS Elastic Beanstalk運作微服務與Docker
AWS Elastic Beanstalk運作微服務與Docker AWS Elastic Beanstalk運作微服務與Docker
AWS Elastic Beanstalk運作微服務與Docker
 
Getting Started With Continuous Delivery on AWS - AWS April 2016 Webinar Series
Getting Started With Continuous Delivery on AWS - AWS April 2016 Webinar SeriesGetting Started With Continuous Delivery on AWS - AWS April 2016 Webinar Series
Getting Started With Continuous Delivery on AWS - AWS April 2016 Webinar Series
 
DevOps for the Enterprise: Virtual Office Hours
DevOps for the Enterprise: Virtual Office HoursDevOps for the Enterprise: Virtual Office Hours
DevOps for the Enterprise: Virtual Office Hours
 
Automate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeployAutomate Software Deployments on EC2 with AWS CodeDeploy
Automate Software Deployments on EC2 with AWS CodeDeploy
 
Serverless architecture with AWS Lambda (June 2016)
Serverless architecture with AWS Lambda (June 2016)Serverless architecture with AWS Lambda (June 2016)
Serverless architecture with AWS Lambda (June 2016)
 
Getting Started with AWS IoT
Getting Started with AWS IoTGetting Started with AWS IoT
Getting Started with AWS IoT
 
Platform for Innovation - AWS
Platform for Innovation - AWSPlatform for Innovation - AWS
Platform for Innovation - AWS
 
Introduction to DevOps on AWS
Introduction to DevOps on AWSIntroduction to DevOps on AWS
Introduction to DevOps on AWS
 
Introduction to DevOps and the AWS Code Services
Introduction to DevOps and the AWS Code ServicesIntroduction to DevOps and the AWS Code Services
Introduction to DevOps and the AWS Code Services
 
AWS Power Tools: Advanced AWS CloudFormation and CLI
AWS Power Tools: Advanced AWS CloudFormation and CLIAWS Power Tools: Advanced AWS CloudFormation and CLI
AWS Power Tools: Advanced AWS CloudFormation and CLI
 
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer ToolsDevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
DevOps on AWS: Deep Dive on Continuous Delivery and the AWS Developer Tools
 
Innovation at Scale - Top 10 AWS questions when you start
Innovation at Scale - Top 10 AWS questions when you startInnovation at Scale - Top 10 AWS questions when you start
Innovation at Scale - Top 10 AWS questions when you start
 
Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...
Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...
Real World Development: Peeling The Onion – Migrating A Monolithic Applicatio...
 
Automating Software Deployments with AWS CodeDeploy by Matthew Trescot, Manag...
Automating Software Deployments with AWS CodeDeploy by Matthew Trescot, Manag...Automating Software Deployments with AWS CodeDeploy by Matthew Trescot, Manag...
Automating Software Deployments with AWS CodeDeploy by Matthew Trescot, Manag...
 
Customer Sharing: Trend Micro - Trend Micro's DevOps Practices
Customer Sharing: Trend Micro - Trend Micro's DevOps Practices Customer Sharing: Trend Micro - Trend Micro's DevOps Practices
Customer Sharing: Trend Micro - Trend Micro's DevOps Practices
 
From Monolith to Microservices
From Monolith to MicroservicesFrom Monolith to Microservices
From Monolith to Microservices
 
DevOps in Amazon.com
DevOps in Amazon.com DevOps in Amazon.com
DevOps in Amazon.com
 

Viewers also liked

Viewers also liked (13)

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
 
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
(MBL312) NEW! AWS IoT: Programming a Physical World w/ Shadows & Rules
 
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
 
Internet of Things on AWS
Internet of Things on AWSInternet of Things on AWS
Internet of Things on AWS
 
Developing Connected Applications with AWS IoT - Technical 301
Developing Connected Applications with AWS IoT - Technical 301Developing Connected Applications with AWS IoT - Technical 301
Developing Connected Applications with AWS IoT - Technical 301
 
Deep Dive on AWS IoT
Deep Dive on AWS IoTDeep Dive on AWS IoT
Deep Dive on AWS IoT
 
Building Intelligent Solutions with AWS IoT
Building Intelligent Solutions with AWS IoT Building Intelligent Solutions with AWS IoT
Building Intelligent Solutions with AWS IoT
 
Internet of things architecture perspective - IndicThreads Conference
Internet of things architecture perspective - IndicThreads ConferenceInternet of things architecture perspective - IndicThreads Conference
Internet of things architecture perspective - IndicThreads Conference
 
Enterprise-Grade IoT Infrastructure and Connectivity on AWS
Enterprise-Grade IoT Infrastructure and Connectivity on AWSEnterprise-Grade IoT Infrastructure and Connectivity on AWS
Enterprise-Grade IoT Infrastructure and Connectivity on AWS
 
AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)
AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)
AWS re:Invent 2016: Introduction to AWS IoT in the Cloud (IOT204)
 
Deep Dive: AWS IOT
Deep Dive: AWS IOTDeep Dive: AWS IOT
Deep Dive: AWS IOT
 
(MBL305) You Have Data from the Devices, Now What?: Getting the Value of the IoT
(MBL305) You Have Data from the Devices, Now What?: Getting the Value of the IoT(MBL305) You Have Data from the Devices, Now What?: Getting the Value of the IoT
(MBL305) You Have Data from the Devices, Now What?: Getting the Value of the IoT
 
Internet of Things: Patterns For Building Real World Applications
Internet of Things: Patterns For Building Real World ApplicationsInternet of Things: Patterns For Building Real World Applications
Internet of Things: Patterns For Building Real World Applications
 

Similar to Workshop AWS IoT @ SIDO

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

Similar to Workshop AWS IoT @ SIDO (20)

Workshop AWS IoT @ IoT World Paris
Workshop AWS IoT @ IoT World ParisWorkshop AWS IoT @ IoT World Paris
Workshop AWS IoT @ IoT World Paris
 
AWS Innovate: Building an Internet Connected Camera with AWS IoT- Tim Cruse
AWS Innovate: Building an Internet Connected Camera with AWS IoT- Tim CruseAWS Innovate: Building an Internet Connected Camera with AWS IoT- Tim Cruse
AWS Innovate: Building an Internet Connected Camera with AWS IoT- Tim Cruse
 
Essential Capabilities of an IoT Platform
Essential Capabilities of an IoT PlatformEssential Capabilities of an IoT Platform
Essential Capabilities of an IoT Platform
 
Getting Started with AWS IoT
Getting Started with AWS IoTGetting Started with AWS IoT
Getting Started with AWS IoT
 
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 for IoT
AWS for IoTAWS for IoT
AWS for IoT
 
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법  (김무현 솔루션즈 아키텍트)
AWS IoT 핸즈온 워크샵 - AWS IoT 소개 및  AWS 서비스 연동 방법 (김무현 솔루션즈 아키텍트)
 
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
 
Getting Started with AWS IoT
Getting Started with AWS IoTGetting Started with AWS IoT
Getting Started with AWS IoT
 
AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽AWS物聯網基礎架構及連線概覽
AWS物聯網基礎架構及連線概覽
 
Adopting the Right Architecture for IoT Implementation
Adopting the Right Architecture for IoT ImplementationAdopting the Right Architecture for IoT Implementation
Adopting the Right Architecture for IoT Implementation
 
Unit 6.pptx
Unit 6.pptxUnit 6.pptx
Unit 6.pptx
 
Creator IoT Framework
Creator IoT FrameworkCreator IoT Framework
Creator IoT Framework
 
AWS NYC Meetup - May 2017 - "AWS IoT and Greengrass"
AWS NYC Meetup - May 2017 - "AWS IoT and Greengrass"AWS NYC Meetup - May 2017 - "AWS IoT and Greengrass"
AWS NYC Meetup - May 2017 - "AWS IoT and Greengrass"
 
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
Azure IoT (Sam Vanhoutte @NMCT IoT Fest)
 
UNIT V.pdf
UNIT V.pdfUNIT V.pdf
UNIT V.pdf
 
Partner Keynote: Intel - The New Frontier of Cloud Computing
Partner Keynote: Intel - The New Frontier of Cloud ComputingPartner Keynote: Intel - The New Frontier of Cloud Computing
Partner Keynote: Intel - The New Frontier of Cloud Computing
 
Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)
Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)
Why integration is key in IoT solutions? (Sam Vanhoutte @Integrate2017)
 
Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017) Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017)
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 

More from Julien SIMON

More from 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)
 

Recently uploaded

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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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, ...
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
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
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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...
 
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
 

Workshop AWS IoT @ SIDO

  • 1. Architecture of the AWS IoT platform Julien Simon Principal Technical Evangelist, AWS julsimon@amazon.fr @julsimon Jean-Marc Vauguier CEO, Z#bre jm.vauguier@zbre.fr @JMVauguier
  • 2. AWS IoT is a fully managed cloud platform that lets connected devices easily and securely interact with cloud applications and other devices. Extract and filter data from your devices and take action with custom rules Securely connect and manage any physical device across multiple networks and protocols Create web and mobile applications that interact with devices reliably at any time
  • 3. AWS IoT 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
  • 5. Official AWS IoT Starter Kits
  • 6. AWS IoT Sofware Development Kits •  Arduino: Arduino Yún platform •  Node.js: ideal for Embedded Linux •  C: ideal for embedded OS
  • 9. Not an official endorsement by AWS. Just a personal preference J Amazon.com
  • 10. Arduino Yún SDK Arduino IDE and librairies http://arduino.org/software AWS IoT SDK https://github.com/aws/aws-iot- device-sdk-arduino-yun
  • 12. Highly scalable Pub Sub Broker MQTT Subscribers Publishers Secure by Default Connect securely via X509 Certs and TLS v1.2 Client Mutual Auth Multi-protocol Message Gateway Millions of devices and apps can connect over MQTT or HTTP topics Elastic Publish Subscribe Broker Go from 1 to 1-billion long-lived connections with zero provisioning AWS IoT: Securely Connect Devices Device Registry Cloud alter-ego of a physical device. Persists metadata about the device.
  • 13. 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 •  Customers have needed to build, maintain and scale a broker to use MQTT with cloud applications
  • 14. MQTT: QoS 0 (at most once) 1 2 3 4 5 6 1,2,3,5,6 Publish QoS0
  • 15. MQTT: QoS 1 (at least once) 1 2 3 4 5 4 1,2,3,4,5,6 6 PUBLISH QoS1 PUBLISH QoS1 PUBACK
  • 17. MQTT: collect data from a device mydevices/4 mydevices/4
  • 18. MQTT: aggregate data from many devices mydevices/# mydevices/1 mydevices/2 mydevices/3 …. Amazon DynamoDB Applications
  • 19. MQTT: update a device mydevices/4 mydevices/4
  • 20. Arduino SDK: 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(); } } }
  • 21. Arduino SDK: 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); }
  • 22. Rules
  • 23. 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)
  • 24. AWS IoT Rules: Streaming Data N:1 Inbound Streams of Sensor Data Rules Engine filters, transforms sensor data then sends aggregate to Amazon Kinesis Amazon Kinesis Streams to Enterprise Applications Simultaneously stream processed data to databases, applications, other AWS Services Ordered Stream Amazon Kinesis
  • 25. AWS IoT Rules: Machine Learning Anomaly Detection The Rules Engine can feed data to Amazon Machine Learning, for example to predict device failure Continuous Improvement Re-train the Amazon Machine Learning model periodically on new data Send to S3 Amazon Machine Learning Re-Train S3
  • 27. IoT has a deep impact on business models Company Customer Create Deploy Physical re-intermediation Increasing global value Connected businessConnected business
  • 28. The challenge : improving quality of life for elderly people Customer Intermediary Provider Connected business
  • 29. Our solution : the Lysbox Connected business
  • 30. Achievements •  100% elderly people equipped •  10.000 boxes deployed in 6 months •  Quality of service improved •  3 M€ savings / year •  ROI < 1 year Connected business
  • 31. Challenges •  Complex interactions Cities Care companies Logistics SIGFOX Network Weather forecast Objects Mgt. Department Relatives mobiles •  Deployment time: 6 months •  Security and encryption •  Evolutivity: DevOps (tests / stability) •  Scalability: from 0 to 10.000 objects in 6 months Constraints Connected business
  • 32. The Z#BRE platform on AWS Devices End users Third parties Services Auto Scaling group Availability Zone Security group RDS Database security group EC2 instance web app server virtual private cloud Lambda Machine Learning Identity IAM API Gateway Amazon S3 Cognito ELB ELB ELB AWS IoT Authentication & encryption IoT Broker Rules Registry Shadow Connected business
  • 33. Upcoming projects •  Deployment in US & Asia •  Integrate AI features •  Increase variety of managed objects •  Systematic integration of SE Connected business
  • 35. AWS IoT 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
  • 36. Tomorrow at 4:15 PM « Connected Agriculture with AWS IoT » Michael GARCIA, EMEA SA Specialist Mobile/IoT, AWS See you at the AWS booth! AWS @ SIDO
  • 37. April 20-22 April 25 May 31st June 28 September 27 December 6 Next events
  • 38. AWS User Groups AWS Lille Paris Rennes Nantes Bordeaux Lyon Montpellier facebook.com/groups/AWSFrance/ @aws_actus AWS User Groups
  • 39. Merci ! Julien Simon Principal Technical Evangelist, AWS julsimon@amazon.fr @julsimon Jean-Marc Vauguier CEO, Z#bre jm.vauguier@zbre.fr @JMVauguier