Resource-Aware Applications for the Cloud



Similar documents
Introduction to Track on Engineering Virtualized Services

A Framework to Improve Communication and Reliability Between Cloud Consumer and Provider in the Cloud

Integrating Aspects of Software Deployment in High-Level Executable Models

Formal Modeling of Resource Management for Cloud Architectures: An Industrial Case Study

Cloud Template, a Big Data Solution

FEDERATED CLOUD: A DEVELOPMENT IN CLOUD COMPUTING AND A SOLUTION TO EDUCATIONAL NEEDS

AN ANALYSIS ON CLOUD PARADIGM IN ONLINE BANKING Shreya Paul 1, Atma Prakash Singh 2 and Madhulika Sharma 3

An Analysis of Data Security Threats and Solutions in Cloud Computing Environment

DATA PORTABILITY AMONG PROVIDERS OF PLATFORM AS A SERVICE. Darko ANDROCEC

(1) Schaefer, M. Wille (eds.): Proceedings of the 10 th Workshop on Automotive Software Engineering. Lecture Notes in Informatics, 2012.

Optimal Service Pricing for a Cloud Cache

A Secure Model for Cloud Computing Based Storage and Retrieval

PERFORMANCE MEASUREMENT OF CLOUD COMPUTING SERVICES

Manjra Cloud Computing: Opportunities and Challenges for HPC Applications

Revealing the MAPE Loop for the Autonomic Management of Cloud Infrastructures

Proposed Pricing Model for Cloud Computing

Safe Locking for Multi-threaded Java

Profit Maximization Of SAAS By Reusing The Available VM Space In Cloud Computing

THE IMPACT OF CLOUD COMPUTING ON ENTERPRISE ARCHITECTURE. Johan Versendaal

Saving Mobile Battery Over Cloud Using Image Processing

User Experience in the Cloud: Towards a Research Agenda

Introduction to Cloud Computing. Mr. SymBioMath Summer School Malaga Paul Heinzlreiter

Cloud Computing : Concepts, Types and Research Methodology

A Study on the Cloud Computing Architecture, Service Models, Applications and Challenging Issues

Keywords: Cloudsim, MIPS, Gridlet, Virtual machine, Data center, Simulation, SaaS, PaaS, IaaS, VM. Introduction

Formal Modeling and Analysis of Resource Management for Cloud Architectures

A Cloud-Based Retail Management System

Running head: CLOUD CULTURE 1. The Business Culture of Cloud Computing. Jesse A Score. Globe University

Intuitionistic fuzzy load balancing in cloud computing

Cloud Service Reservation using PTN mechanism in Ontology enhanced Agent-based System Remya Gopinadh #1, K. Saravanan *2

An Overview on Important Aspects of Cloud Computing

How To Understand The Individual Competences Of An It Manager

Performance Evaluation of Round Robin Algorithm in Cloud Environment

Fig. 1 WfMC Workflow reference Model

Efficient Cloud Computing Scheduling: Comparing Classic Algorithms with Generic Algorithm

Trust as a Service: A Framework for Trust Management in Cloud Environments

The Availability of Commercial Storage Clouds

Dynamic Resource Pricing on Federated Clouds

Dynamic Resource Allocation to Maximize the Profits in Cloud Environment

Power Aware Live Migration for Data Centers in Cloud using Dynamic Threshold

A Load Balancing Model Based on Cloud Partitioning for the Public Cloud

Performance and Cost Evaluation of Adaptive Architecture with dual Layer Encryption

Mobile Cloud Computing: Critical Analysis of Application Deployment in Virtual Machines

Formal verification of service level agreements through distributed monitoring

Deadline Based Task Scheduling in Cloud with Effective Provisioning Cost using LBMMC Algorithm

Performance Evaluation of a Privacy-Enhancing Framework for Personalized Websites

Augmented Reality Application for Live Transform over Cloud

South East of Process Main Building / 1F. North East of Process Main Building / 1F. At 14:05 April 16, Sample not collected

Secured Storage of Outsourced Data in Cloud Computing

ISSN: (Online) Volume 2, Issue 5, May 2014 International Journal of Advance Research in Computer Science and Management Studies

Cloud Computing-based IT Solutions For Organizations with Multiregional Branch Offices

