SlideShare a Scribd company logo
1 of 52
Download to read offline
Tutorial: 
Programming Elasticity in the Cloud 
Hong-Linh Truong 
Distributed Systems Group 
Vienna University of Technology 
truong@dsg.tuwien.ac.at 
http://dsg.tuwien.ac.at/research/viecom/ 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
1 
The 6th International Conference on Cloud Computing Technology and Science
Distributed Systems Group@TU Wien 
 ~ 30 people, 1 full prof., 1 Priv-Doz, 4 post-docs, 
16 phd students, ~14 nationalities 
 Working on cloud computing, elastic computing, 
SOC/SOA, IoT, internet engineering, service 
analytics, social computing, and process 
management. 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
2
Joint work with: 
Schahram Dustdar, Muhammad Candra, Georgiana Copil, Duc- 
Hung Le, Daniel Moldovan, Stefan Nastic, Tien-Dung Nguyen, 
Anindita Sarkar, Ognjen Scekic, Philipp Zeppezauer 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
3 
NOTE: The content includes some ongoing work 
Acknowledgements
Outline 
 Part 1 – Elastic Computing Principles and 
Models 
 Motivation scenario, Elastic principles and the 
Vienna Elasticity Computing Model 
 Part 2 – Techniques for programming and 
eingeering elasticity for native cloud services 
 Configuration, deployment, monitoring, and control 
with COMOT and its Salsa, SYBL, MELA 
 Part 3 
 Hand-on exercise 
 Summary 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
4
PART 1: ELASTIC COMPUTING 
- PRINCIPLES AND MODELS 
Cloudcom 2014, 15 Dec, 
2014, Singapore 
5
Some 50 billion devices and sensors exist for M2M applications 
IoT and Cloud Computing enable smart services ecosystem and 
collaboration opportunities 
Managed services 
• Portfolio 
management 
• Event management 
• Analytics 
Provisioning 
• Services 
• SIM profile 
configuration 
• Network 
configuration 
Controls 
• Activation 
• Deactivation 
• Privacy 
• Security 
Transaction Mgmt. 
• Visibility 
• Billing 
• Reporting 
Integration 
framework 
Algorithm 
Chart engine 
builder 
Predictiv 
e 
modeling 
Incidents 
manager 
Expert rule 
engine 
FDD Service 
Mgmt 
Storage 
policies 
Databas 
e 
Operations manger 
manager 
Portfolio 
Mgmt Analyic 
s 
engine 
Blackbo 
x 
module 
Location 
awarenes 
s 
GUI 
builde 
r 
Event 
mgmt 
Data 
mining 
Resource 
mgmt. 
Regressio 
n engine 
Open 
integratio 
n platform 
Resource 
manager 
Point 
metering 
framewor 
k Numerous Forms Of Smart Services… 
Access 
control 
Environment 
Compliance 
Street Light 
Management 
Food Transfer 
Process 
Public 
Safety 
Industrial 
process 
parameter 
s 
Parking 
Control 
Waste 
Management 
Facilities 
Control 
HealthCare 
Power 
Quality Control 
Lighting 
Control 
KIOSK 
Monitoring 
CCTV 
Monitoring 
Hospitality Sector Healthcare Sector 
Transport Sector Education Sector 
Datacenters 
Government Sector 
Industrial Sector 
Finance Sector 
Utilities and Smart Grid 
Airports, ports and 
Critical Infrastructure 
Ubiquitous Managed Services Solution Across Business Verticals 
Cloudcom 2014, 15 Dec, 
2014, Singapore 
6
Motivation 
 City-scale proactive and predictive maintenance 
 What do we need 
 Sensors and actuators 
 IoT cloud platforms: gateways/VMs, complex event 
processing, message-oriented middleware, etc. 
 (Big/smart) data analytics services and storages 
 Human experts 
 Many stakeholders 
 Cloud provider, maintenance operators, IoT platform 
developers/providers, data analytics developer/provider, 
domain experts, etc. 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
7
Scenario 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
8 
Offers services for 
handling IoT Data 
Offers services for big, 
data analytics 
Offers services for 
complex problem solving 
using human experts 
IoT Cloud Platform 
Data Analytics 
Platform 
Expert Provisioning 
Platform 
Sensors 
<<send data>> 
<<analyze data>> <<notify possible 
problem>> 
<<control/configure 
sensors>> 
Predictive maintenance company 
<<monitor>> 
Chillers 
<<predict and solve 
problems>> 
<<control 
services>> 
<<control 
algorithms>>
Observations 
 Data resources 
 Activate/change sensor deployment/configurations for 
required data; changing types of data sources for analytics 
 Cloud platform services 
 Deploy/reconfigure cloud services handling changing data 
 Data analytics 
 Switch and combine different types of data analytics 
processes and engines due to the severity of problems and 
quality of results 
 Teams of human experts 
 Forming and changing different configurations of teams 
during the specific problems and problem severity. 
Cloudcom 2014, 15 Dec, 2014, 9 
Singapore
Elasticity in computing – broad view 
1. Demand elasticity 
Elastic demands from consumers 
2. Output elasticity 
Multiple outputs with different price and quality 
3. Input elasticity 
Elastic data inputs, e.g., deal with opportunistic data 
4. Elastic pricing and quality models associated 
resources 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
10
Diverse types of elasticity requirements 
 Application user: “If the cost is greater than 800 Euro, there should be 
a scale-in action for keeping costs in acceptable limits” 
 Software provider: “Response time should be less than amount X 
varying with the number of users.” 
 Developer: “The result from the data analytics algorithm must reach a 
certain data accuracy under a cost constraint. I don’t care about how 
many resources should be used for executing this code.” 
 Cloud provider: “When availability is higher than 99% for a period of 
time, and the cost is the same as for availability 80%, the cost should 
increase with 10%.” 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
11
Complex dependencies in elasticity 
 More data is needed only 
when necessary 
 More data  more 
computational resources 
(e.g. more VMs) 
 More types of data  
different types of analytics 
processes  different 
computational models 
 Change quality of results 
 quality of data 
 response time 
 cost 
 types of result (form of 
the data output, e.g. 
tree, visual, story, etc.) 
12 
Data 
Computational 
Model 
Analytics 
Process 
Analytics Result 
Data 
Data 
Datax 
Datay 
Dataz 
Computational 
Modelx 
Computational 
Model y 
Computationyal 
Modelz 
Computational 
Analytics 
Process 
AnalytPicrsocess 
Process 
Analytics 
AnalyPtricoscess 
Process 
Analytics 
Quality of 
Result 
Cloudcom 2014, 15 Dec, 2014, 
Singapore
Elasticity with multiple 
types of resources 
Machine-based 
Computing 
Human-based 
Computing 
Things-based 
computing 
Grid 
Processing 
Unit 
Comm. Architecture 
SMP 
S. Dustdar, H. Truong, “Virtualizing Software and Humans 
for Elastic Processes in Multiple Clouds – a Service 
Management Perspective”, in International Journal of Next 
Generation Computing, 2012 
Ad hoc networks Web of things 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
13
SO HOWDO WESUPPORTTHESEISSUESIN A SYSTEMATICALWAY? 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
14
Resource elasticity 
Software / human-based 
computing elements, 
multiple clouds 
Quality elasticity 
Non-functional parameters e.g., 
performance, quality of data, 
service availability, human 
trust 
Costs & Benefit 
elasticity 
rewards, incentives 
Elasticity 
Multi-dimensional Elasticity 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
15
The Vienna Elastic Computing 
Model 
 Multi-dimensional 
