SlideShare a Scribd company logo
Getting Started with IoTon
16th April 2020
Albert Suwandhi
Online Talk
Albert Suwandhi
IT Infrastructure – Sinarmas Group
IT Lecturer
• STMIK IBBI – Medan
• Universitas Pelita Harapan - Medan
Bachelor Degree – Electrical Engineering - USU
Master Degree – Information Technology – Binus
Certifications :
• Cisco CCNA and CCNP - Enterprise
• Mikrotik MTCRE and MTCTCE
• AWS Certified Solution Architect – Associate
• Azure Fundamentals
GitHub : https://github.com/albertsuwandhi
LinkedIn : https://id.linkedin.com/in/albertsuwandhi
SlideShare : https://www.slideshare.net/albertsuwandhi
Telegram : @albertsuwandhi
ABCDI : AI, Blockchain, Cloud, Data, IoT
Agenda
• IoT Concepts and Architecture
• IoT Services on AWS
• Demo :
• Create and Connect Things to AWS Cloud
• Ingest Sensor Data to Cloud
• Trigger actions based on telemetry data
• Visualization
• Device Shadow (Tentative)
IoT Concepts and Architecture
IoT Definition
• “The Internet of Things (IoT) is the network of physical objects that
contain embedded technology to communicate and sense or interact
with their internal states or the external environment” - Gartner
• “The Internet of things (IoT) is the inter-networking of physical
devices, vehicles (also referred to as "connected devices" and "smart
devices"), buildings, and other items embedded with electronics,
software, sensors, actuators, and network connectivity which enable
these objects to collect and exchange data” - Wikipedia
Smart Devices
20B IoT Devices
Smart City
250 PB per day
Connected Factory
1 PB per day
Stadium
200 TB per game
People
1.5 GB per day
Smart Home
50 GB per day
Autonomous
Vehicle
5 TB per day
Smart Office
150 GB per day
1 million/hour
new devices coming online by 2020
IoT Use Case - SmarTernak
Product by : DycodeX – Indonesia
IoT Use Case – Predictive Maintenance
• Industrial IoT - Predictive Maintenance
• Measure Vibration, Temperature,
RPM, etc on machine
• Detect Anomalies and Trigger Alert
• Powered by Machine Learning - Edge
AI
• Energy Harvesting - Heat
Product by : Yokogawa - Japan
Nobody just buys IoT technology… They seek for
business outcomes!!
What Businesses are asking for??
IoT Architecture
* Microsoft’s Definition of IoT
Illustration by Andri Yadi
ML at Edge: Train in the cloud, infer at the edge
Illustration by Andri Yadi
IoT projects can be quite complex
How can help to simplify IoT
Let See
AWS IoT Architecture
AWS IoT Architecture
AWS IoT Core
AWS IoT Core is a managed service that lets connected devices easily and securely
interact with cloud applications and other devices
Why AWS IoT Core?
• AWS ecosystem with easy access to services like Kinesis, S3,
ML,Lambda, DynamoDB, CloudWatch, CloudTrail, Elasticsearch, etc.
• Serverless: Scalable to massive amount of devices without having to
manage any infrastructure
• Security: End-to-end encryption. You can't authenticate unless you
have the right certificate. Policies are used for authorization. In Transit
data uses TLS 1.2
How AWS IoT Core Works
AWS IoT Core acts as Message Broker
MQTT
• OASIS standard protocol (v3.1.1)
• Lightweight, Pub/Sub protocol
for connected devices
• Used on oil rigs, connected
trucks, health care.
• Suitable for Low Bandwidth and
High Latency condition
• Needs a broker
MQTT vs HTTPS
• 93x faster throughput
• 11.89x less battery to send
• 170.9x less battery to receive
• 50% less power to keep connected
• 8x less network overhead
Source: http://stephendnicholas.com/archives/1217
Pub/Sub Illustration
AWS IoT Core Protocol Support
Authentication and Encryption
Authorization
In Summary : Authentication and Authorization
Every IoT Device needs “certificates” and “policies” in order to give
them the right accesses and permissions. Certificates protect the
transmission of data between your devices and AWS
IoT. Policies enable devices or users to access specific resources and
actions. This is to prevent any connections that are unnecessary, as well
as improve security all around.
Demo
Creating Thing and Connect to AWS IoT Core
Ingest Sensor Data to Cloud
Amazon S3 output bucket
IoT Action
Certificate + Policy
AWS SNS
AWS Lambda
AWS Lambda
IoT Rule
AWS EC2
Amazon CloudWatch Metric
AWS CLOUD
MQTT over TLS
SELECT * FROM '$aws/things/ESP32-IoT/Sensor'
SELECT * FROM '$aws/things/ESP32-IoT/Sensor'
SELECT * FROM '$aws/things/ESP32-IoT/Sensor'
SELECT ADC FROM '$aws/things/ESP32-IoT/Sensor' WHERE ADC>3600
Device Shadow
AWS IoT Core
DEMO ARCHITECTURE
Telegram Bot
Users
$aws/things/ESP32-IoT/Sensor
$aws/things/ESP32-IoT/shadow/update/delta
$aws/things/ESP32-IoT/shadow/update
$aws/things/ESP32-IoT/Output
NODE – ESP32
Illustration by Albert Suwandhi
Acting on Data – Anything Wrong?
AWS IoT Rule Engine
Available Actions
AWS IoT Rule Engine
• Connect IoT to other services
• Transform message content : SELECT
• Enrich message with contextual data : FROM
• Filter erroneous or unnecessary messages : WHERE
• Route based on content : ACTION
• Decouples device software and cloud applications
Example – Sending Events to AWS Services
Demo
Trigger actions based on telemetry data
Visualization
Additional Slides
AWS Device Shadow
Problem - Devices with Unreliable Networks
Digital Twins Concepts
• Applications can interact with the digital counterpart of the device
which is always in sync with the state of the physical device. When an
application sends the command, it flows via the digital twin, which
tracks the delta between the desired state set by the application and
the last reported state of the device.
• The IoT platform will ensure that the state of the physical device
matches its corresponding digital twin. Even if the device is offline
when the command is sent from the application, the platform will
sync the state when the device connects the next time. This
functionality reduces the burden on the developers by providing an
intelligent state machine for all the connected devices.
Digital Twins Concepts
AWS Digital Twins - AWS IoT Device Shadow
AWS IoT Device Shadow
• Device Shadow is the virtual representation of our physical Device. As per AWS IoT
Platform is concerned, we create a Thing in AWS IoT Console. Things are nothing
but the Devices, those are connected to AWS IoT Platform.
• It is a JSON document that is used to store and access current state information for
a device. This service maintains a shadow (virtual Device State) for each and every
device you connect to AWS IoT Platform. We can use the shadow document to get
the current state of the device and based on that state, we can take action on the
device, we can also monitor and control our Devices based on our needs over
(MQTT or HTTP) protocols, regardless of whether the device is connected to the
Internet. Each device’s shadow is uniquely identified by the name of the
corresponding Thing(Device associated with).
• Device Shadow service acts as a communication medium between your device and
application. As this service provides different MQTT topics (or) RESTful API to
interact with device. Using these MQTT topics (or) RESTful API we can also get,
update and delete Shadow Document.
• Use the AWS IoT Shadow in situations where a command persists for later use, even
if the device is currently offline.
AWS Device Shadow Flows
AWS IoT Shadow MQTT Topics
AWS Shadow Delta - Example
AWS Shadow Delta - Example
AWS Shadow Delta - Example
What’s Next?
• Explore edge computing : AWS Greengrass
• Add Analytics and Machine Learning
• etc
Discussion Time
https://t.me/AWSUserGroupID

More Related Content

What's hot

Aws sysops.1
Aws sysops.1Aws sysops.1
Aws sysops.1
chandutata
 
Building Cloud Native Applications
Building Cloud Native ApplicationsBuilding Cloud Native Applications
Building Cloud Native Applications
Arun Gupta
 
Amazon EKS Roadmap- AWS Container Day 2019 Barcelona
Amazon EKS Roadmap- AWS Container Day 2019 BarcelonaAmazon EKS Roadmap- AWS Container Day 2019 Barcelona
Amazon EKS Roadmap- AWS Container Day 2019 Barcelona
Amazon Web Services
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
Arun Gupta
 
Get AWS scholarship AWS machine learning engineer
Get AWS scholarship AWS machine learning engineerGet AWS scholarship AWS machine learning engineer
Get AWS scholarship AWS machine learning engineer
Ketan Raval
 
Azure Machine Learning Tutorial | Azure Tutorial | Azure Training | Edureka
Azure Machine Learning Tutorial | Azure Tutorial | Azure Training | EdurekaAzure Machine Learning Tutorial | Azure Tutorial | Azure Training | Edureka
Azure Machine Learning Tutorial | Azure Tutorial | Azure Training | Edureka
Edureka!
 
AWS IoT - from Cloud to Edge | AWS Floor28
AWS IoT - from Cloud to Edge | AWS Floor28AWS IoT - from Cloud to Edge | AWS Floor28
AWS IoT - from Cloud to Edge | AWS Floor28
Amazon Web Services
 
A New Way to Learn Machine Learning
A New Way to Learn Machine LearningA New Way to Learn Machine Learning
A New Way to Learn Machine Learning
Amazon Web Services
 
Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | Edureka
Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | EdurekaMicrosoft Azure Tutorial For Beginners | Microsoft Azure Training | Edureka
Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | Edureka
Edureka!
 
Introducing AWS Cloud9 - AWS Online Tech Talks
Introducing AWS Cloud9 - AWS Online Tech TalksIntroducing AWS Cloud9 - AWS Online Tech Talks
Introducing AWS Cloud9 - AWS Online Tech Talks
Amazon Web Services
 
Azure Data Engineer Certification | How to Become Azure Data Engineer
Azure Data Engineer Certification | How to Become Azure Data EngineerAzure Data Engineer Certification | How to Become Azure Data Engineer
Azure Data Engineer Certification | How to Become Azure Data Engineer
Intellipaat
 
IOT328_Building an AWS IoT-Enabled Drink Dispenser
IOT328_Building an AWS IoT-Enabled Drink DispenserIOT328_Building an AWS IoT-Enabled Drink Dispenser
IOT328_Building an AWS IoT-Enabled Drink Dispenser
Amazon Web Services
 
Introduction to Container Day- AWS Container Day 2019 Barcelona
Introduction to Container Day- AWS Container Day 2019 BarcelonaIntroduction to Container Day- AWS Container Day 2019 Barcelona
Introduction to Container Day- AWS Container Day 2019 Barcelona
Amazon Web Services
 
Introduction to AWS IoT Greengrass - SVC305 - Chicago AWS Summit
Introduction to AWS IoT Greengrass - SVC305 - Chicago AWS SummitIntroduction to AWS IoT Greengrass - SVC305 - Chicago AWS Summit
Introduction to AWS IoT Greengrass - SVC305 - Chicago AWS Summit
Amazon Web Services
 
Top five configuration security errors and how to avoid them - DEM09-S - Chic...
Top five configuration security errors and how to avoid them - DEM09-S - Chic...Top five configuration security errors and how to avoid them - DEM09-S - Chic...
Top five configuration security errors and how to avoid them - DEM09-S - Chic...
Amazon Web Services
 
Mastering Kubernetes on AWS - Tel Aviv Summit
Mastering Kubernetes on AWS - Tel Aviv SummitMastering Kubernetes on AWS - Tel Aviv Summit
Mastering Kubernetes on AWS - Tel Aviv Summit
Arun Gupta
 
Design with ops in mind | AWS Summit Tel Aviv 2019
Design with ops in mind | AWS Summit Tel Aviv 2019Design with ops in mind | AWS Summit Tel Aviv 2019
Design with ops in mind | AWS Summit Tel Aviv 2019
Amazon Web Services
 
IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...
IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...
IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...
Amazon Web Services
 
Machine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 BarcelonaMachine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Amazon Web Services
 
Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...
Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...
Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...
Amazon Web Services
 

What's hot (20)

Aws sysops.1
Aws sysops.1Aws sysops.1
Aws sysops.1
 
Building Cloud Native Applications
Building Cloud Native ApplicationsBuilding Cloud Native Applications
Building Cloud Native Applications
 
Amazon EKS Roadmap- AWS Container Day 2019 Barcelona
Amazon EKS Roadmap- AWS Container Day 2019 BarcelonaAmazon EKS Roadmap- AWS Container Day 2019 Barcelona
Amazon EKS Roadmap- AWS Container Day 2019 Barcelona
 
The Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 KeynoteThe Serverless Tidal Wave - SwampUP 2018 Keynote
The Serverless Tidal Wave - SwampUP 2018 Keynote
 
Get AWS scholarship AWS machine learning engineer
Get AWS scholarship AWS machine learning engineerGet AWS scholarship AWS machine learning engineer
Get AWS scholarship AWS machine learning engineer
 
Azure Machine Learning Tutorial | Azure Tutorial | Azure Training | Edureka
Azure Machine Learning Tutorial | Azure Tutorial | Azure Training | EdurekaAzure Machine Learning Tutorial | Azure Tutorial | Azure Training | Edureka
Azure Machine Learning Tutorial | Azure Tutorial | Azure Training | Edureka
 
AWS IoT - from Cloud to Edge | AWS Floor28
AWS IoT - from Cloud to Edge | AWS Floor28AWS IoT - from Cloud to Edge | AWS Floor28
AWS IoT - from Cloud to Edge | AWS Floor28
 
A New Way to Learn Machine Learning
A New Way to Learn Machine LearningA New Way to Learn Machine Learning
A New Way to Learn Machine Learning
 
Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | Edureka
Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | EdurekaMicrosoft Azure Tutorial For Beginners | Microsoft Azure Training | Edureka
Microsoft Azure Tutorial For Beginners | Microsoft Azure Training | Edureka
 
Introducing AWS Cloud9 - AWS Online Tech Talks
Introducing AWS Cloud9 - AWS Online Tech TalksIntroducing AWS Cloud9 - AWS Online Tech Talks
Introducing AWS Cloud9 - AWS Online Tech Talks
 
Azure Data Engineer Certification | How to Become Azure Data Engineer
Azure Data Engineer Certification | How to Become Azure Data EngineerAzure Data Engineer Certification | How to Become Azure Data Engineer
Azure Data Engineer Certification | How to Become Azure Data Engineer
 
IOT328_Building an AWS IoT-Enabled Drink Dispenser
IOT328_Building an AWS IoT-Enabled Drink DispenserIOT328_Building an AWS IoT-Enabled Drink Dispenser
IOT328_Building an AWS IoT-Enabled Drink Dispenser
 
Introduction to Container Day- AWS Container Day 2019 Barcelona
Introduction to Container Day- AWS Container Day 2019 BarcelonaIntroduction to Container Day- AWS Container Day 2019 Barcelona
Introduction to Container Day- AWS Container Day 2019 Barcelona
 
Introduction to AWS IoT Greengrass - SVC305 - Chicago AWS Summit
Introduction to AWS IoT Greengrass - SVC305 - Chicago AWS SummitIntroduction to AWS IoT Greengrass - SVC305 - Chicago AWS Summit
Introduction to AWS IoT Greengrass - SVC305 - Chicago AWS Summit
 
Top five configuration security errors and how to avoid them - DEM09-S - Chic...
Top five configuration security errors and how to avoid them - DEM09-S - Chic...Top five configuration security errors and how to avoid them - DEM09-S - Chic...
Top five configuration security errors and how to avoid them - DEM09-S - Chic...
 
Mastering Kubernetes on AWS - Tel Aviv Summit
Mastering Kubernetes on AWS - Tel Aviv SummitMastering Kubernetes on AWS - Tel Aviv Summit
Mastering Kubernetes on AWS - Tel Aviv Summit
 
Design with ops in mind | AWS Summit Tel Aviv 2019
Design with ops in mind | AWS Summit Tel Aviv 2019Design with ops in mind | AWS Summit Tel Aviv 2019
Design with ops in mind | AWS Summit Tel Aviv 2019
 
IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...
IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...
IoT World 2019 Keynote: A Story of Transformational IoT: Do machines actually...
 
Machine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 BarcelonaMachine Learning with Kubernetes- AWS Container Day 2019 Barcelona
Machine Learning with Kubernetes- AWS Container Day 2019 Barcelona
 
Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...
Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...
Dennis Hills - Top 5 Ways to Build Machine Learning Prediction on the Edge fo...
 

Similar to AWS UG Indonesia Meetup - AWS IoT Core

IOT.pptx
IOT.pptxIOT.pptx
IOT.pptx
NeyaShree1
 
Temperature and light intensity sensor
Temperature and light intensity sensorTemperature and light intensity sensor
Temperature and light intensity sensor
owatheowais
 
Developing Connected Applications with Amazon Web Services IoT
Developing Connected Applications with Amazon Web Services IoTDeveloping Connected Applications with Amazon Web Services IoT
Developing Connected Applications with Amazon Web Services IoT
Amazon Web Services
 
Internet of Things on AWS
Internet of Things on AWSInternet of Things on AWS
Internet of Things on AWS
Amazon Web Services
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
BizTalk360
 
Reply Webinar Online - Mastering AWS - IoT Advanced
Reply Webinar Online - Mastering AWS - IoT AdvancedReply Webinar Online - Mastering AWS - IoT Advanced
Reply Webinar Online - Mastering AWS - IoT Advanced
Andrea Mercanti
 
Alfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of ThingsAlfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of Things
Nathan McMinn
 
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 2017Amazon Web Services
 
Getting Started on Edge Computing with AWS IoT Greengrass
Getting Started on Edge Computing with AWS IoT GreengrassGetting Started on Edge Computing with AWS IoT Greengrass
Getting Started on Edge Computing with AWS IoT Greengrass
Hisyam Kamil
 
(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoT(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoT
Amazon Web Services
 
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"
Chris Munns
 
Web + AWS + IoT, how to
Web + AWS + IoT, how to Web + AWS + IoT, how to
Web + AWS + IoT, how to
Indeema Software Inc.
 
Introduction To AWS IoT - SoCalCodeCamp Nov 2016
Introduction To AWS IoT - SoCalCodeCamp Nov 2016Introduction To AWS IoT - SoCalCodeCamp Nov 2016
Introduction To AWS IoT - SoCalCodeCamp Nov 2016
Dexter Baga
 
(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWS(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWS
Amazon Web Services
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
Joanna Lamch
 
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
Amazon Web Services
 
Internet of Things (IoT) with Intel
Internet of Things (IoT) with IntelInternet of Things (IoT) with Intel
Internet of Things (IoT) with Intel
Amazon Web Services
 
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Codit
 
An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)
Julien SIMON
 
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
Amazon Web Services Korea
 

Similar to AWS UG Indonesia Meetup - AWS IoT Core (20)

IOT.pptx
IOT.pptxIOT.pptx
IOT.pptx
 
Temperature and light intensity sensor
Temperature and light intensity sensorTemperature and light intensity sensor
Temperature and light intensity sensor
 
Developing Connected Applications with Amazon Web Services IoT
Developing Connected Applications with Amazon Web Services IoTDeveloping Connected Applications with Amazon Web Services IoT
Developing Connected Applications with Amazon Web Services IoT
 
Internet of Things on AWS
Internet of Things on AWSInternet of Things on AWS
Internet of Things on AWS
 
Exploring the Azure IoT Ecosystem
Exploring the Azure IoT EcosystemExploring the Azure IoT Ecosystem
Exploring the Azure IoT Ecosystem
 
Reply Webinar Online - Mastering AWS - IoT Advanced
Reply Webinar Online - Mastering AWS - IoT AdvancedReply Webinar Online - Mastering AWS - IoT Advanced
Reply Webinar Online - Mastering AWS - IoT Advanced
 
Alfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of ThingsAlfresco Process Services (APS) and the Internet of Things
Alfresco Process Services (APS) and the Internet of Things
 
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
 
Getting Started on Edge Computing with AWS IoT Greengrass
Getting Started on Edge Computing with AWS IoT GreengrassGetting Started on Edge Computing with AWS IoT Greengrass
Getting Started on Edge Computing with AWS IoT Greengrass
 
(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoT(MBL205) New! Everything You Want to Know About AWS IoT
(MBL205) New! Everything You Want to Know About AWS IoT
 
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"
 
Web + AWS + IoT, how to
Web + AWS + IoT, how to Web + AWS + IoT, how to
Web + AWS + IoT, how to
 
Introduction To AWS IoT - SoCalCodeCamp Nov 2016
Introduction To AWS IoT - SoCalCodeCamp Nov 2016Introduction To AWS IoT - SoCalCodeCamp Nov 2016
Introduction To AWS IoT - SoCalCodeCamp Nov 2016
 
(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWS(MBL204) State of The Union: IoT Powered by AWS
(MBL204) State of The Union: IoT Powered by AWS
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 
Introducing AWS IoT - Interfacing with the Physical World - Technical 101
Introducing AWS IoT - Interfacing with the Physical World - Technical 101Introducing AWS IoT - Interfacing with the Physical World - Technical 101
Introducing AWS IoT - Interfacing with the Physical World - Technical 101
 
Internet of Things (IoT) with Intel
Internet of Things (IoT) with IntelInternet of Things (IoT) with Intel
Internet of Things (IoT) with Intel
 
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
Hoe het Azure ecosysteem een cruciale rol speelt in uw IoT-oplossing (Glenn C...
 
An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)An Overview of AWS IoT (November 2016)
An Overview of AWS IoT (November 2016)
 
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
 

More from Albert Suwandhi

Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
Albert Suwandhi
 
Intro - Cloud Native
Intro - Cloud NativeIntro - Cloud Native
Intro - Cloud Native
Albert Suwandhi
 
IoT Intro and Demo
IoT Intro and DemoIoT Intro and Demo
IoT Intro and Demo
Albert Suwandhi
 
Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
Albert Suwandhi
 
Intro to Network Automation
Intro to Network AutomationIntro to Network Automation
Intro to Network Automation
Albert Suwandhi
 
Lab - AWS Cross Account Access
Lab - AWS Cross Account AccessLab - AWS Cross Account Access
Lab - AWS Cross Account Access
Albert Suwandhi
 
Lab - AWS Lambda Resize Image
Lab - AWS Lambda Resize ImageLab - AWS Lambda Resize Image
Lab - AWS Lambda Resize Image
Albert Suwandhi
 
Lab - AWS Lambda Rekognition
Lab - AWS Lambda RekognitionLab - AWS Lambda Rekognition
Lab - AWS Lambda Rekognition
Albert Suwandhi
 
Lab - Automatic Deployment Using AWS CodePipeline to EC2
Lab - Automatic Deployment Using AWS CodePipeline to EC2Lab - Automatic Deployment Using AWS CodePipeline to EC2
Lab - Automatic Deployment Using AWS CodePipeline to EC2
Albert Suwandhi
 
Cloud Study Jam - 2019
Cloud Study Jam - 2019Cloud Study Jam - 2019
Cloud Study Jam - 2019
Albert Suwandhi
 
Road to RIoT 2017 Medan
Road to RIoT 2017 MedanRoad to RIoT 2017 Medan
Road to RIoT 2017 Medan
Albert Suwandhi
 
Docker Mentor Week 2016 - Medan
Docker Mentor Week 2016 - MedanDocker Mentor Week 2016 - Medan
Docker Mentor Week 2016 - Medan
Albert Suwandhi
 

More from Albert Suwandhi (13)

Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
 
Infrastructure as Code
Infrastructure as CodeInfrastructure as Code
Infrastructure as Code
 
Intro - Cloud Native
Intro - Cloud NativeIntro - Cloud Native
Intro - Cloud Native
 
IoT Intro and Demo
IoT Intro and DemoIoT Intro and Demo
IoT Intro and Demo
 
Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)Introduction to AWS (Amazon Web Services)
Introduction to AWS (Amazon Web Services)
 
Intro to Network Automation
Intro to Network AutomationIntro to Network Automation
Intro to Network Automation
 
Lab - AWS Cross Account Access
Lab - AWS Cross Account AccessLab - AWS Cross Account Access
Lab - AWS Cross Account Access
 
Lab - AWS Lambda Resize Image
Lab - AWS Lambda Resize ImageLab - AWS Lambda Resize Image
Lab - AWS Lambda Resize Image
 
Lab - AWS Lambda Rekognition
Lab - AWS Lambda RekognitionLab - AWS Lambda Rekognition
Lab - AWS Lambda Rekognition
 
Lab - Automatic Deployment Using AWS CodePipeline to EC2
Lab - Automatic Deployment Using AWS CodePipeline to EC2Lab - Automatic Deployment Using AWS CodePipeline to EC2
Lab - Automatic Deployment Using AWS CodePipeline to EC2
 
Cloud Study Jam - 2019
Cloud Study Jam - 2019Cloud Study Jam - 2019
Cloud Study Jam - 2019
 
Road to RIoT 2017 Medan
Road to RIoT 2017 MedanRoad to RIoT 2017 Medan
Road to RIoT 2017 Medan
 
Docker Mentor Week 2016 - Medan
Docker Mentor Week 2016 - MedanDocker Mentor Week 2016 - Medan
Docker Mentor Week 2016 - Medan
 

Recently uploaded

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 

Recently uploaded (20)

The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

AWS UG Indonesia Meetup - AWS IoT Core

  • 1. Getting Started with IoTon 16th April 2020 Albert Suwandhi Online Talk
  • 2. Albert Suwandhi IT Infrastructure – Sinarmas Group IT Lecturer • STMIK IBBI – Medan • Universitas Pelita Harapan - Medan Bachelor Degree – Electrical Engineering - USU Master Degree – Information Technology – Binus Certifications : • Cisco CCNA and CCNP - Enterprise • Mikrotik MTCRE and MTCTCE • AWS Certified Solution Architect – Associate • Azure Fundamentals GitHub : https://github.com/albertsuwandhi LinkedIn : https://id.linkedin.com/in/albertsuwandhi SlideShare : https://www.slideshare.net/albertsuwandhi Telegram : @albertsuwandhi
  • 3. ABCDI : AI, Blockchain, Cloud, Data, IoT
  • 4. Agenda • IoT Concepts and Architecture • IoT Services on AWS • Demo : • Create and Connect Things to AWS Cloud • Ingest Sensor Data to Cloud • Trigger actions based on telemetry data • Visualization • Device Shadow (Tentative)
  • 5. IoT Concepts and Architecture
  • 6.
  • 7.
  • 8. IoT Definition • “The Internet of Things (IoT) is the network of physical objects that contain embedded technology to communicate and sense or interact with their internal states or the external environment” - Gartner • “The Internet of things (IoT) is the inter-networking of physical devices, vehicles (also referred to as "connected devices" and "smart devices"), buildings, and other items embedded with electronics, software, sensors, actuators, and network connectivity which enable these objects to collect and exchange data” - Wikipedia
  • 9.
  • 10.
  • 11. Smart Devices 20B IoT Devices Smart City 250 PB per day Connected Factory 1 PB per day Stadium 200 TB per game People 1.5 GB per day Smart Home 50 GB per day Autonomous Vehicle 5 TB per day Smart Office 150 GB per day 1 million/hour new devices coming online by 2020
  • 12.
  • 13. IoT Use Case - SmarTernak Product by : DycodeX – Indonesia
  • 14. IoT Use Case – Predictive Maintenance • Industrial IoT - Predictive Maintenance • Measure Vibration, Temperature, RPM, etc on machine • Detect Anomalies and Trigger Alert • Powered by Machine Learning - Edge AI • Energy Harvesting - Heat Product by : Yokogawa - Japan
  • 15.
  • 16. Nobody just buys IoT technology… They seek for business outcomes!!
  • 17. What Businesses are asking for??
  • 18. IoT Architecture * Microsoft’s Definition of IoT
  • 19.
  • 21. ML at Edge: Train in the cloud, infer at the edge Illustration by Andri Yadi
  • 22. IoT projects can be quite complex
  • 23. How can help to simplify IoT Let See
  • 26.
  • 27. AWS IoT Core AWS IoT Core is a managed service that lets connected devices easily and securely interact with cloud applications and other devices
  • 28. Why AWS IoT Core? • AWS ecosystem with easy access to services like Kinesis, S3, ML,Lambda, DynamoDB, CloudWatch, CloudTrail, Elasticsearch, etc. • Serverless: Scalable to massive amount of devices without having to manage any infrastructure • Security: End-to-end encryption. You can't authenticate unless you have the right certificate. Policies are used for authorization. In Transit data uses TLS 1.2
  • 29. How AWS IoT Core Works
  • 30. AWS IoT Core acts as Message Broker MQTT • OASIS standard protocol (v3.1.1) • Lightweight, Pub/Sub protocol for connected devices • Used on oil rigs, connected trucks, health care. • Suitable for Low Bandwidth and High Latency condition • Needs a broker MQTT vs HTTPS • 93x faster throughput • 11.89x less battery to send • 170.9x less battery to receive • 50% less power to keep connected • 8x less network overhead Source: http://stephendnicholas.com/archives/1217
  • 32. AWS IoT Core Protocol Support
  • 35. In Summary : Authentication and Authorization Every IoT Device needs “certificates” and “policies” in order to give them the right accesses and permissions. Certificates protect the transmission of data between your devices and AWS IoT. Policies enable devices or users to access specific resources and actions. This is to prevent any connections that are unnecessary, as well as improve security all around.
  • 36. Demo Creating Thing and Connect to AWS IoT Core Ingest Sensor Data to Cloud
  • 37. Amazon S3 output bucket IoT Action Certificate + Policy AWS SNS AWS Lambda AWS Lambda IoT Rule AWS EC2 Amazon CloudWatch Metric AWS CLOUD MQTT over TLS SELECT * FROM '$aws/things/ESP32-IoT/Sensor' SELECT * FROM '$aws/things/ESP32-IoT/Sensor' SELECT * FROM '$aws/things/ESP32-IoT/Sensor' SELECT ADC FROM '$aws/things/ESP32-IoT/Sensor' WHERE ADC>3600 Device Shadow AWS IoT Core DEMO ARCHITECTURE Telegram Bot Users $aws/things/ESP32-IoT/Sensor $aws/things/ESP32-IoT/shadow/update/delta $aws/things/ESP32-IoT/shadow/update $aws/things/ESP32-IoT/Output NODE – ESP32 Illustration by Albert Suwandhi
  • 38. Acting on Data – Anything Wrong?
  • 39. AWS IoT Rule Engine
  • 41. AWS IoT Rule Engine • Connect IoT to other services • Transform message content : SELECT • Enrich message with contextual data : FROM • Filter erroneous or unnecessary messages : WHERE • Route based on content : ACTION • Decouples device software and cloud applications
  • 42. Example – Sending Events to AWS Services
  • 43.
  • 44. Demo Trigger actions based on telemetry data Visualization
  • 46. Problem - Devices with Unreliable Networks
  • 47. Digital Twins Concepts • Applications can interact with the digital counterpart of the device which is always in sync with the state of the physical device. When an application sends the command, it flows via the digital twin, which tracks the delta between the desired state set by the application and the last reported state of the device. • The IoT platform will ensure that the state of the physical device matches its corresponding digital twin. Even if the device is offline when the command is sent from the application, the platform will sync the state when the device connects the next time. This functionality reduces the burden on the developers by providing an intelligent state machine for all the connected devices.
  • 49. AWS Digital Twins - AWS IoT Device Shadow
  • 50. AWS IoT Device Shadow • Device Shadow is the virtual representation of our physical Device. As per AWS IoT Platform is concerned, we create a Thing in AWS IoT Console. Things are nothing but the Devices, those are connected to AWS IoT Platform. • It is a JSON document that is used to store and access current state information for a device. This service maintains a shadow (virtual Device State) for each and every device you connect to AWS IoT Platform. We can use the shadow document to get the current state of the device and based on that state, we can take action on the device, we can also monitor and control our Devices based on our needs over (MQTT or HTTP) protocols, regardless of whether the device is connected to the Internet. Each device’s shadow is uniquely identified by the name of the corresponding Thing(Device associated with). • Device Shadow service acts as a communication medium between your device and application. As this service provides different MQTT topics (or) RESTful API to interact with device. Using these MQTT topics (or) RESTful API we can also get, update and delete Shadow Document. • Use the AWS IoT Shadow in situations where a command persists for later use, even if the device is currently offline.
  • 52. AWS IoT Shadow MQTT Topics
  • 53. AWS Shadow Delta - Example
  • 54. AWS Shadow Delta - Example
  • 55. AWS Shadow Delta - Example
  • 56. What’s Next? • Explore edge computing : AWS Greengrass • Add Analytics and Machine Learning • etc