AN IMPLEMENTATION OF E- LEARNING SYSTEM IN PRIVATE CLOUD

On Autonomic Platform-as-a-Service: Characterisation and Conceptual Model

Run-Time Assertion Checking and Monitoring Java Programs

Optimal Multi Server Using Time Based Cost Calculation in Cloud Computing

Authentication Mechanism for Private Cloud of Enterprise. Abstract

COST EFFECTIVE PRIVACY PRESERVED INTERMEDIATE DATASETS FOR CLOUD DATA SERVICES

Methods Migration from On-premise to Cloud

Cloud Computing ABSTRACT PEER-REVIEWED. Simon Krogh Copenhagen Business School. A Social Relations Perspective

Minimal Cost Data Sets Storage in the Cloud

A PERFORMANCE ANALYSIS of HADOOP CLUSTERS in OPENSTACK CLOUD and in REAL SYSTEM

Managed Control of Composite Cloud Systems

C-Meter: A Framework for Performance Analysis of Computing Clouds

A Trusted Secured Architecture for Storage-as-a- Service (STaaS) Cloud

Emergency Medical Data Management through an Enhanced Cloudbased Push Messaging Mechanism

Reduce cost and efficient access for cloud storage Using Intermediate Cloud Datasets

DESIGN OF AGENT BASED SYSTEM FOR MONITORING AND CONTROLLING SLA IN CLOUD ENVIRONMENT

CLOUD COMPUTING AND SECURITY: VULNERABILITY ANALYSIS AND PREVENTIVE SOLUTIONS

An Architecture for Trusted Clouds

SERVICE AND SECURITY MONITORING IN CLOUD

PRIVACY PRESERVATION ALGORITHM USING EFFECTIVE DATA LOOKUP ORGANIZATION FOR STORAGE CLOUDS

Semi-Trusted Authentication for Health Data in Cloud

Study on Service-Oriented Cloud Conferencing

A Review of Cloud Computing Security Issues

RANKING THE CLOUD SERVICES BASED ON QOS PARAMETERS

Cloud computing security using encryption technique

International Journal of Computer Sciences and Engineering. Review Paper Volume-4, Issue-3 E-ISSN:

An Effective Approach To Find a Best Cloud Service Provider Using Ranked Voting Method

Extracting Information from Scientific Papers in the Cloud

Demystifying Cloud Computing

RANKING OF CLOUD SERVICE PROVIDERS IN CLOUD

International Journal of Scientific & Engineering Research, Volume 4, Issue 5, May-2013 ISSN

Minimizing Response Time for Scheduled Tasks Using the Improved Particle Swarm Optimization Algorithm in a Cloud Computing Environment

Towards Cloud Computing at IS Department, King Abdulaziz University

Innovation of teaching methods in university based on mobile cloud computing

Minimizing technical complexities in emerging cloud computing platforms

How To Create A Cloud Resource Broker

Cloud Broker for Reputation-Enhanced and QoS based IaaS Service Selection

Fully Abstract Operation Contracts

Using Feature Modelling and Automations to Select among Cloud Solutions

Factors Influencing an Organisation's Intention to Adopt Cloud Computing in Saudi Arabia

Credibility-Based Trust Management for Services in Cloud Environments

Framework for Ranking Service Providers of Federated Cloud using Fuzzy Logic Sets

Activity Mining for Discovering Software Process Models

Heterogeneous Workload Consolidation for Efficient Management of Data Centers in Cloud Computing

The Client Side of Cloud Computing

James Philbin, PhD We are at the dawn of cloud

Agent Based Framework for Scalability in Cloud Computing

A Real-Time Cloud Based Model for Mass Delivery

Chapter 10. Cloud Computing for Context-Aware Enhanced m-health Services

Transcription:

