SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
Sanjivani Rural Education Society’s
Sanjivani College of Engineering, Kopargaon
Department of Information Technology
Subject :- Internet of Things
Topic:- IoT Physical Servers, Cloud Offerings & IoT Case Studies
Content
• Introduction to Cloud Storage Models
• Communication API
• WAMP: AutoBahn for IoT
• Xively Cloud for IoT
• Python Web Application Framework: Djanjo
• Amazon Web Services for IoT
• SkyNet IoT Messaging Platform.
Introduction to Cloud Storage Models
• Popular Models are :-
• Amazon Web Service (AWS)
• Xively Cloud (PAAS)
AMAZON Web Services for IoT
EC2
AutoScaling
S3
DynamoDB
1. Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure,
resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier
for developers. Amazon EC2's simple web service interface allows you to obtain and configure
capacity with minimal friction.
2. AWS Auto Scaling monitors your applications and automatically adjusts capacity to maintain
steady, predictable performance at the lowest possible cost. Using AWS Auto Scaling, it's easy to
setup application scaling for multiple resources across multiple services in minutes.
3. Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier
to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizable
capacity for an industry-standard relational database and manages common database
administration tasks.
4. Amazon Simple Storage Service (Amazon S3) is storage for the internet. You can use
Amazon S3 to store and retrieve any amount of data at any time, from anywhere on the web. You
can accomplish these tasks using the AWS Management Console, which is a simple and intuitive
web interface.
5. Amazon DynamoDB is a key-value and document database that delivers single-digit
millisecond performance at any scale. It's a fully managed, multi-region, multi-active, durable
database with built-in security, backup and restore, and in-memory caching for internet-scale
applications.
Amazon EC2
• An IaaS provided by Amazon
• EC2 delivers scalable, pay-as-you-go
compute capacity in the cloud
• Web service that provides computing
capacity in the form of virtual
machine
• EC2 can be used for several purposes
for IOT systems
Amazon AutoScaling
• Allows automatically scaling EC2
capacity up or down according to
user condition
• Users can increase number of EC2
instances
• AutoScaling can be used for auto
scaling IOT applications and IOT
platforms deployed as Amazon EC2
Amazon S3
• Online cloud based data storage
infrastructure for storing and
retrieving large amount of data
• Offers reliable, scalable, fast, fully
redundant and affordable storage
infrastructure
• Serve as raw datastore for IOT
systems for storing raw data such as
sensor data, log data, image, audio,
video, etc.
Amazon RDS
• Web service that allows to create instances
of MySQL, Oracle or MS SQL Server in
cloud
• Developers can easily set up, operate and
scale a relational database in cloud
• Serve as a scalable datastore for IOT
systems
• With RDS, IOT system developers can store
any amount of data in scalable relational
databases
Amazon DynamoDB
• Fully-managed, scalable, high
performance No-SQL database
service
• Serve as scalable datastore for IOT
systems
• With DynamoDB, IOT system
developers can store any amount of
data and serve any level of
requests for the data
Amazon DynamoDB
• Fully-managed, scalable, high
performance No-SQL database
service
• Serve as scalable datastore for IOT
systems
• With DynamoDB, IOT system
developers can store any amount of
data and serve any level of
requests for the data
SkyNet IoT Messaging Platform
• Open source instant messaging
platform
• SkyNet API supports both HTTP REST
and real- time WebSockets
• SkyNet allows you to register devices
on the network
• A device can be anything including
sensors, smart home devices, cloud
resources, drones
• Each device has an UUID & secret
token
Xively Cloud Services™
Commercial Platform as a Service for the Internet of
Things
l Supports hundreds of platforms, millions of gateways and billions of smart devices
l Comprehensive and secure infrastructure
services
l Online development tools and dev center
l Best of breed approach
Built on LogMeIn’s Gravity platform connecting 255+ m devices for 55+ m users
Xively …Contd…
• Xively is an IoT Cloud Platform
• It is an enterprise platform for building,
managing, and deriving business value from
connected products.
• It also provides the cloud base API with an
SDK
• It supports platforms and technologies like
Android, Arduino, C etc.
• Xively is a PaaS (Platform as a Service)
which exposes its service via RESTful API
• It supports messaging service based on
MQTT
Case Study: “Smart Plant System“
Details
• This IoT project uses Arduino Uno and
a set of sensors:
• DHT11: Temperature and humidity
sensor
• TEMT6000: Light intensity sensor
• YL-38 + YL-69: Soil moisture sensor
• We want to send all values read from
these sensors to Xively and create a
dashboard so we can monitor these
parameters.
Results by Xively
Communication API
• Cloud Models are relied on Communication API
• Communication API facilitate data transfer, control information
transfer from application to cloud, one service to another
• It also exist in the form of Communication Protocols
• It supports RPC, PUBSUB and WAMP
• Eg. Popular API is RESTful API (communication in cloud model)
• Django web framework is used to implement Communication API
WAMP: AutoBahn for IoT
• WAMP : Web Application Messaging Protocol
• Mainly used in cloud storage model for IoT & other messaging services
• WAMP is a routed protocol, with all components connecting to a WAMP
Router,
where the WAMP Router performs message routing between the component
• It is protocol for Web Socket (PUBSUB based protocol) : uses RPC
Messaging Pattern
• Some Important Key Terminologies
• Transport
• Session
• Clients (Publisher & Subscriber)
• Router
• Broker
• Dealer
• Application Code
AMAZON Web Services for IoT
What Is AWS IoT?
AWS IoT provides secure, bi-directional communication between
Internet-connected devices such as sensors, actuators, embedded
micro-controllers, or smart appliances and the AWS Cloud. This
enables you to collect telemetry data from multiple devices, and
store and analyze the data. You can also create applications that
enable your users to control these devices from their phones or
tablets.
• AWS IoT Components
AWS IoT consists of the following components:
Device gateway
Enables devices to securely and efficiently communicate with
AWS IoT.
Message broker
Provides a secure mechanism for devices and AWS IoT
applications to publish and receive messages from each other. You
can use either the MQTT protocol directly or MQTT over WebSocket to
publish and subscribe. You can use the HTTP REST interface to
publish.
Continue...
• Rules engine
Provides message processing and
integration with other AWS services.
You can use an SQL-based language to
select data from message payloads,
and then process and send the data to
other services, such as Amazon S3,
Amazon DynamoDB, and AWS Lambda.
You can also use the message broker
to republish messages to other
subscribers.
Continue....
• Group registry
Groups allow you to manage several devices at once by
categorizing them into groups. Groups can also contain groups
—you can build a hierarchy of groups. Any action you perform
on a parent group will apply to its child groups, and to all the
devices in it and in all of its child groups as well. Permissions
given to a group will apply to all devices in the group and in all
of its child groups.
• Device shadow
A JSON document used to store and retrieve current state
information for a device.
• Device Shadow service
Provides persistent representations of your devices in the
AWS Cloud. You can publish updated state information to a
device's shadow, and your device can synchronize its state
when it connects. Your devices can also publish their current
state to a shadow for use by applications or other devices.
Continue
....
• Device Provisioning service
Allows you to provision devices using a template that describes the
resources required for your device: a thing, a certificate, and one or more
policies. A thing is an entry in the registry that contains attributes that
describe a device. Devices use certificates to authenticate with AWS IoT.
Policies determine which operations a device can perform in AWS IoT.
• Custom Authentication service
You can define custom authorizers that allow you to manage your own
authentication and authorization strategy using a custom authentication
service and a Lambda function. Custom authorizers allow AWS IoT to
authenticate your devices and authorize operations using bearer token
authentication and authorization strategies.
Custom authorizers can implement various authentication strategies (for
example, JSON Web Token verification, OAuth provider callout, and so on) and
must return policy documents that are used by the device gateway to
authorize MQTT operations.
• Jobs service
Allows you to define a set of remote operations that are sent to and
executed on one or more devices connected to AWS IoT. For example, you can
define a job that instructs a set of devices to download and install application
or firmware updates, reboot, rotate certificates, or perform remote
troubleshooting operations. To create a job, you specify a description of the
remote operations to be performed and a list of targets that should perform
them. The targets can be individual devices, groups or both.
Continue....
• Accessing AWS IoT
AWS IoT provides the following interfaces to create and interact with your
devices:
• AWS Command Line Interface (AWS CLI)—Run commands for AWS IoT
on Windows, macOS, and Linux. These commands allow you to create and
manage things, certificates, rules, and policies. To get started, see the AWS
Command Line Interface User Guide. For more information about the
commands for AWS IoT, see iot in the AWS CLI Command Reference.
• AWS IoT API—Build your IoT applications using HTTP or HTTPS requests.
These API actions allow you to programmatically create and manage things,
certificates, rules, and policies. For more information about the API actions
for AWS IoT, see Actions in the AWS IoT API Reference.
• AWS SDKs—Build your IoT applications using language-specific APIs. These
SDKs wrap the HTTP/HTTPS API and allow you to program in any of the
supported languages. For more information, see AWS SDKs and Tools.
• AWS IoT Device SDKs—Build applications that run on devices that send
messages to and receive messages from AWS IoT.

