www conference 2012 - web-engineering - cloudgenius

37
CloudGenius: Decision Support for Web Server Migration to the Cloud Michael Menzel , Rajiv Ranjan KIT, UNSW WWW Conference Web Engineering II Lyon, 2012

Upload: michael-menzel

Post on 03-Jul-2015

197 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: WWW Conference 2012 - Web-Engineering - Cloudgenius

CloudGenius: Decision Support for

Web Server Migration to the Cloud

Michael Menzel, Rajiv Ranjan

KIT, UNSW

WWW Conference – Web Engineering II

Lyon, 2012

Page 2: WWW Conference 2012 - Web-Engineering - Cloudgenius

Agenda

1. Motivation

2. CloudGenius Framework

3. CumulusGenius Tool

4. Experiments & Evaluation

5. Conclusion

6. Future Work

Page 3: WWW Conference 2012 - Web-Engineering - Cloudgenius

MOTIVATION

Page 4: WWW Conference 2012 - Web-Engineering - Cloudgenius

Web Servers in the Cloud

• ... to gain Cloud features

– Elasticity (slashdot)

– Pay-per-use

– Global distribution

– ...

• What to be done?

• Where to go? (Cloud compute service)

Page 5: WWW Conference 2012 - Web-Engineering - Cloudgenius

Options for Realization

• 3 Options to migrate a Web server

– Convert it into a Cloud-compatible VM image

– Rebuild on a basic VM image

– Adopt prepared Web server VM image

Converted

VM

Image

Basic

VM

Image

Prepared

VM

Image

Less effort

Higher Customizability

Page 6: WWW Conference 2012 - Web-Engineering - Cloudgenius

Web Server Migration Problem

Web server

Cloud Provider A

Service

A

Service

B

Provider

evaluation

Service

evaluation

Web server

requirements

Web server

goals

Service

decisionCloud Provider B

Servic

e C

Image

decision

Image

evaluation

Image A

Image C

Image B?

?

Composite

decision

VM imagesinfluences

choose

Page 7: WWW Conference 2012 - Web-Engineering - Cloudgenius

CLOUDGENIUS FRAMEWORK

Page 8: WWW Conference 2012 - Web-Engineering - Cloudgenius

Elements of the

CloudGenius Framework

Set

Goals/Preferenc

es

Evaluate Images

& Services

Select Image &

Service

Deploy, Customi

ze... ...

Engineer

CloudGenius

Cloud

Model

requirements

Multi-Criteria Decision-

Making Method (AHP)criteria

1. Alternative 2

(0.8966)

2. Alternative 1

(0.1211)

3. ...

Cyclic process Model Evaluation methods

+ +

Page 9: WWW Conference 2012 - Web-Engineering - Cloudgenius

CloudGenius

Migration Process (condensed)

Set

Goals/Preferen

ces

Evaluate

Images &

Services

Select Image &

Service

Deploy, Custom

ize... ...

Engineer

CloudGenius

Cloud

Model

Page 10: WWW Conference 2012 - Web-Engineering - Cloudgenius

CloudGenius

Model of Cloud Landscape

• VM Images & Compute Services have attributes

• Attributes are basis for criteria and requirements

• VM Images and Services are related

Model holds Data

Page 11: WWW Conference 2012 - Web-Engineering - Cloudgenius

Evaluation Methods

Leverage (MC2)2 Framework [1]

appropriate alternatives

Alternative n

Alternative 2

Alternative 1

requirements

Multi-Criteria

Decision-Making

Method (AHP)criteria

1. Alternative 2 (0.8966)

2. Alternative 1 (0.1211)

3. ...

(MC2)2 allows to create evaluation

methods with given criteria and

requirements

Resulting evaluation methods

filter and evaluate alternatives

We settle for AHP

for normalized evaluations

[1] Menzel, M., Schönherr, M., Nimis, J., & Tai, S. (2010). (MC2)2: A Generic Decision-

Making Framework and its Application to Cloud Computing. In Procs. International

Conference on Cloud Computing and Virtualization (CCV 2010), Singapore.

Page 12: WWW Conference 2012 - Web-Engineering - Cloudgenius

Evaluate VM Images VM

Image

Attributes [2]

[2] S. Kalepu, S. Krishnaswamy, and S. Loke. Verity: A QoS Metric for Selecting Web Services and Providers. In Web Information

Systems Engineering Workshops, 2003. Proceedings. Fourth International Conference on, pages 131-139. IEEE, 2003.

Page 13: WWW Conference 2012 - Web-Engineering - Cloudgenius

Evaluate Compute Services

Attributes [3]

[3] S. Kalepu, S. Krishnaswamy, and S. Loke. Verity: A QoS Metric for Selecting Web Services and Providers. In Web Information

Systems Engineering Workshops, 2003. Proceedings. Fourth International Conference on, pages 131-139. IEEE, 2003.