Elasticity 
 Service computing 
models 
 Cloud provisioning 
models 
Schahram Dustdar, Hong Linh Truong: Virtualizing Software and Humans for Elastic Processes in Multiple Clouds- a Service 
Management Perspective. IJNGC 3(2) (2012) 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
16
Vienna Elastic Computing Model 
 Multi-dimensional elasticity 
 Resource, quality, cost and benefits 
 Elasticity in hybrid systems of human-based, 
things-based and software-based computing 
resources 
 Software, things and human capabilities as computing 
resources in multi clouds 
 End-to-end approach 
 For science and business complex applications 
dsg.tuwien.ac.at/research/viecom 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
17
Unified elastic service unit model 
for Things, Software and People 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
18 
Modeling type of 
units (e.g., 
computation, data, 
monitor,) and their 
dependencies 
Consumption, 
ownership, provisioning, 
price, etc. 
Elastic 
Service 
Unit 
Service 
model 
Unit 
Dependency 
Elastic 
Capability 
Function 
The functional 
capability of the unit 
and interface to 
access the function 
Capabilities to be elastic 
under different 
requirements 
Software People 
VolunteersProfessionals 
Thing 
Resources
Things: software-Defined IoT Units 
 Virtualizing IoTs resources under “service 
units” with software-defined API for 
accessing, configuring and controlling units 
 Composing and creating gateways and 
virtual topologies (of multiple gateways) 
 Provisioning (atomic and composite) units 
dynamically and on-demand in cloud and 
edge computing environments 
 Controlling elasticity based on resource, 
quality and cost via software-defined APIs 
Software-defined 
IoT Unit 
Functional API 
Utility 
cost-function 
IoT resource and functionality binding 
Late-bound 
policies 
Infrastructure capabilities 
Governance API 
Dependency 
units 
Provisioning API 
Runtime 
mechanisms 
Runtime 
controllers 
(e.g, elasticity) 
Non-functional aspects 
Runtime composition 
Functional aspects 
Atomic software-defined IoT units 
Custom 
proc. logic 
IoT data 
storage 
Communication 
In-memory 
image 
VPN 
Messaging 
Sand 
box 
Network 
overlay Protocol Volatile History 
Key/Value 
store 
Security 
Data 
quality 
Outliers 
filter 
IoT compute 
GW 
runtime 
Data point 
controller 
CEP 
Component 
-model 
Elasticity 
Auto scaling 
group controller 
Functional 
capabilities 
Non-functional 
capabilities 
... 
... 
Monitor. 
Config. 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
19 
Stefan Nastic, Sanjin Sehic, Le-Duc Hung, Hong-Linh Truong, and Schahram 
Dustdar (2014). Provisioning Software-defined IoT Cloud Systems. The 2nd 
International Conference on Future Internet of Things and Cloud (FiCloud-2014), 
August27-29, 2014, Barcelona, Spain.
People: incorporating humans into a 
programming paradigm 
Volunteers 
Individual Team Professionals 
Service-based Middleware 
Monitoring Communication 
Capability/Profile 
Management 
Provisioning/Negotiation/Execution API 
Abstraction of Human-based Compute Units 
ICU ICU SCU SCU 
Program languages and programming models 
Program 
elements 
Software 
, Things 
Compute 
Units 
program human actions 
and dependencies 
program incentive condition 
and rewarding action 
program result evaluation 
method 
Human-to-middleware 
interfaces: 
•visualization of collective tasks 
•embedding of common forms 
•mobile app 
20 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
SCU 
Hong Linh Truong, Schahram Dustdar, Kamal 
Bhattacharya: Programming Hybrid Services in the 
Cloud. ICSOC 2012: 96-110 (Best Paper Award)
PART 2: TECHNIQUES FOR 
PROGRAMMING AND 
ENGINEERING ELASTICITY 
FOR NATIVE CLOUD 
SERVICES 
Cloudcom 2014, 15 Dec, 
2014, Singapore 
21
Service 
Developer 
Infrastructure 
Provider 
Service 
Owner 
Service 
Developer 
Designing and 
programming software-defined 
elastic services 
Automatic deployment 
and configuration 
Elasticity monitoring and 
analysis 
Elasticity Control 
Service 
Owner 
Infrastructure 
Provider 
Service 
Owner 
Easy to 
program 
elasticity 
requirements 
Reduced time to market, 
easy to reconfigure 
+ 
Easy to understand 
service’s elasticity 
boundaries 
+ 
Maintains service’s 
performance while 
reducing cost 
Reduces 
resources 
overprovisioning 
+ 
Elastic cloud service engineering 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
22 
Native elastic cloud service engineering 
Several owners, 
developers and 
providers from 
different 
organizations
Elasticity 
Metrics 
Elasticity 
Requirements 
Elasticity capabilities 
(e.g. scale IN/OUT) 
So what need to be done? A simple 
view 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
23 
Programming and deploying services
Fundamental building blocks for 
the elasticity 
 Conceptualizing and modeling elastic objects and 
execution environments 
 So we can manage diverse types of artifacts and their runtime 
in a similar manner 
 Defining and capturing elasticity primitive operations 
associated with elastic objects and environments 
 Recommending and Programming elastic objects 
 a software-defined elastic system (SES) is built from elastic 
objects 
 Runtime deploying, control, monitoring and testing 
techniques for elastic objects 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
24
Need to model/capture elasticity 
primitive operations 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
25
Deploying, Control, Monitoring and 
Testing 
 Runtime configuration 
 Complex services at multiple software stacks (VM, 
OS container, ApplicationContainer, Web services, 
etc) 
 Interfaces with different low-level deployment techniques 
 Different interactions between deploying and control 
and monitoring components 
 Control elasticity 
 Using a high-level specification for specifying 
elasticity requirements, constraints and strategies 
 Based on SYBL/rSYBL ([CCGrid 2013, ICSOC 2013, 
ICSOC 2014]) 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
26
Deploying, Control, Monitoring and 
Testing 
 Elasticity monitoring and analysis 
 Utilize low-level metrics to build „Elasticity Space“ 