Mais conteúdo relacionado

Semelhante a UNIT V.pdf

Deployment of private cloud infrastructure copy
Deployment of private cloud infrastructure   copyDeployment of private cloud infrastructure   copy
Deployment of private cloud infrastructure copy
prabhat kumar
 

Semelhante a UNIT V.pdf (20)

Aws 101
Aws 101Aws 101
Aws 101
 
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
AWS re:Invent 2016: Understanding IoT Data: How to Leverage Amazon Kinesis in...
 
Introduction to AWS & Cloud Services
Introduction to AWS & Cloud ServicesIntroduction to AWS & Cloud Services
Introduction to AWS & Cloud Services
 
cc.pptx
cc.pptxcc.pptx
cc.pptx
 
2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS2016-06 - Design your api management strategy - AWS - Microservices on AWS
2016-06 - Design your api management strategy - AWS - Microservices on AWS
 
Cloud description
Cloud descriptionCloud description
Cloud description
 
Accelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform ServicesAccelerate your Cloud Success with Platform Services
Accelerate your Cloud Success with Platform Services
 
Website on aws
Website on awsWebsite on aws
Website on aws
 
AWS IoT: colmare il divario tra il mondo fisico e quello digitale
AWS IoT: colmare il divario tra il mondo fisico e quello digitaleAWS IoT: colmare il divario tra il mondo fisico e quello digitale
AWS IoT: colmare il divario tra il mondo fisico e quello digitale
 
