Professional Documents
Culture Documents
• LearningOutcomes
After reading this Module, the student will be able to:
o Understand the concept of cloud computing and itsfeatures.
o Understand virtualization, different cloud models, and service-level agreements(SLAs)
o Identify the salient features of various cloud computing models.
o Understand the concept of sensor-clouds.
o Relate to the applicability of IoT in realscenarios.
o List the salient features of agriculturalIoT.
o Understand the requirements, challenges, and advantages of implementing IoT inagriculture.
o Relate to the appropriate use of various IoT technologies throughreal-life use.
o Cases on IoT-based leaf area index assessment and an IoT-based irrigationsystem
1. Introduction: Sensor nodes are the key components of IoT and these
nodesaregenerates an enormous amount of data during practice. Handling these
massive heterogeneous data by resource constrained IoT devices is an extremely
difficult task. Cloud computing is the better solution for these problems. Hence Cloud
computing is an essential building block of the IoTarchitecture.
• Definition of Cloud Computing: Cloud computing is the delivery of computing
services including servers, storage, databases, networking, software, analytics, and
intelligence over the Internet.
• Difference between Network computing and Cloudcomputing.
2. Virtualization
o The technique of sharing a single resource among multiple end users is knownas
“Virtualization”.It is the key concept of cloud computing.
o In the virtualization process, a physical resource is logically distributed among
multiple users. However, a user realizes that the resource is unlimited and is
dedicatedly provided tohim/her.
2.1 Advantages of virtualization: There are TWO main entities in a cloud computing
architecture: 1) End users and 2) Cloud Service providers CSPs). Both are benefited in
several aspects through the process of virtualization. The
(a)Variety (b)Availability
(c)Portability (d)Elasticity
a) Variety:
— It enables various types of applications based on therequirements.
It enables end users to access applications, hardware, or software virtually from
a variety of devices and networks, regardless of their operating system(OS).
[b) Availability:
— Virtualization creates a logical separation of the resources of multiple entities
without any intervention from endusers.
— It makes available a considerable amount of resources as per userrequirements.
— The end users feel that there are unlimited resources present dedicatedly for him/her.
(c) Portability:
— Ability to transfer applications and data between cloudcomputing environments.
It enables migration between public and private clouds.
— Portability signifies the availability of cloud computing services from anywhere in
the world, at any instant intime.
— It allows individuals to obtain and reuse their data for theirpurposes across
differentservices.
— It allows t h e m to move, copyor transfer personal data easily from one
environment to another in a safe and secure without affecting itsusability.
This has been made possible by such as Google Drive.
[d) Elasticity:
— Elasticity refers to automatically increasing or decreasing cloudresources.
— It automatically adapts to match resources with demand as closely as possible, in real-
time.
An end user can scale up or scale-down resources like processing, memory, and
storage resources to meet changingdemands.
(1) Servicemodel:
i. Software-as-a-Service{SaaS)
— This service provides access to different software applications to an end
userthrough Internetconnectivity.
— For accessing the service, a user does not need to purchase and install the software
applications on his/her local desktop. The software is located in a cloud server,
from where the services are provided to multiple endusers.
— SaaS offers scalability, by which users have the provision to use multiple
software applications as per theirrequirements.
— User does not need to worry about the update of the software applications.
This software is accessible from anylocation.
Example of SaaS is Microsoft Office 365, Netflix, salesforce, G-suite, etc.
2. Deployment Model:
a) Private Cloud: This type of cloud is owned explicitly by a n end -user
organization. The internal resources of the organization maintain theprivate
cloud.
b) Community Cloud: This cloud forms with the collaboration of a set of
organizations for a specific community. For a community cloud, each
organization has some sharedinterests.
c)Public Cloud: The public cloud is owned by a third-party organization, which
provides services to the common public. The service of this cloud is available for
any user, on a payment basis.
d) Hybrid Cloud: This type of cloud comprises two or more clouds (private,
public, or community).
(v) Penalty: The penalty for not meeting the promises mentioned in theSLA.
• Features ofcloudSim:***
o lt provides various cloud computing da tacenters along with different data
centernetworktopologies inasimulationenvironment.
o Virtualization of server hosts can be done in asimulation.
o A user can allocate virtual machines (VMs) dynamically.
o Itallowsusers todefinetheirpoliciesfortheallocationofhostresourcestoVMs.
o lt provides flexibility to add or remove simulation Componentsdynamically.
o A user ca nstop and resume the simulation at any instant intime.
(b) CloudAnalyst:
• Description:
— CloudAnalyst is based onCloudSim.
This simulator provides a graphical user interface (GUI) for simulating a cloud
environment. T
— It is used for simulating large-scale cloudapplications.
• Features:
o This simulator is easy to use due to the Presence of theGUI.
o It allows a user to add components and provides a flexible and high level of
configuration.
o A user can perform repeated experiments, considering different parameter
values.
o It can provide a graphical output, including a chart andtable.
(c). GreenCloud:
• Description:
It is developed as an extension of a packet-leve1 network simulator, NS 2.
— This simulator can monitor the energy consumption of different network
components such as servers andswitches.
• Features:
o GreenCloud is an open -source simulator with a user-friendlyGUI.
o lt provides the facility for monitoring the energy consumption of the network
and its various components.
o It supports the simulations of cloud networkcomponents.
o lt allows a user to manage and configure devices, dynamically, in simulation.
5.2An open-source cloud: For the real implementation of the cloud, there are various
open-source cloud plat forms available such as OpenStack, CloudStack and Eucalyptus.
• TheOpenStack
• Description:
— It is free software, which provides a cloud IaaS tousers.
A user can easily use this cloud with the help of a GUI -based web interface.
— It supports a vastly scalable cloud system, in which different pre-
configured software suites areavailable.
— The service components of Open Stackalongwiththeirfunctionsare depicted in
Table 5.1 below
o Features of OpenStack***
OpenStack allows a user to create and deploy virtual machines.
It provides the flexibility of setting u p a cloud management environ ment.
lt supports an easyhorizontal scaling: dynamic addition or removal of instances for
providing services to multiple numbers ofusers.
— This cloud platform allows users to access the source code and share their
code to thecommunity.
The main aim of sensor-cl oud infrastructure is to provide an opportunity for the
common mass to use Wireless Sensor Networks (WS Ns) on a payment basis.
Sensor-cloud architecture also follows the pay-per-use model.
I n the sensor, the cloud user application is served by a set of homogeneous or
heterogeneous sensor nodes. These sensor nodes are selected from a common
pool of sensor nodes, as per the requirement of userapplications.
Using the sensor-cloud infrastructure, a user receives data for an application
from multiple sensor nodes without owningthem.
Figures 6. 1 depicts the usage of sensor nodes using traditional WSN and sensor cloud
infrastructure. We know that virtualization is the backbone of cloud computing.
Similarly in the sensor cloud by using the same concept, the service providers of t he
sensor-cloud infrastructure may serve multiple users with the same sensors and earn
profit. Through the use of sensor-cloud, users can easily switch applications without any
manualintervention.
Figure 6.1: Traditional WSN versus sensor-cloud
6.2 Architecture of a sensor-cloud platform: The THREE main components of a
sensor-cloud architecture are (i) End-user (ii) Sensor Owner (iii) Sensor-Cloud Service
Provider (SCSP). The detailed architecture of a sensor cloud is depicted in Figure6.2
i) End user:
The end user is also known as a customer of the sensor-cloud services.
— An end user registers him/herself with the infrastructure through a Webportal.
— He/she chooses the template of the services that are available in the sensor-
cloud architecture to which he/she isregistered.
Through the Web portal, the end user receives the services, as shown in Fig 6.2
Based on the type and usage duration of service, the end user pays the charges
to the SCSP.
Figure 6.2 Architecture of a sensor-cloud platform:
(ii) SensorOwner:
— A particular sensor owner can own multiple homogeneous or heterogeneous
sensornodes.
— Based on the requirements of the users, these sensor nodes are virtualized and
assigned to serve multiple applications at the sametime.
— The sensor owner receives rent depending upon the duration and usage of his/her
sensornode(s).
(iii) Sensor-Cloud Service Provider (SCSP):
Sensor D
Sensor D
SensorA SensorC
(v) Analytics:
Analytics is the systematic computational analysis of data orstatistics.
— It is used for the discovery, interpretation, effective decision-making, and
communication of meaningful patterns indata.
— Analytics contribute to modern agriculture massively. Currently, with the help of
analytics, farmers can take different agricultural decisions, such as estimating the
required amount of fertilizer and water in an agricultural field.
— Estimating the type of crops that need to be cultivated during the upcoming
season.
Data analytics can also be used for estimating crop demand in the market.
(v •i) Wirelessconnectivity:
— Wireless connectivity enables the transmission of agricultural sensor data from
the field to thecloud/server.
— It also enables farmers to access various application services over handheld
devices, which rely on wireless connectivity for communicating with the
cloud/server.
(vii) Handhelddevices:
One of the fundamental components of e -agriculture is a handheld device such as
a smartphone.
— Farmers can access different agricultural information, such as soil and crop
conditions of their fields and market tendency, over theirsmartphones.
— Additionally, farmers can also control different field equipment, such as pumps,
from their phones.
(vi) Drones:
Drones have become very attractive in different applications such as surveillance,
health care, product delivery, photography, and agriculture.
— Drone imaging is an alternative to satellite imaging in agriculture.
I n continuation to providing better resolution land mapping visuals, drones are
— used in agriculture for crop monitoring, pesticide spraying, and irrigation.
INTRODUCTION TO IOT- MODULE 4
handheld devices. It includes an analysis of crop production, market rates & demands.
(i) TelosBmotes: Telos B platform is used in the system. It is equipped with three
types of sensors: temperature, humidity, and light sensors. With the help of an
optical filter and diffuser accessory on the light sensors, the PAR is calculated to
estimate theLAI.
(ii) Raspberry Pi board: The system is based on the cluster concept. A Raspberry Pi is
used as a cluster head, which connects with four ground sensor motes. The
Raspberry Pi is a tiny single board, which works as a computer and is used to
perform different operations in IoT. A Raspberry Pi with long-term evolution (LTE)
is used as a gateway in thissystem.
(iii) USB power supply: It is used to power up the sensor's motes. Additionally, the
USB is used for configuring the sensor board and accessing the failure as per
requirement.
• Communication: LAI may use wired or wireless links for communication. The
following wired and wireless technology is used for communication.
o WirelessPAN(802.15.4):This is used by TelosB motes for internal communication.
o Wireless LAN (802.11): It is used for connecting and communicating between the
cluster head and a gateway.
o The public land mobile network (PLMN): It is a backbone network and it is used to
establish connectivity between external IoT networks and the gateway.
o Message Queuing Telemetry Transport (MQTT) Protocol: It is a very lightweight,
publish/subscribe messaging protocol, which is widely used for different IoT
applications. It carries data between the gateway to the server or cloud. MQTT
broker runs in the Internet server of the system. This broker is responsible for
receiving the data from theWSN.
— The clusters heads use GPRS to transmit data to the remote server.
— A predefined threshold value of water levels and soil moisture is stored
in memory. When the sensed value of the deployed sensor node drops
below this predefined threshold value, a pump activates to start the
irrigation process.
b) Processing and Service layer:
This layer acts as an intermediate layer between the sensing and
actuating layer and the application layer.
The sensed and processed data is stored in the server for future use.
These data are accessible at any time from any remote location by
authorizedusers.
— Depending on the sensed values from the deployed sensor nodes, the
pump actuates to irrigate the field.
c) Application layer:
- This layer interfaces the farmer with the smart irrigation
management system.
-The farmer can access the status of the pump, whether it is in switch
on/off, and the value of different soil parameters from his/her
cellphone.
-This information is accessible with the help of the
integrated mobile technology facility of the farmers’ cellphones.
- Additionally, an LED array indicator and LCD system are installed in the
farmers house.
- The Farmer also can manually access field information with the help of
Web based application.