Resource-Aware Applications for the Cloud Reiner Hähnle 1 and Einar Broch Johnsen 2 1 Technical University of Darmstadt, Germany haehnle@cs.tu-darmstadt.de 2 University of Oslo, Norway einarj@ifi.uio.no Making'full'usage'of'the'potential'of'virtualized'computation'requires'nothing'' less'than'to'rethink'the'way'in'which'we'design'and'develop'software.' Capitalizing*on*the*Cloud* Theplanet sdatastorageandprocessingisabouttomoveintotheclouds.thishas thepotentialtorevolutionizehowwewillinteractwithcomputersinthefuture.a cloudconsistsofvirtualcomputersthatcanonlybeaccessedremotely.itisnota physicalcomputer,youdonotnecessarilyknowwhereitis,butyoucanuseitto storeandprocessyourdataandyoucanaccessitatanytimefromyourregular computer.ifyoustillhaveanold?fashionedcomputer,thatis.youmightaswell accessyourdataorapplicationsthroughyourmobiledevice,forexamplewhile sittingonthebus.* Cloud?baseddataprocessing,orcloudcomputing,ismorethanjustaconvenient solutionforindividualsonthemove.althoughchallengesremainconcerningthe privacyofdatastoredinthecloud,thecloudisalreadyemergingasaneconomically interestingmodelforastart?up,ansme,orsimplyforastudentwhodevelopsan appasasideproject,duetoanundeniableaddedvalueandcompellingbusiness drivers[1].onesuchdriveriselasticity:businessespayforcomputingresources whentheyareneeded,insteadofprovisioninginadvancewithhugeupfront investments.newresourcessuchasprocessingpowerormemorycanbeaddedtoa virtualcomputeronthefly,oranadditionalvirtualcomputercanbeprovidedtothe clientapplication.goingbeyondsharedstorage,themainpotentialincloud computingliesinitsscalablevirtualizedframeworkfordataprocessing,which becomesasharedcomputingfacilityforyourmultipledevices.ifaserviceuses cloud?basedprocessing,itscapacitycanbeautomaticallyadjustedwhennewusers arrive.anotherdriverisagility:newservicescanbedeployedquicklyandflexibly onthemarketatlimitedcost,withoutinitialinvestmentsinhardware. TheEUbelieves 1 thatcloud?baseddataprocessingwillcreate2.5millionnewjobs andanannualvalueof160billioneurosineuropeby2020.anotherstudy 2 predicts 1 Digital Agenda for Europe, http://ec.europa.eu/digital-agenda/en/european-cloudcomputing-strategy

14millionnewjobsworldwideuntil2015.However,reliabilityandcontrolof resourcesarebarrierstotheindustrialadoptionofcloudcomputingtoday.to overcomethesebarriersandtoregaincontrolofthevirtualizedresourcesonthe cloud,clientservicesneedtobecomeresource?aware. Challenges* Cloudcomputingisnotmerelyanewtechnologyforconvenientandflexibledata storageandimplementationofservices.makingfullusageofthepotentialof virtualizedcomputationrequiresnothinglessthantorethinkthewayinwhichwe designanddevelopsoftware. Empowering+the+Designer.Theelasticityofsoftwareexecutedinthecloudmeans thatdesignershavefarreachingcontrolovertheresourceparametersofthe executionenvironment:thenumberandkindofprocessors,theamountofmemory andstoragecapacity,andthebandwidth.theseparameterscanevenbechanged dynamically,atruntime.thismeansthattheclientofacloudservicenotonlycan deployandrunsoftware,butisalsoinfullcontrolofthetrade?offsbetweenthe incurredcostandthedeliveredquality?of?service. Torealizethesenewpossibilities,softwareinthecloudmustbedesigned'for' scalability.nowadays,softwareisoftendesignedbasedonspecificassumptions aboutdeployment,includingthesizeofdatastructures,theamountofram,andthe numberofprocessors.rescalingrequiresextensivedesignchanges,ifscalabilityhas notbeentakenintoaccountfromthestart. Fig.1:Relativecoststofixsoftwaredefectsforstaticinfrastructure(source:IBM SystemsSciencesInstitute).Thecolumnsindicatethephaseofthesoftware developmentatwhichthedefectisfoundandfixed. 2 IDC White Paper Cloud Computing s Role in Job Creation, http://www.microsoft.com/ en-us/news/features/2012/mar12/03-05cloudcomputingjobs.aspx

