- Open Access
- Total Downloads : 665
- Authors : Jay Vala, Kalpesh Patel
- Paper ID : IJERTV1IS3022
- Volume & Issue : Volume 01, Issue 03 (May 2012)
- Published (First Online): 30-05-2012
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Service Provider Selection of IAAS using Naive Bayes Approach
JAY VALA KALPESH PATEL
Computer Engineering Department Assistant Professor
L. D. College of Engineering Computer Engineering Department Ahmedabad Gujarat, India L. D. College of Engineering
Ahmedabad Gujarat, India
`
Abstract
Cloud is a new trend of computing. This type of computing resources are pay-as-you-go plans ,As more and more consumer delegate their task to cloud provider, service level agreement are necessary. A relationship between cloud provider and cloud consumer must be described with SLA. Clouds have dynamic nature of providing services so comparison of SLA template should be continuous checking of quality of services are very important to enforce SLAs.SLA template contain many parameter like(Availability
,Response time etc.).This work addresses to find probability of SLA parameter to find suitable Service Provider for Service Consume6r requirement.
Index Terms: Cloud Computing, SLA, Service provider Capability Model, Service Consumer Requirement Model.
-
Introduction
Cloud computing is a new trend of computing. Here readily available resources like computing are exposed as services. This type of computing resources are pay-as-you-go plans and because of that it has become attractive to cost conscious customer. While cloud computing is a metaphor for the internet. Cloud computing is complex infrastructure of hardware, software, processing, and storage that is available as a service. Cloud Computing resides on personal computer and local servers is comprised essentially of application running remotely. A relationship between cloud provider and cloud consumer must be described with Service Level Agreement. Service level Agreement is a part of the contract between service consumer and service provider, and formally defines the levels of service. It is vital to define those services, how they are delivered and how they are used.
An SLA contains several parameters like a set of properties and resources the service provider will
deliver, a specic denition of each resource, the responsibilities of the provider and the consumer, a resource quantity, an auditing mechanism to monitor the service etc [1].
Managing and monitoring the quality levels of services rely heavily on automated tools, at present the actual Cloud SLAs are typically plain-text document. Example of a document with legal obligations is the Amazon S3 Service level Agreement [2], Amazon EC2 Service Level Agreement [3]. Finding correspondences between multiple elements is required in many application scenarios and is often referred to as matching. This work aims to dene the process of identifying compatible service provider for a given requirements by finding probability SLA parameters.
SLA parameters of the cloud are dened in a service provider capability model and applications requirements are dened in a service consumer application requirement model. Capability model and application requirement model are dened in XML format and it is a W3C Recommendation. To identify the compatible service provider Naive Bayes algorithm is used [5].
-
Related Work
At present the actual Cloud SLAs are typically plain-text document. Example of a document with legal obligations is the Amazon S3 Service level Agreement [2], Amazon EC2 Service Level Agreement [3]. Consumer needs to manually match application requirements with each and every service provider to identify compatible service provider. Proposed algorithm identies the compatible service provider. It gives suggestion to a consumer in terms of name of service provider with highest probability among existing service provider.
-
Proposed Approached
The rst step is to dene cloud model (XML le) that contains cloud resources, properties, resource quantity etc. and requirement model (XML File) that contains applications required resources and its quantity. Lets consider a service consumer model as a Consumer Model and service provider model as a Provider Model.
Second step is to collect cloud provider model and make a data set for prediction of service provider based on service consumer requirement. Consumer Model and Provider Model uses parameter of IAAS which is defined [4].
Third step is to apply Naive Bayes classification algorithm. By using mention algorithm we can find out probability of each and every service provider based on service consumer requirement.
At last step we suggest best suitable service provider among all service provider to service consumer based on highest probability.
-
Algorithm
In this section algorithms are described.
4.1 SLA Parameter Processing
SLA Parameter Processing is the procedure that takes requirement model and capability model as a input and gives a suggestion in terms of result.
-
SLA Parameter Processing
INPUT: XML File, Requirement Model, Capability Model
OUTPUT: Result
1: Load XML File
-
Load Requirement Model,
-
For all capability Model do
-
Load capability Model
-
Call NaiveBayes
-
Add to Result
-
End For
-
-
Naive Bayes Algorithm
Naive Bayes Algorithm does process on Requirement Model and at last find probability of each Requirement based on Capability Model.
4.2 NaiveBayes Algorithm
INPUT: Requirement Model, Capability Model, D be a training set of tuple
OUTPUT: Result List Procedure Naive Bayes (D)
-
X represent a vector attribute, C represent the classes.
-
if Class Prior probabilities are not known then
-
Classes are equally likely that is P(C1)=P(C2)=P(C3)=……=P(Cm)
-
else
-
Find P(Ci)= Ci , D / D where Ci , D is number of Training tuple of Class Ci in D
-
end if
-
Find Class Conditional Independence P(XCi) = P(XkCi)
-
Find P(CiX)= (P(XCi)*P(Ci))/P(X)
-
if P(CiX) > P(CjX) for 1<=j<=m, j!=i then
-
Naive Bayesian classifier predicts that tuple x belongs to class Ci
-
end if
-
if P(XCi)P(Ci) > P(XCj)P(Cj) for 1<=j<=m
,j!=i then
-
The classifier predicts that the class lable of tuple X is in the class Ci.
-
end if
-
Experiments and Results
-
Experimental Setup
Proposed Algorithm implemented in .Net. For analysis 10 capabilities Model and 6 requirements Model with SLA parameter listed below were considered: Storage (HD), Boot Time, Memory Size (RAM), and Scale up (VM), Scale down (VM), Availability, Response Time, CPU Capacity, Log, Latency per User, Turnaround Time, Tolerance limit, Uptime Guarantee.
Table1 Instance count of SLA Parameter
Table2 Instance count of Application SLA Parameter
.
Table 1 shows the instance count of SLA parameter that is declared in capability Model. Table2 shows the instance count of SLA parameter that is declared in Requirement Model.
-
Results
SLA Parameter matching with Naive Bayes Classifier gives probabilistic solution. For all requirements Model of service consumer first find probability for each capability of service provider. Among all, which service provider have highest probability will be the suggested service provider. Figure 1 shows results of suggested service provider based on requirement of service consumer. Its value range is between 0 and1.
Figure 1: Result of Requirement of service Consumer
-
-
Conclusion
A simple algorithm is proposed here which is based on probabilistic and useful for finding probability for SLA parameter to identify compatible service provider. It gives suggestion to consumer in terms of highest probability among all service providers. This algorithm can be used as an independent tool or it can also be used as a plug in to any middleware.
-
References
-
Mohammed Alhamad, Tharam Dillon, Elizabeth Chang, Conceptual SLA Framework for Cloud Computing
-
Amazon simple storage service (s3) service level agreement. Amazon.[Online]. Available: http://aws.amazon.com/s3-sla/
-
Amazon elastic compute cloud (ec2) service level agreement.amazon.[Online].Available: http://aws.amazon.com/ec2-sla/
-
Intangible SLA skeleton for cloud computing, Anirrudh Dodiya, Jay Vala, Kalpesh Patel.
-
Service Level Agreement Parameter matching in Cloud Computing, Tejas Chauhan, Sanjay Chaudhary, Vikas Kumar and Minal Bhise.