and analyze the elasticity based on such spaces 
(based on MELA – [CloudCom 2013, CloudCom 
2014, IJDBI]) 
 Monitoring/analysis at multiple levels level (single 
unit, topology/group, and the whole service 
 Testing elasticity 
 Using clouds to test cloud applications as well as to 
test elasticity properties of cloud applications 
[ASE2013, IC2014] 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
27
Software-defined 
Elastic System 
Programming 
Tooling – Elasticity 
Programming in 
Cloud Systems 
Elastic Service 
Ecosystem and 
Recommendation 
Deployment 
Deployment 
Service 
Test Generating 
and Execution 
Elastic Test 
Service 
deploy SDS/ 
service units 
deploy elasticity 
controller and monitor 
Elasticity 
Analysis 
deploy 
test cases 
Elasticizing 
Elasticity 
Monitoring 
and Analysis 
Elasticity 
Control 
test 
control 
monitor 
CoMoT 
Core Services 
Multi-Cloud 
Environments 
Service 
Ecosystems 
Service Artifact 
Repository 
Service units 
CoMoT (1) 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
28 
Hong-Linh Truong et al., "CoMoT – A Platform-as-a-Service for Elasticity in the Cloud", IEEE International 
Workshop on the Future of PaaS. Colocated with IC2E 2014
CoMoT (2) 
 CoMoT is built atop: 
 QUELLE, rSYBL, MELA, SALSA 
 Work on multi-cloud environments 
 Parts of complex applications are deployed in 
different clouds 
 http://tuwiendsg.github.io/ 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
29
QUELLE – QUantifying ELasticity 
utiLity Engine 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
30 
Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, QUELLE – a Framework for 
Accelerating the Development of Elastic Systems, ESOCC 2014. September 2014
SALSA – runtime configuration 
framework 
https://github.com/tuwiendsg/SALSA 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
31 
Support cloud 
services at data 
centers and IoT 
environments
rSYBL – Elasticity Control Engine 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
32
MELA -- Elasticity Monitoring as a 
Service 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
33 
Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Elasticity Analytics for Cloud Services, 
International Journal of Big Data Intelligence, 2014
Toolsets and actions for elasticity 
control, analytics and management 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
34
Multi-cloud, multi-stack, complex 
topologies configuration 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
35 
 Well-defined APIs for manipulating and provisioning objects 
 Support different types of objects, e.g., VMs, OS containers, 
services, service containers, IoT sensors, gateways, 
Data center services Sensors 
Come to see our paper at Section 2A , 15:30-17:30, Tue 16 Dec
High level elasticity control 
#SYBL.CloudServiceLevel 
Cons1: CONSTRAINT responseTime < 5 ms 
Cons2: CONSTRAINT responseTime < 10 ms 
WHEN nbOfUsers > 10000 
Str1: STRATEGY CASE fulfilled(Cons1) OR 
fulfilled(Cons2): minimize(cost) 
#SYBL.ServiceUnitLevel 
Str2: STRATEGY CASE ioCost < 3 Euro : 
maximize( dataFreshness ) 
#SYBL.CodeRegionLevel 
Cons4: CONSTRAINT dataAccuracy>90% 
AND cost<4 Euro 
Georgiana Copil, Daniel Moldovan, Hong-Linh Truong, Schahram Dustdar, "SYBL: an Extensible Language for Controlling 
Elasticity in Cloud Applications", 13th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid), 
May 14-16, 2013, Delft, Netherlands 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
36
Configurations for multiclouds 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
37 
.. 
<ServiceElasticityPrimitives id="FCO" 
ServiceProvider="Flexiant FCO"> 
<ElasticityPrimitive id="ScaleIn" name="Remove 
VM" parameters=""/> 
<ElasticityPrimitive id="ScaleOut" name="Create 
new VM" parameters=""/> 
<ElasticityPrimitive id="AllocateIP" name="Allocate 
public IP" parameters="UUID"/> 
<ElasticityPrimitive id="AttachDisk" name="Attach 
NewDisk" parameters="UUID"> 
… 
<PrimitiveDependency 
dependencyType="AFTER_ENFORCEMENT" 
primitiveID="Reboot"/> 
… 
MultipleEnforcementPlugins = 
flexiant:at.ac.tuwien.dsg.rSybl.cloudInteractionUnit.enfor 
cementPlugins.flexiant.EnforcementFlexiantAPI, 
openstack:at.ac.tuwien.dsg.rSybl.cloudInteractionUnit.en 
forcementPlugins.openstack.EnforcementOpenstackAPI 
Configuraring low-level 
Plug-ins to work with 
multiple clouds 
Configuraring 
and capturing 
elasticity 
primitive 
operations 
associated with 
service units
Mapping Services Structures to 
Elasticity Metrics 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
38 
Elasticity directives 
can be changed at 
runtime
Multi-cloud example 
M2MDaaS: 
STRATEGY CASE avgBufferSize<5 : 
minimize(cost) 
CONSTRAINT avgBufferSize<50 CONSTRAINT responseTime<50 ms 
STRATEGY CASE 
responseTime<40ms AND 
throughput<20ops/s : scalein 
Load relationship 
bufferSize requests 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
39 
Georgiana Copil, Daniel Moldovan, Hong-Linh Truong, Schahram Dustdar, "On Controlling Cloud Services 
Elasticity in Heterogeneous Clouds", 6th Cloud Control Workshop, 7th IEEE/ACM International Conference on 
Utility and Cloud, 2014
Elasticity Analytics for Cloud 
Services 
Moldovan D., G. Copil,Truong H.-L., Dustdar S. (2013). MELA: 
Monitoring and Analyzing Elasticity of Cloud Service. CloudCom 
2013 
Elasticity space functions: to determine if a 
service unit/service is in the “elasticity behavior” 
Elasticity Pathway functions: to characterize the 
elasticity behavior from a general/particular view 
Elasticity Space 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
40
Multi-level monitoring and analysis 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
41
Multi-level monitoring and analysis 
4 
2 
Elasticity Function for Demo 
Apply different 
elasticity 
path/space 
functions 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
Cloud Service 
Service 
Topology 
Service Unit 
Code Region 
Scopes in service structure 
Common 
functions/user-defined 
functions 
Serveral possible Elasticity Space 
and Pathway functions 
 for different types of service and 
elasticity behaviors 
Elastic test 
frameworks 
Benchmarks 
Machine 
learning
Examples of functions for Elasticity 
Space and Pathway 
Change point detection 
algs 
Alessio Gambi, Daniel Moldovan, Georgiana Copil, Hong Linh Truong, 
Schahram Dustdar: On estimating actuation delays in elastic computing 
systems. SEAMS 2013: 33-42 
Elasticity Space Func 
Elasticity Pathway Func 
cost 
Pathway 2 quality 
cost 
Pathway 1 quality 
Cloudcom 2014, 15 Dec, 
2014, Singapore 
43
Elasticity Space Monitoring as a 
Service 
 Elasticity Signature Function Customization 
 Uses simple composition rules (+,-,*,/, AVG, MIN/MAX, KEEP 
LAST and CONCAT) 
 Defines different composite metrics for different entities at each 
level of the app structure 
 Each composite metric is propagated to the higher-level parent. 
 Elasticity Signature Boundary 
 Different restrictions attached to different levels and entities 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
44 
Elasticity Function for Demo
Elasticity space and pathway analytics 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
45 
Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Elasticity Analytics for Cloud Services, 
International Journal of Big Data Intelligence, 2014
Elasticity dependency analysis 
 The elasticity of a service unit affects the elasticity of another unit. 
How to characterize such cause-effect: elasticity dependency 
 Modeling collective metrics evolution in relation to requirements 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
46 
Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, On Analyzing Elasticity Relationships of Cloud 
Services, 6th International Conference on Cloud Computing Technology and Science, 15-18 December 2014, Singapore 
Come to see our paper at Section 4C , 10:30-12:00, Thu 18 Dec
Enable elasticity reconfiguration at 
runtime 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
47 
Analysis detects problems 
but predefined strategies do 
not always work! 
Changing elasticity 
specifications at runtime 
without stoping services
Elasticity behavior learning 
Complex 
Cloud 
Service 
Elastic 
Cloud 
Service 
(running) 
Deployed Elasticity 
control 
process 
Elasticity Control 
Processes 
What would be 
the elasticity 
behavior? 
Elasticity 
requirements 
Elasticity controller 
Georgiana Copil, Demetris Trihinas, Hong-Linh Truong, Daniel Moldovan, George Pallis, Schahram Dustdar, Marios Dikaiakos. 
"ADVISE - a Framework for Evaluating Cloud Service Elasticity Behavior" the 12th International Conference on Service 
Oriented Computing. Paris, France, 3-6 November, 2014. (Best Paper Award) 
Which elasticity controls are 
the best for a given 
situation? 
Learning process 
Control 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
48
Part 3: Hand-on exercise 
http://tuwiendsg.github.io/COMOT/elasticityDemo.html 
https://t.co/eNY4rAAxXe 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
49
Summary (1) 
 Support principles of multi-dimensional elasticity 
to achieve flexibility and dynamics in multi-cloud 
environments for complex problems 
 Coordinating elasticity across platforms need 
concepts of elastic objects and fundamental 
building blocks for engineering an end-to-end 
elasticity for cloud services 
 Need runtime elasticity techniques for dealing 
with diverse types of services 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
50
Summary (2) 
 COMOT introduces concepts of elastic objects 
and fundamental building blocks for engineering 
an end-to-end elasticity for cloud services 
 COMOT supports design, deployment, control, 
monitoring and testing of elasticity in interwoven 
engineering phases 
 COMOT, SALSA, SYBL, and MELA provides ready-to-use 
prototypes for domain-specific languages, 
configuration, analytics and control services for 
elasticity 
 Tested in real-world scenarios and industrial settings 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
51
Thanks for your attention! 
Hong-Linh Truong 
Distributed Systems Group 
Vienna University of Technology 
truong@dsg.tuwien.ac.at 
dsg.tuwien.ac.at/research/viecom 
https://twitter.com/dsg_tuwien 
https://t.co/eNY4rAAxXe 
Cloudcom 2014, 15 Dec, 2014, 
Singapore 
52

More Related Content

What's hot

Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...
Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...
Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...
Simplilearn
 
CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
pkaviya
 
Evolution of the cloud
Evolution of the cloudEvolution of the cloud
Evolution of the cloud
sagaroceanic11
 
Cloud architecture
Cloud architectureCloud architecture
Cloud architecture
Adeel Javaid
 

What's hot (20)

Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...
Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...
Cloud Computing For Beginners | Cloud Computing Explained | Cloud Computing T...
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
 
Evolution of Cloud Computing
Evolution of Cloud ComputingEvolution of Cloud Computing
Evolution of Cloud Computing
 
Service level agreement in cloud computing an overview
Service level agreement in cloud computing  an overviewService level agreement in cloud computing  an overview
Service level agreement in cloud computing an overview
 
Cloud Computing - Benefits and Challenges
Cloud Computing - Benefits and ChallengesCloud Computing - Benefits and Challenges
Cloud Computing - Benefits and Challenges
 
Cloud Deployment
Cloud DeploymentCloud Deployment
Cloud Deployment
 
Data streaming fundamentals
Data streaming fundamentalsData streaming fundamentals
Data streaming fundamentals
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Unit 4
Unit 4Unit 4
Unit 4
 
Load balancing in cloud computing.pptx
Load balancing in cloud computing.pptxLoad balancing in cloud computing.pptx
Load balancing in cloud computing.pptx
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Cloud Security, Standards and Applications
Cloud Security, Standards and ApplicationsCloud Security, Standards and Applications
Cloud Security, Standards and Applications
 
Chap 1 introduction to cloud computing
Chap 1 introduction to cloud computingChap 1 introduction to cloud computing
Chap 1 introduction to cloud computing
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing Presentation
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
cloud computing 5.pptx
cloud computing 5.pptxcloud computing 5.pptx
cloud computing 5.pptx
 
Evolution of the cloud
Evolution of the cloudEvolution of the cloud
Evolution of the cloud
 
Issues in cloud computing
Issues in cloud computingIssues in cloud computing
Issues in cloud computing
 
Cloud architecture
Cloud architectureCloud architecture
Cloud architecture
 

Similar to Programming Elasticity in the Cloud

Ibm cloud forum managing heterogenousclouds_final
Ibm cloud forum managing heterogenousclouds_finalIbm cloud forum managing heterogenousclouds_final
Ibm cloud forum managing heterogenousclouds_final
Mauricio Godoy
 
Knowledge labs cc1
Knowledge labs cc1Knowledge labs cc1
Knowledge labs cc1
Padma Priya
 
Azure Overview Csco
Azure Overview CscoAzure Overview Csco
Azure Overview Csco
rajramab
 

Similar to Programming Elasticity in the Cloud (20)

Ibm cloud forum managing heterogenousclouds_final
Ibm cloud forum managing heterogenousclouds_finalIbm cloud forum managing heterogenousclouds_final
Ibm cloud forum managing heterogenousclouds_final
 
TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...
TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...
TUW-ASE-Summer 2014: Emerging Dynamic Distributed Systems and Challenges for ...
 
Emergence of cloud computing and internet of things an overview
Emergence of cloud computing and internet of things   an overviewEmergence of cloud computing and internet of things   an overview
Emergence of cloud computing and internet of things an overview
 
Cloud Ecosystems A Perspective
Cloud Ecosystems A PerspectiveCloud Ecosystems A Perspective
Cloud Ecosystems A Perspective
 
ATMOSPHERE at Digital Infrastructure for Research (DI4R) 2018
ATMOSPHERE at Digital Infrastructure for Research (DI4R) 2018ATMOSPHERE at Digital Infrastructure for Research (DI4R) 2018
ATMOSPHERE at Digital Infrastructure for Research (DI4R) 2018
 
TUW-ASE Summer 2015: IoT Cloud Systems
TUW-ASE Summer 2015:  IoT Cloud SystemsTUW-ASE Summer 2015:  IoT Cloud Systems
TUW-ASE Summer 2015: IoT Cloud Systems
 
Adopting the Cloud
Adopting the CloudAdopting the Cloud
Adopting the Cloud
 
Experience economy and cloud computing
Experience economy and cloud computingExperience economy and cloud computing
Experience economy and cloud computing
 
Introduction Of Cloud Computing
Introduction Of Cloud ComputingIntroduction Of Cloud Computing
Introduction Of Cloud Computing
 
TUW-ASE-Summer 2014: Advanced Services Engineering- Introduction
TUW-ASE-Summer 2014: Advanced Services Engineering- IntroductionTUW-ASE-Summer 2014: Advanced Services Engineering- Introduction
TUW-ASE-Summer 2014: Advanced Services Engineering- Introduction
 
IRJET - Multitenancy using Cloud Computing Features
IRJET - Multitenancy using Cloud Computing FeaturesIRJET - Multitenancy using Cloud Computing Features
IRJET - Multitenancy using Cloud Computing Features
 
Cloud infrastructure and Cloud Services
Cloud infrastructure and Cloud ServicesCloud infrastructure and Cloud Services
Cloud infrastructure and Cloud Services
 
Introduction to Google Cloud & GCCP Campaign
Introduction to Google Cloud & GCCP CampaignIntroduction to Google Cloud & GCCP Campaign
Introduction to Google Cloud & GCCP Campaign
 
Knowledge labs cc1
Knowledge labs cc1Knowledge labs cc1
Knowledge labs cc1
 
Intro Cloud Computing
Intro Cloud ComputingIntro Cloud Computing
Intro Cloud Computing
 
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
 
Azure Overview Csco
Azure Overview CscoAzure Overview Csco
Azure Overview Csco
 
Evolving Infrastructure and Management for Business Agility
Evolving Infrastructure and Management for Business AgilityEvolving Infrastructure and Management for Business Agility
Evolving Infrastructure and Management for Business Agility
 
1. introduction to_cloud_services_architecture
1. introduction to_cloud_services_architecture1. introduction to_cloud_services_architecture
1. introduction to_cloud_services_architecture
 
Privacy preserving public auditing for secured cloud storage
Privacy preserving public auditing for secured cloud storagePrivacy preserving public auditing for secured cloud storage
Privacy preserving public auditing for secured cloud storage
 

More from Hong-Linh Truong

Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Hong-Linh Truong
 

More from Hong-Linh Truong (20)

QoA4ML – A Framework for Supporting Contracts in Machine Learning Services
QoA4ML – A Framework for Supporting Contracts in Machine Learning ServicesQoA4ML – A Framework for Supporting Contracts in Machine Learning Services
QoA4ML – A Framework for Supporting Contracts in Machine Learning Services
 
Sharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service DevelopmentSharing Blockchain Performance Knowledge for Edge Service Development
Sharing Blockchain Performance Knowledge for Edge Service Development
 
Measuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
Measuring, Quantifying, & Predicting the Cost-Accuracy TradeoffMeasuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
Measuring, Quantifying, & Predicting the Cost-Accuracy Tradeoff
 
DevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
DevOps for Dynamic Interoperability of IoT, Edge and Cloud SystemsDevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
DevOps for Dynamic Interoperability of IoT, Edge and Cloud Systems
 
Dynamic IoT data, protocol, and middleware interoperability with resource sli...
Dynamic IoT data, protocol, and middleware interoperability with resource sli...Dynamic IoT data, protocol, and middleware interoperability with resource sli...
Dynamic IoT data, protocol, and middleware interoperability with resource sli...
 
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
Integrated Analytics for IIoT Predictive Maintenance using IoT Big Data Cloud...
 
Modeling and Provisioning IoT Cloud Systems for Testing Uncertainties
Modeling and Provisioning IoT Cloud Systems for Testing UncertaintiesModeling and Provisioning IoT Cloud Systems for Testing Uncertainties
Modeling and Provisioning IoT Cloud Systems for Testing Uncertainties
 
Characterizing Incidents in Cloud-based IoT Data Analytics
Characterizing Incidents in Cloud-based IoT Data AnalyticsCharacterizing Incidents in Cloud-based IoT Data Analytics
Characterizing Incidents in Cloud-based IoT Data Analytics
 
Enabling Edge Analytics of IoT Data: The Case of LoRaWAN
Enabling Edge Analytics of IoT Data: The Case of LoRaWANEnabling Edge Analytics of IoT Data: The Case of LoRaWAN
Enabling Edge Analytics of IoT Data: The Case of LoRaWAN
 
Analytics of Performance and Data Quality for Mobile Edge Cloud Applications
Analytics of Performance and Data Quality for Mobile Edge Cloud ApplicationsAnalytics of Performance and Data Quality for Mobile Edge Cloud Applications
Analytics of Performance and Data Quality for Mobile Edge Cloud Applications
 
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
Testing Uncertainty of Cyber-Physical Systems in IoT Cloud Infrastructures: C...
 
Deep Context-Awareness: Context Coupling and New Types of Context Information...
Deep Context-Awareness: Context Coupling and New Types of Context Information...Deep Context-Awareness: Context Coupling and New Types of Context Information...
Deep Context-Awareness: Context Coupling and New Types of Context Information...
 
Managing and Testing Ensembles of IoT, Network functions, and Clouds
Managing and Testing Ensembles of IoT, Network functions, and CloudsManaging and Testing Ensembles of IoT, Network functions, and Clouds
Managing and Testing Ensembles of IoT, Network functions, and Clouds
 
Towards a Resource Slice Interoperability Hub for IoT
Towards a Resource Slice Interoperability Hub for IoTTowards a Resource Slice Interoperability Hub for IoT
Towards a Resource Slice Interoperability Hub for IoT
 
On Supporting Contract-aware IoT Dataspace Services
On Supporting Contract-aware IoT Dataspace ServicesOn Supporting Contract-aware IoT Dataspace Services
On Supporting Contract-aware IoT Dataspace Services
 
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
Towards the Realization of Multi-dimensional Elasticity for Distributed Cloud...
 
On Engineering Analytics of Elastic IoT Cloud Systems
On Engineering Analytics of Elastic IoT Cloud SystemsOn Engineering Analytics of Elastic IoT Cloud Systems
On Engineering Analytics of Elastic IoT Cloud Systems
 
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
HINC – Harmonizing Diverse Resource Information Across IoT, Network Functions...
 
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
SINC – An Information-Centric Approach for End-to-End IoT Cloud Resource Prov...
 
Governing Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under UncertaintiesGoverning Elastic IoT Cloud Systems under Uncertainties
Governing Elastic IoT Cloud Systems under Uncertainties
 

Recently uploaded

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 

Recently uploaded (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 

Programming Elasticity in the Cloud

  • 1. Tutorial: Programming Elasticity in the Cloud Hong-Linh Truong Distributed Systems Group Vienna University of Technology truong@dsg.tuwien.ac.at http://dsg.tuwien.ac.at/research/viecom/ Cloudcom 2014, 15 Dec, 2014, Singapore 1 The 6th International Conference on Cloud Computing Technology and Science
  • 2. Distributed Systems Group@TU Wien  ~ 30 people, 1 full prof., 1 Priv-Doz, 4 post-docs, 16 phd students, ~14 nationalities  Working on cloud computing, elastic computing, SOC/SOA, IoT, internet engineering, service analytics, social computing, and process management. Cloudcom 2014, 15 Dec, 2014, Singapore 2
  • 3. Joint work with: Schahram Dustdar, Muhammad Candra, Georgiana Copil, Duc- Hung Le, Daniel Moldovan, Stefan Nastic, Tien-Dung Nguyen, Anindita Sarkar, Ognjen Scekic, Philipp Zeppezauer Cloudcom 2014, 15 Dec, 2014, Singapore 3 NOTE: The content includes some ongoing work Acknowledgements
  • 4. Outline  Part 1 – Elastic Computing Principles and Models  Motivation scenario, Elastic principles and the Vienna Elasticity Computing Model  Part 2 – Techniques for programming and eingeering elasticity for native cloud services  Configuration, deployment, monitoring, and control with COMOT and its Salsa, SYBL, MELA  Part 3  Hand-on exercise  Summary Cloudcom 2014, 15 Dec, 2014, Singapore 4
  • 5. PART 1: ELASTIC COMPUTING - PRINCIPLES AND MODELS Cloudcom 2014, 15 Dec, 2014, Singapore 5
  • 6. Some 50 billion devices and sensors exist for M2M applications IoT and Cloud Computing enable smart services ecosystem and collaboration opportunities Managed services • Portfolio management • Event management • Analytics Provisioning • Services • SIM profile configuration • Network configuration Controls • Activation • Deactivation • Privacy • Security Transaction Mgmt. • Visibility • Billing • Reporting Integration framework Algorithm Chart engine builder Predictiv e modeling Incidents manager Expert rule engine FDD Service Mgmt Storage policies Databas e Operations manger manager Portfolio Mgmt Analyic s engine Blackbo x module Location awarenes s GUI builde r Event mgmt Data mining Resource mgmt. Regressio n engine Open integratio n platform Resource manager Point metering framewor k Numerous Forms Of Smart Services… Access control Environment Compliance Street Light Management Food Transfer Process Public Safety Industrial process parameter s Parking Control Waste Management Facilities Control HealthCare Power Quality Control Lighting Control KIOSK Monitoring CCTV Monitoring Hospitality Sector Healthcare Sector Transport Sector Education Sector Datacenters Government Sector Industrial Sector Finance Sector Utilities and Smart Grid Airports, ports and Critical Infrastructure Ubiquitous Managed Services Solution Across Business Verticals Cloudcom 2014, 15 Dec, 2014, Singapore 6
  • 7. Motivation  City-scale proactive and predictive maintenance  What do we need  Sensors and actuators  IoT cloud platforms: gateways/VMs, complex event processing, message-oriented middleware, etc.  (Big/smart) data analytics services and storages  Human experts  Many stakeholders  Cloud provider, maintenance operators, IoT platform developers/providers, data analytics developer/provider, domain experts, etc. Cloudcom 2014, 15 Dec, 2014, Singapore 7
  • 8. Scenario Cloudcom 2014, 15 Dec, 2014, Singapore 8 Offers services for handling IoT Data Offers services for big, data analytics Offers services for complex problem solving using human experts IoT Cloud Platform Data Analytics Platform Expert Provisioning Platform Sensors <<send data>> <<analyze data>> <<notify possible problem>> <<control/configure sensors>> Predictive maintenance company <<monitor>> Chillers <<predict and solve problems>> <<control services>> <<control algorithms>>
  • 9. Observations  Data resources  Activate/change sensor deployment/configurations for required data; changing types of data sources for analytics  Cloud platform services  Deploy/reconfigure cloud services handling changing data  Data analytics  Switch and combine different types of data analytics processes and engines due to the severity of problems and quality of results  Teams of human experts  Forming and changing different configurations of teams during the specific problems and problem severity. Cloudcom 2014, 15 Dec, 2014, 9 Singapore
  • 10. Elasticity in computing – broad view 1. Demand elasticity Elastic demands from consumers 2. Output elasticity Multiple outputs with different price and quality 3. Input elasticity Elastic data inputs, e.g., deal with opportunistic data 4. Elastic pricing and quality models associated resources Cloudcom 2014, 15 Dec, 2014, Singapore 10
  • 11. Diverse types of elasticity requirements  Application user: “If the cost is greater than 800 Euro, there should be a scale-in action for keeping costs in acceptable limits”  Software provider: “Response time should be less than amount X varying with the number of users.”  Developer: “The result from the data analytics algorithm must reach a certain data accuracy under a cost constraint. I don’t care about how many resources should be used for executing this code.”  Cloud provider: “When availability is higher than 99% for a period of time, and the cost is the same as for availability 80%, the cost should increase with 10%.” Cloudcom 2014, 15 Dec, 2014, Singapore 11
  • 12. Complex dependencies in elasticity  More data is needed only when necessary  More data  more computational resources (e.g. more VMs)  More types of data  different types of analytics processes  different computational models  Change quality of results  quality of data  response time  cost  types of result (form of the data output, e.g. tree, visual, story, etc.) 12 Data Computational Model Analytics Process Analytics Result Data Data Datax Datay Dataz Computational Modelx Computational Model y Computationyal Modelz Computational Analytics Process AnalytPicrsocess Process Analytics AnalyPtricoscess Process Analytics Quality of Result Cloudcom 2014, 15 Dec, 2014, Singapore
  • 13. Elasticity with multiple types of resources Machine-based Computing Human-based Computing Things-based computing Grid Processing Unit Comm. Architecture SMP S. Dustdar, H. Truong, “Virtualizing Software and Humans for Elastic Processes in Multiple Clouds – a Service Management Perspective”, in International Journal of Next Generation Computing, 2012 Ad hoc networks Web of things Cloudcom 2014, 15 Dec, 2014, Singapore 13
  • 14. SO HOWDO WESUPPORTTHESEISSUESIN A SYSTEMATICALWAY? Cloudcom 2014, 15 Dec, 2014, Singapore 14
  • 15. Resource elasticity Software / human-based computing elements, multiple clouds Quality elasticity Non-functional parameters e.g., performance, quality of data, service availability, human trust Costs & Benefit elasticity rewards, incentives Elasticity Multi-dimensional Elasticity Cloudcom 2014, 15 Dec, 2014, Singapore 15
  • 16. The Vienna Elastic Computing Model  Multi-dimensional Elasticity  Service computing models  Cloud provisioning models Schahram Dustdar, Hong Linh Truong: Virtualizing Software and Humans for Elastic Processes in Multiple Clouds- a Service Management Perspective. IJNGC 3(2) (2012) Cloudcom 2014, 15 Dec, 2014, Singapore 16
  • 17. Vienna Elastic Computing Model  Multi-dimensional elasticity  Resource, quality, cost and benefits  Elasticity in hybrid systems of human-based, things-based and software-based computing resources  Software, things and human capabilities as computing resources in multi clouds  End-to-end approach  For science and business complex applications dsg.tuwien.ac.at/research/viecom Cloudcom 2014, 15 Dec, 2014, Singapore 17
  • 18. Unified elastic service unit model for Things, Software and People Cloudcom 2014, 15 Dec, 2014, Singapore 18 Modeling type of units (e.g., computation, data, monitor,) and their dependencies Consumption, ownership, provisioning, price, etc. Elastic Service Unit Service model Unit Dependency Elastic Capability Function The functional capability of the unit and interface to access the function Capabilities to be elastic under different requirements Software People VolunteersProfessionals Thing Resources
  • 19. Things: software-Defined IoT Units  Virtualizing IoTs resources under “service units” with software-defined API for accessing, configuring and controlling units  Composing and creating gateways and virtual topologies (of multiple gateways)  Provisioning (atomic and composite) units dynamically and on-demand in cloud and edge computing environments  Controlling elasticity based on resource, quality and cost via software-defined APIs Software-defined IoT Unit Functional API Utility cost-function IoT resource and functionality binding Late-bound policies Infrastructure capabilities Governance API Dependency units Provisioning API Runtime mechanisms Runtime controllers (e.g, elasticity) Non-functional aspects Runtime composition Functional aspects Atomic software-defined IoT units Custom proc. logic IoT data storage Communication In-memory image VPN Messaging Sand box Network overlay Protocol Volatile History Key/Value store Security Data quality Outliers filter IoT compute GW runtime Data point controller CEP Component -model Elasticity Auto scaling group controller Functional capabilities Non-functional capabilities ... ... Monitor. Config. Cloudcom 2014, 15 Dec, 2014, Singapore 19 Stefan Nastic, Sanjin Sehic, Le-Duc Hung, Hong-Linh Truong, and Schahram Dustdar (2014). Provisioning Software-defined IoT Cloud Systems. The 2nd International Conference on Future Internet of Things and Cloud (FiCloud-2014), August27-29, 2014, Barcelona, Spain.
  • 20. People: incorporating humans into a programming paradigm Volunteers Individual Team Professionals Service-based Middleware Monitoring Communication Capability/Profile Management Provisioning/Negotiation/Execution API Abstraction of Human-based Compute Units ICU ICU SCU SCU Program languages and programming models Program elements Software , Things Compute Units program human actions and dependencies program incentive condition and rewarding action program result evaluation method Human-to-middleware interfaces: •visualization of collective tasks •embedding of common forms •mobile app 20 Cloudcom 2014, 15 Dec, 2014, Singapore SCU Hong Linh Truong, Schahram Dustdar, Kamal Bhattacharya: Programming Hybrid Services in the Cloud. ICSOC 2012: 96-110 (Best Paper Award)
  • 21. PART 2: TECHNIQUES FOR PROGRAMMING AND ENGINEERING ELASTICITY FOR NATIVE CLOUD SERVICES Cloudcom 2014, 15 Dec, 2014, Singapore 21
  • 22. Service Developer Infrastructure Provider Service Owner Service Developer Designing and programming software-defined elastic services Automatic deployment and configuration Elasticity monitoring and analysis Elasticity Control Service Owner Infrastructure Provider Service Owner Easy to program elasticity requirements Reduced time to market, easy to reconfigure + Easy to understand service’s elasticity boundaries + Maintains service’s performance while reducing cost Reduces resources overprovisioning + Elastic cloud service engineering Cloudcom 2014, 15 Dec, 2014, Singapore 22 Native elastic cloud service engineering Several owners, developers and providers from different organizations
  • 23. Elasticity Metrics Elasticity Requirements Elasticity capabilities (e.g. scale IN/OUT) So what need to be done? A simple view Cloudcom 2014, 15 Dec, 2014, Singapore 23 Programming and deploying services
  • 24. Fundamental building blocks for the elasticity  Conceptualizing and modeling elastic objects and execution environments  So we can manage diverse types of artifacts and their runtime in a similar manner  Defining and capturing elasticity primitive operations associated with elastic objects and environments  Recommending and Programming elastic objects  a software-defined elastic system (SES) is built from elastic objects  Runtime deploying, control, monitoring and testing techniques for elastic objects Cloudcom 2014, 15 Dec, 2014, Singapore 24
  • 25. Need to model/capture elasticity primitive operations Cloudcom 2014, 15 Dec, 2014, Singapore 25
  • 26. Deploying, Control, Monitoring and Testing  Runtime configuration  Complex services at multiple software stacks (VM, OS container, ApplicationContainer, Web services, etc)  Interfaces with different low-level deployment techniques  Different interactions between deploying and control and monitoring components  Control elasticity  Using a high-level specification for specifying elasticity requirements, constraints and strategies  Based on SYBL/rSYBL ([CCGrid 2013, ICSOC 2013, ICSOC 2014]) Cloudcom 2014, 15 Dec, 2014, Singapore 26
  • 27. Deploying, Control, Monitoring and Testing  Elasticity monitoring and analysis  Utilize low-level metrics to build „Elasticity Space“ and analyze the elasticity based on such spaces (based on MELA – [CloudCom 2013, CloudCom 2014, IJDBI])  Monitoring/analysis at multiple levels level (single unit, topology/group, and the whole service  Testing elasticity  Using clouds to test cloud applications as well as to test elasticity properties of cloud applications [ASE2013, IC2014] Cloudcom 2014, 15 Dec, 2014, Singapore 27
  • 28. Software-defined Elastic System Programming Tooling – Elasticity Programming in Cloud Systems Elastic Service Ecosystem and Recommendation Deployment Deployment Service Test Generating and Execution Elastic Test Service deploy SDS/ service units deploy elasticity controller and monitor Elasticity Analysis deploy test cases Elasticizing Elasticity Monitoring and Analysis Elasticity Control test control monitor CoMoT Core Services Multi-Cloud Environments Service Ecosystems Service Artifact Repository Service units CoMoT (1) Cloudcom 2014, 15 Dec, 2014, Singapore 28 Hong-Linh Truong et al., "CoMoT – A Platform-as-a-Service for Elasticity in the Cloud", IEEE International Workshop on the Future of PaaS. Colocated with IC2E 2014
  • 29. CoMoT (2)  CoMoT is built atop:  QUELLE, rSYBL, MELA, SALSA  Work on multi-cloud environments  Parts of complex applications are deployed in different clouds  http://tuwiendsg.github.io/ Cloudcom 2014, 15 Dec, 2014, Singapore 29
  • 30. QUELLE – QUantifying ELasticity utiLity Engine Cloudcom 2014, 15 Dec, 2014, Singapore 30 Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, QUELLE – a Framework for Accelerating the Development of Elastic Systems, ESOCC 2014. September 2014
  • 31. SALSA – runtime configuration framework https://github.com/tuwiendsg/SALSA Cloudcom 2014, 15 Dec, 2014, Singapore 31 Support cloud services at data centers and IoT environments
  • 32. rSYBL – Elasticity Control Engine Cloudcom 2014, 15 Dec, 2014, Singapore 32
  • 33. MELA -- Elasticity Monitoring as a Service Cloudcom 2014, 15 Dec, 2014, Singapore 33 Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Elasticity Analytics for Cloud Services, International Journal of Big Data Intelligence, 2014
  • 34. Toolsets and actions for elasticity control, analytics and management Cloudcom 2014, 15 Dec, 2014, Singapore 34
  • 35. Multi-cloud, multi-stack, complex topologies configuration Cloudcom 2014, 15 Dec, 2014, Singapore 35  Well-defined APIs for manipulating and provisioning objects  Support different types of objects, e.g., VMs, OS containers, services, service containers, IoT sensors, gateways, Data center services Sensors Come to see our paper at Section 2A , 15:30-17:30, Tue 16 Dec
  • 36. High level elasticity control #SYBL.CloudServiceLevel Cons1: CONSTRAINT responseTime < 5 ms Cons2: CONSTRAINT responseTime < 10 ms WHEN nbOfUsers > 10000 Str1: STRATEGY CASE fulfilled(Cons1) OR fulfilled(Cons2): minimize(cost) #SYBL.ServiceUnitLevel Str2: STRATEGY CASE ioCost < 3 Euro : maximize( dataFreshness ) #SYBL.CodeRegionLevel Cons4: CONSTRAINT dataAccuracy>90% AND cost<4 Euro Georgiana Copil, Daniel Moldovan, Hong-Linh Truong, Schahram Dustdar, "SYBL: an Extensible Language for Controlling Elasticity in Cloud Applications", 13th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid), May 14-16, 2013, Delft, Netherlands Cloudcom 2014, 15 Dec, 2014, Singapore 36
  • 37. Configurations for multiclouds Cloudcom 2014, 15 Dec, 2014, Singapore 37 .. <ServiceElasticityPrimitives id="FCO" ServiceProvider="Flexiant FCO"> <ElasticityPrimitive id="ScaleIn" name="Remove VM" parameters=""/> <ElasticityPrimitive id="ScaleOut" name="Create new VM" parameters=""/> <ElasticityPrimitive id="AllocateIP" name="Allocate public IP" parameters="UUID"/> <ElasticityPrimitive id="AttachDisk" name="Attach NewDisk" parameters="UUID"> … <PrimitiveDependency dependencyType="AFTER_ENFORCEMENT" primitiveID="Reboot"/> … MultipleEnforcementPlugins = flexiant:at.ac.tuwien.dsg.rSybl.cloudInteractionUnit.enfor cementPlugins.flexiant.EnforcementFlexiantAPI, openstack:at.ac.tuwien.dsg.rSybl.cloudInteractionUnit.en forcementPlugins.openstack.EnforcementOpenstackAPI Configuraring low-level Plug-ins to work with multiple clouds Configuraring and capturing elasticity primitive operations associated with service units
  • 38. Mapping Services Structures to Elasticity Metrics Cloudcom 2014, 15 Dec, 2014, Singapore 38 Elasticity directives can be changed at runtime
  • 39. Multi-cloud example M2MDaaS: STRATEGY CASE avgBufferSize<5 : minimize(cost) CONSTRAINT avgBufferSize<50 CONSTRAINT responseTime<50 ms STRATEGY CASE responseTime<40ms AND throughput<20ops/s : scalein Load relationship bufferSize requests Cloudcom 2014, 15 Dec, 2014, Singapore 39 Georgiana Copil, Daniel Moldovan, Hong-Linh Truong, Schahram Dustdar, "On Controlling Cloud Services Elasticity in Heterogeneous Clouds", 6th Cloud Control Workshop, 7th IEEE/ACM International Conference on Utility and Cloud, 2014
  • 40. Elasticity Analytics for Cloud Services Moldovan D., G. Copil,Truong H.-L., Dustdar S. (2013). MELA: Monitoring and Analyzing Elasticity of Cloud Service. CloudCom 2013 Elasticity space functions: to determine if a service unit/service is in the “elasticity behavior” Elasticity Pathway functions: to characterize the elasticity behavior from a general/particular view Elasticity Space Cloudcom 2014, 15 Dec, 2014, Singapore 40
  • 41. Multi-level monitoring and analysis Cloudcom 2014, 15 Dec, 2014, Singapore 41
  • 42. Multi-level monitoring and analysis 4 2 Elasticity Function for Demo Apply different elasticity path/space functions Cloudcom 2014, 15 Dec, 2014, Singapore Cloud Service Service Topology Service Unit Code Region Scopes in service structure Common functions/user-defined functions Serveral possible Elasticity Space and Pathway functions  for different types of service and elasticity behaviors Elastic test frameworks Benchmarks Machine learning
  • 43. Examples of functions for Elasticity Space and Pathway Change point detection algs Alessio Gambi, Daniel Moldovan, Georgiana Copil, Hong Linh Truong, Schahram Dustdar: On estimating actuation delays in elastic computing systems. SEAMS 2013: 33-42 Elasticity Space Func Elasticity Pathway Func cost Pathway 2 quality cost Pathway 1 quality Cloudcom 2014, 15 Dec, 2014, Singapore 43
  • 44. Elasticity Space Monitoring as a Service  Elasticity Signature Function Customization  Uses simple composition rules (+,-,*,/, AVG, MIN/MAX, KEEP LAST and CONCAT)  Defines different composite metrics for different entities at each level of the app structure  Each composite metric is propagated to the higher-level parent.  Elasticity Signature Boundary  Different restrictions attached to different levels and entities Cloudcom 2014, 15 Dec, 2014, Singapore 44 Elasticity Function for Demo
  • 45. Elasticity space and pathway analytics Cloudcom 2014, 15 Dec, 2014, Singapore 45 Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, MELA: Elasticity Analytics for Cloud Services, International Journal of Big Data Intelligence, 2014
  • 46. Elasticity dependency analysis  The elasticity of a service unit affects the elasticity of another unit. How to characterize such cause-effect: elasticity dependency  Modeling collective metrics evolution in relation to requirements Cloudcom 2014, 15 Dec, 2014, Singapore 46 Daniel Moldovan, Georgiana Copil, Hong-Linh Truong, Schahram Dustdar, On Analyzing Elasticity Relationships of Cloud Services, 6th International Conference on Cloud Computing Technology and Science, 15-18 December 2014, Singapore Come to see our paper at Section 4C , 10:30-12:00, Thu 18 Dec
  • 47. Enable elasticity reconfiguration at runtime Cloudcom 2014, 15 Dec, 2014, Singapore 47 Analysis detects problems but predefined strategies do not always work! Changing elasticity specifications at runtime without stoping services
  • 48. Elasticity behavior learning Complex Cloud Service Elastic Cloud Service (running) Deployed Elasticity control process Elasticity Control Processes What would be the elasticity behavior? Elasticity requirements Elasticity controller Georgiana Copil, Demetris Trihinas, Hong-Linh Truong, Daniel Moldovan, George Pallis, Schahram Dustdar, Marios Dikaiakos. "ADVISE - a Framework for Evaluating Cloud Service Elasticity Behavior" the 12th International Conference on Service Oriented Computing. Paris, France, 3-6 November, 2014. (Best Paper Award) Which elasticity controls are the best for a given situation? Learning process Control Cloudcom 2014, 15 Dec, 2014, Singapore 48
  • 49. Part 3: Hand-on exercise http://tuwiendsg.github.io/COMOT/elasticityDemo.html https://t.co/eNY4rAAxXe Cloudcom 2014, 15 Dec, 2014, Singapore 49
  • 50. Summary (1)  Support principles of multi-dimensional elasticity to achieve flexibility and dynamics in multi-cloud environments for complex problems  Coordinating elasticity across platforms need concepts of elastic objects and fundamental building blocks for engineering an end-to-end elasticity for cloud services  Need runtime elasticity techniques for dealing with diverse types of services Cloudcom 2014, 15 Dec, 2014, Singapore 50
  • 51. Summary (2)  COMOT introduces concepts of elastic objects and fundamental building blocks for engineering an end-to-end elasticity for cloud services  COMOT supports design, deployment, control, monitoring and testing of elasticity in interwoven engineering phases  COMOT, SALSA, SYBL, and MELA provides ready-to-use prototypes for domain-specific languages, configuration, analytics and control services for elasticity  Tested in real-world scenarios and industrial settings Cloudcom 2014, 15 Dec, 2014, Singapore 51
  • 52. Thanks for your attention! Hong-Linh Truong Distributed Systems Group Vienna University of Technology truong@dsg.tuwien.ac.at dsg.tuwien.ac.at/research/viecom https://twitter.com/dsg_tuwien https://t.co/eNY4rAAxXe Cloudcom 2014, 15 Dec, 2014, Singapore 52