Bluesoft @ AWS re:Invent 2017 + AWS 101
Bluesoft @ AWS re:Invent 2017 + AWS 101Bluesoft @ AWS re:Invent 2017 + AWS 101
Bluesoft @ AWS re:Invent 2017 + AWS 101
 
Deployment of private cloud infrastructure copy
Deployment of private cloud infrastructure   copyDeployment of private cloud infrastructure   copy
Deployment of private cloud infrastructure copy
 
Pragmatic Approach to Workload Migrations - London Summit Enteprise Track RePlay
Pragmatic Approach to Workload Migrations - London Summit Enteprise Track RePlayPragmatic Approach to Workload Migrations - London Summit Enteprise Track RePlay
Pragmatic Approach to Workload Migrations - London Summit Enteprise Track RePlay
 
AWS re:Invent re:Cap 2015
AWS re:Invent re:Cap 2015AWS re:Invent re:Cap 2015
AWS re:Invent re:Cap 2015
 
Come costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWSCome costruire apllicazioni "12-factor microservices" in AWS
Come costruire apllicazioni "12-factor microservices" in AWS
 
Deployment of private cloud infrastructure.
Deployment of private cloud infrastructure.Deployment of private cloud infrastructure.
Deployment of private cloud infrastructure.
 
Cloudformation & VPC, EC2, RDS
Cloudformation & VPC, EC2, RDSCloudformation & VPC, EC2, RDS
Cloudformation & VPC, EC2, RDS
 
What is Cloud- AWS Course in Mumbai
What is Cloud- AWS Course in MumbaiWhat is Cloud- AWS Course in Mumbai
What is Cloud- AWS Course in Mumbai
 
AWS Lambda and Serverless Cloud
AWS Lambda and Serverless CloudAWS Lambda and Serverless Cloud
AWS Lambda and Serverless Cloud
 
AWS IoT vs Azure IoT
AWS IoT vs Azure IoTAWS IoT vs Azure IoT
AWS IoT vs Azure IoT
 
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 ...
 

Mais de Nikhil Patankar (6)

2.pdf
2.pdf2.pdf
2.pdf
 
SMAC.pdf
SMAC.pdfSMAC.pdf
SMAC.pdf
 
SMAC.pptx
SMAC.pptxSMAC.pptx
SMAC.pptx
 
Radio Frequency Identification Technology In IOT
Radio Frequency Identification Technology In IOTRadio Frequency Identification Technology In IOT
Radio Frequency Identification Technology In IOT
 
Fundamental IOT Key Mechanism and Resources
Fundamental IOT Key Mechanism and ResourcesFundamental IOT Key Mechanism and Resources
Fundamental IOT Key Mechanism and Resources
 
Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of Things
 