Page 14: WWW Conference 2012 - Web-Engineering - Cloudgenius

Define Goals/Preferences

Assign weights in pairwise comparisons (per level)

Page 15: WWW Conference 2012 - Web-Engineering - Cloudgenius

Evaluate Combinations

{ } { }x = { }Weighted

Not all Combinations are viable!

AMI

VM

ImageVM

Image

Evaluated set of combinations

Page 16: WWW Conference 2012 - Web-Engineering - Cloudgenius

CUMULUSGENIUS

IMPLEMENTATION

Page 17: WWW Conference 2012 - Web-Engineering - Cloudgenius

CumulusGenius

• Implementation of the model, evaluation

methods in Java [2]

• Basis for Experiments and future Tools

• jClouds for deployments on EC2

[4] available as java library: http://code.google.com/p/cumulusgenius

Page 18: WWW Conference 2012 - Web-Engineering - Cloudgenius

EXPERIMENTS & EVALUATION

Page 19: WWW Conference 2012 - Web-Engineering - Cloudgenius

Experimental Setup

• Employed CumulusGenius Implementation

• Generated Database of VM Images &

Compute Services

– Attribute values in plausible ranges

– Every combination viable

• All Criteria have same weight

• 20 Runs with growing Database size

Page 20: WWW Conference 2012 - Web-Engineering - Cloudgenius

AMI & Service Evaluation

• Service evaluation

has higher effort

• AMI & Service

evaluation

not growing linearly

Page 21: WWW Conference 2012 - Web-Engineering - Cloudgenius

Experiment Results

(avg. 20 runs)

• Non-linearly growing computation time

Page 22: WWW Conference 2012 - Web-Engineering - Cloudgenius

Evaluation

• Currently 10,000 AMIs on Amazon alone!

• Filtering important

• Fast evaluation algorithm

– Parallelization

– Heuristics such as Genetic Algorithms

Page 23: WWW Conference 2012 - Web-Engineering - Cloudgenius

Conclusion

• Framework for Migration of Web servers

– Cylcic Process

– Model

– Evaluation Methods

• Implementation CumulusGenius

– Java library

• Experiments regarding computation time

– Non-linear growing

Page 24: WWW Conference 2012 - Web-Engineering - Cloudgenius

• Improve attribute list

– Talk to experts (ongoing: German Telekom)

– Public prototype, evaluate feedback

• Apply & evaluate in real life migration

scenarios (prototype w/ GUI)

• Expand database of Cloud landscape

– Scan existing VM images for data

– Integrate existing databases

(cloudmarket, bitnami)

• Support more complex system setups

Future Work

Page 25: WWW Conference 2012 - Web-Engineering - Cloudgenius

Contact Me

For Questions, Discussions,

or Initiating Research Exchange:

Michael Menzel

Research Center for Information Technology (FZI)

Karlsruhe Institute of Technology (KIT)

Englerstr. 11

76131 Karlsruhe

Email:

[email protected]

Page 26: WWW Conference 2012 - Web-Engineering - Cloudgenius

Slides

• Made available on

http://www.slideshare.net/mugglmenzel

next week

• Made available on www2012 Website

Page 27: WWW Conference 2012 - Web-Engineering - Cloudgenius

MERCI FOR YOUR ATTENTION!

Questions, Comments, Discussion

Page 28: WWW Conference 2012 - Web-Engineering - Cloudgenius

DETAILS

Page 29: WWW Conference 2012 - Web-Engineering - Cloudgenius

Web server Migration Process

(Guidance)

Page 30: WWW Conference 2012 - Web-Engineering - Cloudgenius

Web server Migration Process – ctd.

Page 31: WWW Conference 2012 - Web-Engineering - Cloudgenius

Process supports

evolutionary Migration

Select Target Setup

Execute Migration

Set Preferences

Incorporate experience

Success!R

Page 32: WWW Conference 2012 - Web-Engineering - Cloudgenius

Model

Page 33: WWW Conference 2012 - Web-Engineering - Cloudgenius

Evaluate VM Images VM

Image

Page 34: WWW Conference 2012 - Web-Engineering - Cloudgenius

Evaluate Compute Services

Page 35: WWW Conference 2012 - Web-Engineering - Cloudgenius

Combining AMIs & Services

Page 36: WWW Conference 2012 - Web-Engineering - Cloudgenius

CumulusGenius: Web Frontend

CumulusGenius Suggester

Images Services

currentness of data?

Aotearoa Evaluation

ComponentUser

GWT

Frontend

CumulusGenius

LogicUser

Preferences

Data Collector

own

benchmarks

User

Ratings

jClouds

Deployments

Page 37: WWW Conference 2012 - Web-Engineering - Cloudgenius

Apache in the Cloud?

Prepare & Plan!