+ Deployment+Aspects+at+Design+Time.Theimpactofcloudcomputingonsoftware design,however,goesbeyondscalabilityissues:traditionally,deploymentis consideredalateactivityduringsoftwaredevelopment.intherealmofcloud computing,thiscanbefatal.considerthewell?knowncostincreaseforfixingdefects duringsuccessivedevelopmentphases[2].ibmsystemssciencesinstituteestimates thatadefectwhichcostsoneunittofixindesign,costs15unitstofixintesting (system/acceptance)and100unitsormoretofixinproduction(seefig.1).this costestimationdoesnotevenconsidertheimpact'costdueto,forexample,delayed timetomarket,lostrevenue,lostcustomers,andbadpublicrelations. Fig.2:Estimateofrelativecoststofixsoftwaredefectsforvirtualizedsystemswith elasticity,from[3]. Now,theseratiosareforstaticdeployment.Consideringthehighadditional complexityofresourcemanagementinvirtualizedenvironments,itisreasonableto expectevenmoresignificantdifferences;fig.2conservativelysuggestsratiosfor virtualizedsoftwareinanelasticenvironment.thisconsiderationmakesitclear thatitisessentialtodetectandfixdeploymenterrors,forexample,failuretomeeta servicelevelagreement(sla),alreadyin'the'design'phase. Tomakefullusageoftheopportunitiesofcloudcomputing,softwaredevelopment fortheclouddemandsadesignmethodologythat(a)takesintoaccountdeployment modelingatearlydesignstagesand(b)permitsthedetectionofdeployment'errors earlyandefficiently,helpedbysoftwaretools,suchassimulators,testgenerators, andstaticanalyzers. Controlling*Deployment*In*The*Design*Phase* Ouranalysisexhibitsasoftware'engineering'challenge:howcanthevalidationof deploymentdecisionsbepusheduptothemodelingphaseofthesoftware developmentchainwithoutconvolutingthedesignwithdeploymentdetails?

Fig.3:Conceptualpartsofadeployedcloudservice. Whenaserviceisdevelopedtoday,thedevelopersfirstdesignitsfunctionality,then theydeterminewhichresourcesareneededfortheservice,andultimatelythe provisioningoftheseresourcesiscontrolledthroughansla,seefig.3.the functionalityisrepresentedintheclient'layer.theprovisioning'layermakes resourcesavailabletotheclientlayeranddeterminesavailablememory,processing power,andbandwidth.theslaisalegaldocumentthatclarifieswhatresourcesthe provisioninglayershouldmakeavailabletotheclientservice,whatitcost,and statespenaltiesforbreachofagreement.atypicalslacoverstwoaspects:(i)alegal' contractstatingthemutualobligationsandtheconsequencesincaseofabreach;(ii) thetechnicalparametersandcostfiguresoftheofferedservices,whichwecallthe service'contract. How'can'the'validation'of'deployment'decisions'be'pushed'' up'to'the'modeling'phase'of'the'software'development'chain'' without'convoluting'the'design'with'deployment'details?' Fig.4:Makingservicesresource?aware.