Último

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Último (20)

(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 

UNIT V.pdf

  • 1. Sanjivani Rural Education Society’s Sanjivani College of Engineering, Kopargaon Department of Information Technology Subject :- Internet of Things Topic:- IoT Physical Servers, Cloud Offerings & IoT Case Studies
  • 2. Content • Introduction to Cloud Storage Models • Communication API • WAMP: AutoBahn for IoT • Xively Cloud for IoT • Python Web Application Framework: Djanjo • Amazon Web Services for IoT • SkyNet IoT Messaging Platform.
  • 3. Introduction to Cloud Storage Models • Popular Models are :- • Amazon Web Service (AWS) • Xively Cloud (PAAS)
  • 4. AMAZON Web Services for IoT EC2 AutoScaling S3 DynamoDB 1. Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. Amazon EC2's simple web service interface allows you to obtain and configure capacity with minimal friction. 2. AWS Auto Scaling monitors your applications and automatically adjusts capacity to maintain steady, predictable performance at the lowest possible cost. Using AWS Auto Scaling, it's easy to setup application scaling for multiple resources across multiple services in minutes. 3. Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizable capacity for an industry-standard relational database and manages common database administration tasks. 4. Amazon Simple Storage Service (Amazon S3) is storage for the internet. You can use Amazon S3 to store and retrieve any amount of data at any time, from anywhere on the web. You can accomplish these tasks using the AWS Management Console, which is a simple and intuitive web interface. 5. Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multi-region, multi-active, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications.
  • 5. Amazon EC2 • An IaaS provided by Amazon • EC2 delivers scalable, pay-as-you-go compute capacity in the cloud • Web service that provides computing capacity in the form of virtual machine • EC2 can be used for several purposes for IOT systems
  • 6. Amazon AutoScaling • Allows automatically scaling EC2 capacity up or down according to user condition • Users can increase number of EC2 instances • AutoScaling can be used for auto scaling IOT applications and IOT platforms deployed as Amazon EC2
  • 7. Amazon S3 • Online cloud based data storage infrastructure for storing and retrieving large amount of data • Offers reliable, scalable, fast, fully redundant and affordable storage infrastructure • Serve as raw datastore for IOT systems for storing raw data such as sensor data, log data, image, audio, video, etc.
  • 8. Amazon RDS • Web service that allows to create instances of MySQL, Oracle or MS SQL Server in cloud • Developers can easily set up, operate and scale a relational database in cloud • Serve as a scalable datastore for IOT systems • With RDS, IOT system developers can store any amount of data in scalable relational databases
  • 9. Amazon DynamoDB • Fully-managed, scalable, high performance No-SQL database service • Serve as scalable datastore for IOT systems • With DynamoDB, IOT system developers can store any amount of data and serve any level of requests for the data
  • 10. Amazon DynamoDB • Fully-managed, scalable, high performance No-SQL database service • Serve as scalable datastore for IOT systems • With DynamoDB, IOT system developers can store any amount of data and serve any level of requests for the data
  • 11. SkyNet IoT Messaging Platform • Open source instant messaging platform • SkyNet API supports both HTTP REST and real- time WebSockets • SkyNet allows you to register devices on the network • A device can be anything including sensors, smart home devices, cloud resources, drones • Each device has an UUID & secret token
  • 12. Xively Cloud Services™ Commercial Platform as a Service for the Internet of Things l Supports hundreds of platforms, millions of gateways and billions of smart devices l Comprehensive and secure infrastructure services l Online development tools and dev center l Best of breed approach Built on LogMeIn’s Gravity platform connecting 255+ m devices for 55+ m users
  • 13. Xively …Contd… • Xively is an IoT Cloud Platform • It is an enterprise platform for building, managing, and deriving business value from connected products. • It also provides the cloud base API with an SDK • It supports platforms and technologies like Android, Arduino, C etc. • Xively is a PaaS (Platform as a Service) which exposes its service via RESTful API • It supports messaging service based on MQTT
  • 14. Case Study: “Smart Plant System“
  • 15. Details • This IoT project uses Arduino Uno and a set of sensors: • DHT11: Temperature and humidity sensor • TEMT6000: Light intensity sensor • YL-38 + YL-69: Soil moisture sensor • We want to send all values read from these sensors to Xively and create a dashboard so we can monitor these parameters.
  • 17. Communication API • Cloud Models are relied on Communication API • Communication API facilitate data transfer, control information transfer from application to cloud, one service to another • It also exist in the form of Communication Protocols • It supports RPC, PUBSUB and WAMP • Eg. Popular API is RESTful API (communication in cloud model) • Django web framework is used to implement Communication API
  • 18. WAMP: AutoBahn for IoT • WAMP : Web Application Messaging Protocol • Mainly used in cloud storage model for IoT & other messaging services • WAMP is a routed protocol, with all components connecting to a WAMP Router, where the WAMP Router performs message routing between the component • It is protocol for Web Socket (PUBSUB based protocol) : uses RPC Messaging Pattern • Some Important Key Terminologies • Transport • Session • Clients (Publisher & Subscriber) • Router • Broker • Dealer • Application Code
  • 19.
  • 20.
  • 21. AMAZON Web Services for IoT What Is AWS IoT? AWS IoT provides secure, bi-directional communication between Internet-connected devices such as sensors, actuators, embedded micro-controllers, or smart appliances and the AWS Cloud. This enables you to collect telemetry data from multiple devices, and store and analyze the data. You can also create applications that enable your users to control these devices from their phones or tablets. • AWS IoT Components AWS IoT consists of the following components: Device gateway Enables devices to securely and efficiently communicate with AWS IoT. Message broker Provides a secure mechanism for devices and AWS IoT applications to publish and receive messages from each other. You can use either the MQTT protocol directly or MQTT over WebSocket to publish and subscribe. You can use the HTTP REST interface to publish.
  • 22. Continue... • Rules engine Provides message processing and integration with other AWS services. You can use an SQL-based language to select data from message payloads, and then process and send the data to other services, such as Amazon S3, Amazon DynamoDB, and AWS Lambda. You can also use the message broker to republish messages to other subscribers.
  • 23. Continue.... • Group registry Groups allow you to manage several devices at once by categorizing them into groups. Groups can also contain groups —you can build a hierarchy of groups. Any action you perform on a parent group will apply to its child groups, and to all the devices in it and in all of its child groups as well. Permissions given to a group will apply to all devices in the group and in all of its child groups. • Device shadow A JSON document used to store and retrieve current state information for a device. • Device Shadow service Provides persistent representations of your devices in the AWS Cloud. You can publish updated state information to a device's shadow, and your device can synchronize its state when it connects. Your devices can also publish their current state to a shadow for use by applications or other devices.
  • 24. Continue .... • Device Provisioning service Allows you to provision devices using a template that describes the resources required for your device: a thing, a certificate, and one or more policies. A thing is an entry in the registry that contains attributes that describe a device. Devices use certificates to authenticate with AWS IoT. Policies determine which operations a device can perform in AWS IoT. • Custom Authentication service You can define custom authorizers that allow you to manage your own authentication and authorization strategy using a custom authentication service and a Lambda function. Custom authorizers allow AWS IoT to authenticate your devices and authorize operations using bearer token authentication and authorization strategies. Custom authorizers can implement various authentication strategies (for example, JSON Web Token verification, OAuth provider callout, and so on) and must return policy documents that are used by the device gateway to authorize MQTT operations. • Jobs service Allows you to define a set of remote operations that are sent to and executed on one or more devices connected to AWS IoT. For example, you can define a job that instructs a set of devices to download and install application or firmware updates, reboot, rotate certificates, or perform remote troubleshooting operations. To create a job, you specify a description of the remote operations to be performed and a list of targets that should perform them. The targets can be individual devices, groups or both.
  • 25. Continue.... • Accessing AWS IoT AWS IoT provides the following interfaces to create and interact with your devices: • AWS Command Line Interface (AWS CLI)—Run commands for AWS IoT on Windows, macOS, and Linux. These commands allow you to create and manage things, certificates, rules, and policies. To get started, see the AWS Command Line Interface User Guide. For more information about the commands for AWS IoT, see iot in the AWS CLI Command Reference. • AWS IoT API—Build your IoT applications using HTTP or HTTPS requests. These API actions allow you to programmatically create and manage things, certificates, rules, and policies. For more information about the API actions for AWS IoT, see Actions in the AWS IoT API Reference. • AWS SDKs—Build your IoT applications using language-specific APIs. These SDKs wrap the HTTP/HTTPS API and allow you to program in any of the supported languages. For more information, see AWS SDKs and Tools. • AWS IoT Device SDKs—Build applications that run on devices that send messages to and receive messages from AWS IoT.