Cloud Computing
Cloud Computing
Bibhas Ghoshal
IIIT Allahabad
Traditional Computing
Traditional Computing Components:
Data Storage Core Logic User Interface
1. Data Base 1. Application Specific 1. Command Line
2. File Based 2. Algorithm Implementation 2. GUI
Core Logic
Distributed Computing : 1. Application Specific
2. Algorithm Implementation
Data Storage
User Interface
1. Data Base
1. Command Line
2. File Based
2. GUI
2
Distributed Computing
3
Goals and Challenges for Distributed Systems
Goals :
Making Resources Available
Distribution Transparency
Openness
Scalability
Security
System Design requirements
Challenges :
Naming and Access control, Security, Performance, Mutual exclusion
of users, replication and migration, failure modes, concurrency,
heterogeneity
4
Client Server Architectures in Distributed
Systems
5
Trends in Distributed Computing
6
Trends in Distributed Computing
7
Trends in Distributed Computing
8
Trends in Distributed Computing
9
Trends in Distributed Computing
10
Virtualization
11
Virtualization in Cloud
12
Cloud Computing Framework
13
Cloud Computing : Characteristics
14
Cloud Computing : Service Models
15
Software-as-a Service (SaaS)
●
Facility to execute service provider’s application at users end
●
Services can be accessed via different types of client devices such as web browser or app
●
End users do not have control of cloud platform
●
Example : Google Apps
16
Platform-as-a-Service(PaaS)
●
Facilitates consumer created or acquired applications onto cloud infrastructure
●
Support for deployment of such applications
●
Users do not control cloud infrastructure
●
Users can control deployed apps using given configuration
●
Ex : Google App Engine , Windows Azure
17
Infrastructure-as-a Service(Iaas)
●
Access of computing resources such as Operating System, Storage and Network
●
Users cab deploy and execute any software
●
In some cases, users can control selected network components
●
Ex : Amazon EC2, GoGrid
18
Cloud Computing Services
19
Cloud Computing : Deployment Models
20
Cloud Computing for IoT
Cloud is an IoT enabler :
Huge amount of IoT Data needs storage, retrieval and management ( sustained services)
Fast Analytics for Prediction and Critical Decision making
Benefits of Cloud in IoT :
Scalability ; Data Mobility; Time to Market; Security; Cost effectiveness
22
IoT Management
●
IoT-A Project [1] : physical entities represented as virtual entities access point to
the real world by IoT apps through well defined and standardized interfaces
●
European FP7 iCore project [2] : virtual object as alter ego of real world object,
dynamically created and destroyed. VOs interact giving them some Cognitive
capabilities
[1] www.iot-a.eu
[2] Giaffreda : iCore: A Cognitive Management Framework for the Internet of Things, In: Galis A., Gavras A. (eds) The Future Internet. FIA 2013.
Lecture Notes in Computer Science, vol 7858.
23
Cloud Based IoT Platforms - Characteristics
●
Objects use HTTP protocol to send and receive data; allows interoperability among platforms
●
Objects do no directly communicate with each other. An intermediate server is used
●
Every object has a data point associated with it on the server side to keep track of the data sent
●
The methods POST and GET are are used to send and request data
●
Tag is assigned to every data point
●
Data point discovery is performed through tags through an internal search engine
●
System identifies every object with its API key
RESTful Architecture:
Lightweight, scalable and then fits perfectly with the principles and the current protocols of the Internet.
Resources as representation of the objects, that are uniquely identified through Uniform Resource
Identifiers (URIs).
Object information can be obtained, deleted or posted through the HTTP protocol using a given method
(GET, DELETE, POST, PUT).
The payload of the message can be incapsulated in a negotiated format such as XML or JSON.
24
IoT Platform Implementation - 1
Cosm ( formerly Pachube) [6] : platform to store and redistribute real-time data, freely usable, which manages millions
of devices per day. Following the nuclear accidents in Japan in 2011, Cosm was used by volunteers to interlink Geiger
counters across the country to monitor the fallout.
Xively (formerly Cosm) [7] : commercial IoT platform to transmit, store and access to data generated by objects.
It exploits PaaS partially ( data stored in provider DB only). Now owned by Google.
[3] http://www.cosm.com
[7] http://www.xively.com
25
IoT Platform Implementation - 2
Nimbits [8] :
●
open source web application built on Google App engine
●
Provides email alert, math calculations
●
Storing and processing data
●
User can define data points and use them to share several kinds of
data
●
Integrated with Twitter, Facebook
●
Allows to manage data points, share sensor diagrams
[8] http://nimbits.com
26
IoT Platform Implementation - 3
MATLAB ThinkSpeak
https://in.mathworks.com/products/thingspeak.html
27