Sofar,thedifferentpartsofadeployedcloudserviceliveinseparateworlds,butwe needtoconnectthem.inafirststeptheprovisioninglayerismadeavailabletothe client,sothattheclientcanobserveandmodifyresourceparameters.wecallthis thecloud'api.thisisnotthesameastheapisthatcloudenvironmentsprovideto theirclientsnow:ourgoalistomovedeploymentaspectsintothedesign'phase.we advocatethatclientbehaviorisrepresentedbyanabstract'behavioral'modelofthe clientapplication,forexampleinanexecutablemodelinglanguagesuchasabs[4]. Suchamodelcanrealisticallybecreatedduringthedesignphase.TheCloudAPIis thenanabstractinterfacetotheprovisioninglayer,seefig.4.such earlymodeling ofclientbehaviormakesitpossibletosimulatedifferentclient?sideprovisioning schemesandobservetheirimpactoncostandperformance. ToconnectSLAswiththeclientlayer,thekeyobservationisthattheservice contractaspectsofanslacanbegivenaformalsemantics.thisenablesformal analysisofclientbehaviorwithrespecttotheslaatdesign'time.possibleanalyses includeresourceconsumption,performance,testcasegeneration,andeven functionalverification[3].formodelinglanguagessuchasabsthisishighly automated[5]. Earlyanalysis makesassumptionsaboutthecloudapiexplicitand enablesthegenerationofmonitorsintheprovisioninglayer.runtimemonitorsthen provide lateanalysis. Opportunities* Makingdeploymentdecisionsatdesign?timeshiftscontrolfromtheprovisioning layertotheclientlayer.theclientservicebecomesresource?aware.thisprovidesa numberofattractiveopportunities. Fine8grained+provisioning.Businessmodelsforresourceprovisioningonthe cloudarebecomingsimilarlyfine?grainedasthoseweknowfromotherindustry sectorssuchastelephonyorelectricity.itisbecomingincreasinglycomplexto decidewhichmodeltoselectforyoursoftware.design?timeanalysisand comparisonofdeploymentdecisionsallowanapplicationtobedeployedaccording totheoptimalpaymentmodelfortheexpectedend?users.cloudcustomerscantake advantageoffine?grainedprovisioningschemessuchasspotprice. Tighter+provisioning.Betterprofilesoftheresourceneedsoftheclientlayerhelp cloudproviderstoavoidover?provisioningtomeettheirslas.betterusageofthe resourcesmeansmoreclientscanbeservedwiththesameamountofhardwarein thedatacenter,withoutviolatingslasandincurringpenalties. Application8specific+resource+control.Design?timeanalysisofscalabilityenables theclientlayertomakebetteruseoftheelasticityofferedbythecloud,toknow beforehandatwhatloadthresholdsitisnecessarytoscaleupthedeploymentto avoidbreakingslasanddisappointingtheexpectationsoftheend?users.

Application8controlled+elasticity.Goingonestepfurther,weforeseeautonomous, resource?awareservicesthatruntheirowndeploymentstrategy.suchaservicewill monitortheloadonitsvirtualmachineinstancesaswellastheend?usertraffic,and makeitsowndecisionsaboutthetrade?offsbetweenthedeliveredqualityofservice andtheincurredcost.theserviceinteractswiththeprovisioninglayerthroughan APItodynamicallyscaleupordown.Theservicemayevenrequestorbidforvirtual machineinstanceswithgivenprofilesonthevirtualresourcemarketplaceofthe future Summary* Wearguedthattheefficiencyandperformanceofcloud?basedservicesareboosted bymovingdeploymentdecisionsupthedevelopmentchain.resource?aware servicesgivetheclientbettercontrolofresourceusage,tomeetslasatlowercost. Weidentifyformalmethods,executablemodels,anddeploymentmodelingasthe ingredientsthatcanmakethisvisionhappen.aconcreterealizationofourideasis currentlybeingimplementedaspartoftheeufp7projectenvisage:engineering VirtualizedServices(http://www.envisage?project.eu). Acknowledgments.ThisworkhasbeenpartiallysupportedbyEUprojectFP7? 610582Envisage:EngineeringVirtualizedServices. References* [1] R. Buyya, C. S. Yeo, S. Venugopal, J. Broberg, and I. Brandic. Cloud computing and emerging IT platforms: Vision, hype, and reality for delivering computing as the 5th utility. Future Generation Comp. Sys., 25(6):599 616, 2009. [2] B. W. Boehm and P. N. Papaccio. Understanding and controlling software costs. IEEE Trans. SW Eng., 14(10):1462 1477, 1988. [3] E. Albert, F. de Boer, R. Hähnle, E. B. Johnsen, and C. Laneve. Engineering virtualized services. In M. A. Babar and M. Dumas, editors, 2nd Nordic Symp. Cloud Computing & Internet Technologies, pages 59 63. ACM, 2013. [4] E. B. Johnsen, R. Hähnle, J. Schäfer, R. Schlatte, and M. Steffen. ABS: A core language for abstract behavioral specification. In B. Aichernig, F. de Boer, and M. M. Bonsangue, editors, Proc. 9th Intl. Symp. on Formal Methods for Components and Objects, volume 6957 of LNCS, pages 142 164. Springer, 2011. [5] E. Albert, F. de Boer, R. Hähnle, E. B. Johnsen, R. Schlatte, S. L. Tapia Tarifa, and P. Y. H. Wong. Formal modeling of resource management for cloud architectures: An industrial case study. J. of Service-Oriented Computing and Applications, 2013. Springer Online First, DOI 10.1007/s11761-013-0148-0.