SlideShare una empresa de Scribd logo
1 de 58
Demetris Trihinas
Cloud Elasticity
and the CELAR Project
Demetris Trihinas
University of Cyprus
Demetris Trihinas
Back in the old days…
10 March 2015, University of Cyprus
you had an idea…
but no money… difficult to start an
online business…
“In the early days (20 years ago), most new e-commerce sites, for example, cost a million
dollars to set up. Now the price is closer to $100” [M. Zwilling, NY Times, Jul 2014]
Why was it so difficult in the past?
Demetris Trihinas
Motivation
• he is an ambitious CS student
• he wants to develop a “youtube”
alternative
• John has no money, he must use his
knowledge and open-source tools
to develop his system
10 March 2015, University of Cyprus
Meet John!
Demetris Trihinas
Online Video Streaming Service #1
• From CS courses John learns about web service development
• Client-Sever model
10 March 2015, University of Cyprus
upload/download video
response
Clients (John’s family) Server (John’s computer)
• Processing done on client side (thick clients)
• Updating application logic code is not easy
Hosting database
(e.g. MySQL)
Desktop client (e.g.
Java) to connect
with server
Demetris Trihinas
Online Video Streaming Service #2
• Video streaming service is attracting more users (family & friends)
• John’s software development skills are getting better
• 3-tier web application
10 March 2015, University of Cyprus
upload/download video
Clients
(John’s friends and family)
application
server
store/extract video
database
Presentation layer:
CMS website (e.g.
Joomla), HTML/CSS
Application logic layer:
RESTful API, Apache
Tomcat
Data storage backend:
e.g. MySQL
Demetris Trihinas
Online Video Streaming Service #2
• John’s family and friends like the video service. They are telling
their friends about it.
• Scalability
• John’s system cannot sustain the increasing number of users
• Replace application server, database server with “stronger” ones
• Buying new servers is expensive
• Maintenance
• Software/hardware updates/upgrades
• Cooling, Security, Backups, etc.
10 March 2015, University of Cyprus
Demetris Trihinas
Back in the old days…
10 March 2015, University of Cyprus
you had an idea…
but no money… difficult to start an
online business…
“In the early days (20 years ago), most new e-commerce sites, for example, cost a million
dollars to set up. Now the price is closer to $100” [M. Zwilling, NY Times, Jul 2014]
• Infrastructure
• Hardware
• Software licences
• Maintenance
• Software updates
• Hardware upgrades
• Cooling
• Security
• Backups
Why was it so difficult in the past?
Demetris Trihinas
What to do?
10 March 2015, University of Cyprus
Demetris Trihinas
Embrace the Cloud!
10 March 2015, University of Cyprus
Demetris Trihinas
Cloud Computing
A model for enabling ubiquitous, convenient, on-demand
network access to a shared pool of configurable computing
resources (e.g., networks, servers, storage, applications, and
services) that can be rapidly provisioned and released with
minimal management effort or service provider interaction.
NIST definition, 2011
10 March 2015, University of Cyprus
source: http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf
Demetris Trihinas 10 March 2015, University of Cyprus
http://cloudtweaks.com/2012/09/true-facts-to-help-you-talk-about-cloud-computing-in-the-social-scene/
Demetris Trihinas
5 Essential Cloud Characteristics
10 March 2015, University of Cyprus
Demetris Trihinas
John now knows what to do…
10 March 2015, University of Cyprus
Demetris Trihinas
Online Video Streaming Service #3
• John moves video service to the Cloud!
• He has learnt about Cloud application development
• Video service is now scalable
10 March 2015, University of Cyprus
store/extract video
.
.
.
.
.
.
upload/download
video
Distribute
client requests
clients
Application Server Tier Database Backend
Load Balancer
Cloud
Provider
Demetris Trihinas
Elasticity in Cloud Computing
• Ability of a system to expand or contract its dedicated resources
to meet the current demand
10 March 2015, University of Cyprus
Workload(req/s)
Time (s)
De-allocate unused
resources to reduce cost
Allocate resources to
increase throughput
Provision only the
required resources
Stakeholders state that elasticity
(54%) and cost reduction (48%)
are driving cloud adoption
[FOC Survey 2013]
Demetris Trihinas
Elasticity Control
• MAPE-K control loop (Monitoring, Analysing, Planning, Executing
using Knowledge)
10 March 2015, University of Cyprus
Resource
Utilization
Application
Behaviour
“…automatic resource provisioning is challenging due to the fact that monitoring and
managing elastic cloud services is not a trivial task…”
Monitor
Analyse Plan
Execute
Knowledge
Elastic Cloud Service
"Managing and Monitoring Elastic Cloud Applications", D. Trihinas and C. Sofokleous and N. Loulloudes and A. Foudoulis
and G. Pallis and M. D. Dikaiakos, 14th International Conference on Web Engineering (ICWE 2014), Toulouse, France 2014
Demetris Trihinas
Online Video Streaming Service #5
• John decides to use an elasticity controller to scale his application
10 March 2015, University of Cyprus
store/extract video
.
.
.
.
.
.
Distribute
client requests
Application Server Tier Database Backend
Load Balancer
add/remove resourcesElasticity
Controller
if (metricA > X) then add VM
else if (metricA < X) then remove VM
else if (metricB > Y) then increase RAM
…
upload/download
video
clients
Elasticity constraints are to complex for users and based on low-level metrics
Cloud
Provider
Demetris Trihinas
Current Elasticity Controllers
10 March 2015, University of Cyprus
• Manual or semi-automated
elasticity control
• Vendor-specific
AutoScaling
• Elasticity modelled as a one-dimensional property
• No control over cost, performance and quality
• Only fine-grained elasticity control
• e.g. add/remove virtual instances
Demetris Trihinas 10 March 2015, University of Cyprus
Fully Automated
Intelligent Decision
Making Algorithms
Application
Management
Vendor
Neutrality
Multi-layer Scalable
Monitoring
Multi-Dimensional
Control
Open-Source
Multi-Grain
Elasticity Control
www.celarcloud.eu
Demetris Trihinas
CELAR Architecture
10 March 2015, University of Cyprus
CELAR is deployed around the
Cloud Infrastructure
Demetris Trihinas
Distributed multi-tier application
management in the cloud is
difficult… can we make it simpler?
10 March 2015, University of Cyprus
Demetris Trihinas
CAMF
• A Cloud Application Management Framework providing
developers a complete set of graphical tools for:
 Describing cloud applications topologies
 Defining elasticity requirements and scaling actions
 Deploying cloud application description(s) on any cloud
platform
 By adopting the open OASIS TOSCA standard
 Managing complete lifecycle of a cloud application
 Open-source (on top of Eclipse Rich Client Platform)
10 March 2015, University of Cyprus
Demetris Trihinas
Cloud Application Management
• Emerging technology
• CSC acquired ServiceMesh for $350M
10 March 2015, University of Cyprus
CloudFormation
• Current frameworks lack in:
• Application portability – “describe once, deploy anywhere”
• “vendor neutrality (interoperability) is one of the main challenges in cloud
application management” [Gartner, CMP Landscape 2012]
Demetris Trihinas
CAMF
10 March 2015, University of Cyprus
“c-Eclipse: An Open-Source Management Framework for Cloud Applications", C. Sofokleous, N. Loulloudes, D.Trihinas, G.Pallis and
M. D. Dikaiakos, 20th International Conference on Parallel Processing (Euro-Par 2014), Porto, Portugal 2014
CSARCSAR
Demetris Trihinas
CAMF Modular Architecture
10 March 2015, University of Cyprus
Demetris Trihinas
CAMF
Try it! https://projects.eclipse.org/projects/technology.camf
10 March 2015, University of Cyprus
Cloud Project View
- Application Artifacts
- Deployment Scripts
- SSH Keys
- Resizing Scripts
- Custom Monitoring
Probes
Drag-n-Drop
Modeling Canvas
Properties View Palette
-Cloud resource
metadata
Demetris Trihinas
Elasticity Policy Definition
• Multi-grain elasticity policy definition
• Application’s constraints related to cost, performance and quality metrics
• Express specific strategies to be enforced when constraints are violated
• Based on powerful and flexible SYBL definition language
10 March 2015, University of Cyprus
Elasticity Policy View -> No knowledge of SYBL is required!
Demetris Trihinas
Cloud Provider Selection
• Users can:
– Select a Cloud provider to deploy their application(s)
– Add a new provider to the list by providing their CELAR endpoint and authentication
credentials
10 March 2015, University of Cyprus
Demetris Trihinas
Submit Application for Execution
10 March 2015, University of Cyprus
Demetris Trihinas 10 March 2015, University of Cyprus
The status of the deployments is shown in the Application Deployments View
John’s Video Service Description via CAMF
Demetris Trihinas
What about monitoring elastic
multi-cloud services?
10 March 2015, University of Cyprus
Demetris Trihinas
Cloud Monitoring Challenges
• Monitor heterogeneous types of information and resources
• Extract metrics from multiple levels of the cloud
• Low-level metrics (i.e. CPU usage, network traffic)
• High-level metrics (i.e. application throughput, latency, availability)
• Metrics collected at different time granularities
• Non-intrusiveness
10 March 2015, University of Cyprus
Demetris Trihinas
Cloud Monitoring Challenges
• Cloud Platform Independence
• If a cloud service is portable then it can be moved to another
platform due to better pricing schemes, availability, QoS, etc.
• Monitoring System?
• Portable
• Easily configurable on new platform
10 March 2015, University of Cyprus
Cloud Service
Monitoring
Cloud Service
Monitoring
Provider A Provider B
Vendor lock-in concerns
have dropped 45%
[GIGAOM 2014]
Demetris Trihinas
Cloud Monitoring Challenges
• Interoperability
• Distribute a cloud service across multiple providers due to
better resource locality, availability or security concerns
• Monitoring System?
• Operate and collect metrics seamlessly across multiple providers
10 March 2015, University of Cyprus
Cloud Service
Monitoring Monitoring
Provider A Provider CProvider B
Cloud Service
Monitoring
42% are interested in adopting
hybrid cloud. Estimated to rise to
55% by 2016 [GIGAOM 2014]
Demetris Trihinas
Cloud Monitoring Challenges
• Elasticity Support
• Detect configuration changes in a cloud service
• Monitoring System?
• Detect configuration changes automatically without restarting
monitoring process or part of it and without any human intervention
10 March 2015, University of Cyprus
Cloud Service
VMVM VM VM VM. . .
Cloud Service
VM VM VM. . .VM
Application topology changes
(e.g. new VM added)
Allocated resource changes
(e.g. new disk attached to VM)
Demetris Trihinas
Cloud Specific Monitoring Tools
• Public and Private cloud providers offer
monitoring capabilities
• Fully documented
• Well integrated with underlying platform
10 March 2015, University of Cyprus
• REST APIs and graphical web interfaces
• Automated notification and alerting mechanisms
• Commercial and proprietary -> limited portability and
interoperability
Demetris Trihinas
JCatascopia Monitoring System
 Open-source
 Multi-Layer Cloud Monitoring
• Customizable and Extensible by Users
• Metric Subscription Rule Language and Mechanism
 Platform Independent
• Operate on any cloud platform since neither metric collecting,
distribution or storage is depend to underlying infrastructure
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia Monitoring System
 Interoperable
• Support for application distributed across multiple cloud platforms
 Capable of Supporting Elastic Cloud Services
• JCatascopia Pub/Sub Message Communication Protocol
 Scalable
10 March 2015, University of Cyprus
"JCatascopia: Monitoring Elastically Adaptive Applications in the Cloud", D. Trihinas and G. Pallis and M. D.
Dikaiakos, 14th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid 2014), 2014
Demetris Trihinas
JCatascopia Pub/Sub Message
Communication Protocol
• Elasticity support
• Automatic monitoring instance discovery and removal
• Dynamic resource configuration (e.g. new disk is attached at runtime)
• Dynamic network interface change at runtime (e.g. elastic ip)
10 March 2015, University of Cyprus
Demetris Trihinas
Multi-Tier Monitoring
10 March 2015, University of Cyprus
avgActiveConnections = AVG(busyThreads)
MEMBERS = [id1, ... ,idN]
ACTION = NOTIFY(<70, >=140)
avgCPUUsage = AVG(1-cpuIdle)
MEMBERS = [id1, ... ,idN]
ACTION = NOTIFY(<30, >=85)
JCatascopia Metric Rule Language
and Mechanism
Demetris Trihinas
XDB In-Memory
Data Analytics
JCatascopia: Portability and Interoperability
SCAN Genome Pipeline
Multi-Graph Clustering in the Cloud
Online Gaming Multi-Tier Video Streaming
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Advance over State-of-the-Art
Monitoring Agent Runtime Footprint
for a 3-tier Video Streaming Service
HAProxy Load Balancer Cassandra DB Node
Tomcat Application ServerOnline Directory Node
As metric count increases, Ganglia doubles its runtime footprint since custom application-specific metrics are
external processes in contrast to JCatascopia where Probes are loaded as lightweight Java threads
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Advance over State-of-the-Art
When in need of application-level
monitoring, for a small runtime overhead,
JCatascopia can reduce monitoring
network traffic and consequently
monitoring cost
Network Utilization
for 3-tier Video Streaming Service
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Scalability Evaluation
1 Monitoring Server
MySQL DB
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Scalability Evaluation
1 Monitoring Server
1 Cassandra Node
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Scalability Evaluation
1 Monitoring Server
2 Cassandra Nodes
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Scalability Evaluation
1 root Monitoring Server
and 2 Intermediates
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Scalability Evaluation
When archiving time is high, we can direct monitoring metric traffic through
multiple Monitoring Servers, allowing the monitoring system to scale
Node #1a
Node #M
Node #1b
Node #K
.
.
.
A
MS
Web
Service
Node #K+1
A
A
A
A
A
add node to the cluster
Monitoring Agent
Monitoring
Server
Monitoring
Server
.
.
.
Metrics
Monitoring
Server
Elastically Control
JCatascopia
10 March 2015, University of Cyprus
Demetris Trihinas
JCatascopia: Release and Exploitation
• Open-source under Apache 2.0 Licence
• JCatascopia Website (docs, examples, videos, publications, etc.)
• Packaging (JARs, tarballs, RPMs and Chef recipes) available in CELAR
repo
• JCatascopia Probe Library and Java Probe API
• System-level monitoring probes (for both Linux and Windows)
• Application-specific probes (Tomcat, Cassandra DB, HAProxy, Postgres DB,
RabbitMQ)
• Supporting 2 Different Database Backends (MySQL, Cassandra DB)
https://github.com/CELAR/cloud-ms
http://linc.ucy.ac.cy/CELAR/jcatascopia
https://github.com/dtrihinas/JCatascopia-Probe-Library
10 March 2015, University of Cyprus
Demetris Trihinas
So is simple elasticity control based
on user defined directives enough?
10 March 2015, University of Cyprus
Demetris Trihinas
Elasticity Control Estimation and Evaluation
10 March 2015, University of Cyprus
• How should we interpret a sudden drop in request throughput
at the business tier of a 3-tier cloud service?
• There are less clients which makes the business
tier inefficiently utilized
• Right Decision: Remove an Application Server
• Video storage backend is under-provisioned,
requests are getting queued at business tier
• Right Decision: Add another Database Node
Elasticity Controller with simple IF-THEN-ELSE policies based on metric
violations cannot determine the right ECP to improve QoS or cost
Demetris Trihinas
ADVISE Framework
Input
• Cloud Service topology description
(CAMF)
• Multi-layer monitoring metric
evolution (JCatascopia)
• Elasticity Control Processes (rSYBL)
• Cloud specific info (Info Service)
10 March 2015, University of Cyprus
Processing
• Project metric evolution on n-
dimensional space
• Cluster metrics and discover (or better
learn) metric correlations
• Create execution plan based on historic
info to improve resource utilization,
QoS and reduce cost
Knowledge Base
• Metric evolution
• Metric correlations
• ECPs and possible
plans
-> Collect more metrics
-> Refine clusters and discover new correlations
-> Increase our knowledge base
Demetris Trihinas
Elasticity Control Estimation and Evaluation
with ADVISE
10 March 2015, University of Cyprus
"ADVISE: a Framework for Evaluating Cloud Service Elasticity Behavior [Best Paper]", G. Copil, D. Trihinas, H.L Truong, D. Moldovan, G.
Pallis, S. Dustdar, M. D. Dikaiakos, 12th International Conference on Service Oriented Computing (ICSOC 2014), Paris, France 2014.
Demetris Trihinas
ADVISE-based Multi-Dimensional Control
A single peek causes a
“ping-pong” effect which is
billing users for resources
they aren’t really consuming
10 March 2015, University of Cyprus
ADVISE-based Control
AWS uses a hourly
charge rate
“Evaluating Cloud Service Elasticity Behavior", G. Copil, D. Trihinas, H.L Truong, D. Moldovan, G. Pallis, S. Dustdar, M. D. Dikaiakos,
International Journal of Cooperative Information Systems (IJCIS), 2015.
Demetris Trihinas
So is CELAR applicative anywhere
else other than video streaming?
10 March 2015, University of Cyprus
Demetris Trihinas
Use Case: Cancer Genome Detection
• process large amount of genomic and proteomic data
10 March 2015, University of Cyprus
CPU and disk I/O
intensive
Memory
intensive
Disk I/O and
memory intensive
Disk I/O, CPU and
network intensive
• Old approach
• Provision HPC cluster with max capacity
Demetris Trihinas
Acknowledgements
10 March 2015, University of Cyprus
www.celarcloud.eu
co-funded by the
European Commission
source code: https://github.com/CELAR/
website: http://linc.ucy.ac.cy/CELAR/
Demetris Trihinas
trihinas@cs.ucy.ac.cy
10 March 2015, University of Cyprus
Laboratory for Internet Computing
Department of Computer Science
University of Cyprus
http://linc.ucy.ac.cy

Más contenido relacionado

La actualidad más candente

CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
pkaviya
 
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
Simplilearn
 

La actualidad más candente (20)

cloud-migrations.pptx
cloud-migrations.pptxcloud-migrations.pptx
cloud-migrations.pptx
 
Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA)
 
Microservices Architectures on Amazon Web Services
Microservices Architectures on Amazon Web ServicesMicroservices Architectures on Amazon Web Services
Microservices Architectures on Amazon Web Services
 
CS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question BankCS8791 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
 
AWS PPT.pptx
AWS PPT.pptxAWS PPT.pptx
AWS PPT.pptx
 
Migrating on premises workload to azure sql database
Migrating on premises workload to azure sql databaseMigrating on premises workload to azure sql database
Migrating on premises workload to azure sql database
 
Cloud security Presentation
Cloud security PresentationCloud security Presentation
Cloud security Presentation
 
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
What Is Cloud Computing? | Cloud Computing For Beginners | Cloud Computing Tr...
 
MULTI-CLOUD ARCHITECTURE
MULTI-CLOUD ARCHITECTUREMULTI-CLOUD ARCHITECTURE
MULTI-CLOUD ARCHITECTURE
 
Cloud Security
Cloud SecurityCloud Security
Cloud Security
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
A Practical Guide to Cloud Migration
A Practical Guide to Cloud MigrationA Practical Guide to Cloud Migration
A Practical Guide to Cloud Migration
 
Machine Learning and AI
Machine Learning and AIMachine Learning and AI
Machine Learning and AI
 
AWS vs Azure vs Google (GCP) - Slides
AWS vs Azure vs Google (GCP) - SlidesAWS vs Azure vs Google (GCP) - Slides
AWS vs Azure vs Google (GCP) - Slides
 
Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)Introduction to Amazon Web Services (AWS)
Introduction to Amazon Web Services (AWS)
 
Cloud Migration: A How-To Guide
Cloud Migration: A How-To GuideCloud Migration: A How-To Guide
Cloud Migration: A How-To Guide
 
Cloud computing hybrid architecture
Cloud computing   hybrid architectureCloud computing   hybrid architecture
Cloud computing hybrid architecture
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL Database
 
Cloud Computing Fundamentals
Cloud Computing FundamentalsCloud Computing Fundamentals
Cloud Computing Fundamentals
 
Microsoft Azure Cloud Services
Microsoft Azure Cloud ServicesMicrosoft Azure Cloud Services
Microsoft Azure Cloud Services
 

Similar a Cloud Elasticity and the CELAR Project

Cloud and challenges isacakenya
Cloud and challenges   isacakenyaCloud and challenges   isacakenya
Cloud and challenges isacakenya
Tonny Omwansa
 
Cloud streaming presentation
Cloud streaming presentationCloud streaming presentation
Cloud streaming presentation
edmandt
 

Similar a Cloud Elasticity and the CELAR Project (20)

Sarvi
SarviSarvi
Sarvi
 
Cloud Computing in the Real-World 1.pptx
Cloud Computing in the Real-World 1.pptxCloud Computing in the Real-World 1.pptx
Cloud Computing in the Real-World 1.pptx
 
Citrix education cloud case study kit 2014
Citrix education cloud case study kit 2014Citrix education cloud case study kit 2014
Citrix education cloud case study kit 2014
 
9 September 2014: automating cyber defence responses CDE themed competition
9 September 2014: automating cyber defence responses CDE themed competition9 September 2014: automating cyber defence responses CDE themed competition
9 September 2014: automating cyber defence responses CDE themed competition
 
Cloud Computing (1).pptx
Cloud Computing (1).pptxCloud Computing (1).pptx
Cloud Computing (1).pptx
 
Cloud Computing (Lecture 1 & 2).pptx
Cloud Computing (Lecture 1 & 2).pptxCloud Computing (Lecture 1 & 2).pptx
Cloud Computing (Lecture 1 & 2).pptx
 
Useful Pros, Cons, And Uses Of Cloud Computing In Education In 2023 | Future ...
Useful Pros, Cons, And Uses Of Cloud Computing In Education In 2023 | Future ...Useful Pros, Cons, And Uses Of Cloud Computing In Education In 2023 | Future ...
Useful Pros, Cons, And Uses Of Cloud Computing In Education In 2023 | Future ...
 
Cloud testing
Cloud testingCloud testing
Cloud testing
 
Distance Learning Education with Cloud Computing
Distance Learning Education with Cloud ComputingDistance Learning Education with Cloud Computing
Distance Learning Education with Cloud Computing
 
Elucidating the impact of cloud computing in education sector Benefits and Ch...
Elucidating the impact of cloud computing in education sector Benefits and Ch...Elucidating the impact of cloud computing in education sector Benefits and Ch...
Elucidating the impact of cloud computing in education sector Benefits and Ch...
 
Using the Technology Organization Environment Framework for Adoption and Impl...
Using the Technology Organization Environment Framework for Adoption and Impl...Using the Technology Organization Environment Framework for Adoption and Impl...
Using the Technology Organization Environment Framework for Adoption and Impl...
 
Cloud 101 higher_education_wp
Cloud 101 higher_education_wpCloud 101 higher_education_wp
Cloud 101 higher_education_wp
 
AFDT_Cloud Computing.ppt
AFDT_Cloud Computing.pptAFDT_Cloud Computing.ppt
AFDT_Cloud Computing.ppt
 
Cloud and challenges isacakenya
Cloud and challenges   isacakenyaCloud and challenges   isacakenya
Cloud and challenges isacakenya
 
Celera Networks on Cloud Computing
Celera Networks on Cloud Computing Celera Networks on Cloud Computing
Celera Networks on Cloud Computing
 
Cloud streaming presentation
Cloud streaming presentationCloud streaming presentation
Cloud streaming presentation
 
ACHIEVING SEAMLESS MIGRATION TO PRIVATECLOUD INFRASTRUCTURE FOR MULTI-CAMPUS ...
ACHIEVING SEAMLESS MIGRATION TO PRIVATECLOUD INFRASTRUCTURE FOR MULTI-CAMPUS ...ACHIEVING SEAMLESS MIGRATION TO PRIVATECLOUD INFRASTRUCTURE FOR MULTI-CAMPUS ...
ACHIEVING SEAMLESS MIGRATION TO PRIVATECLOUD INFRASTRUCTURE FOR MULTI-CAMPUS ...
 
Role and Service of Cloud Computing for Higher Education System
Role and Service of Cloud Computing for Higher Education SystemRole and Service of Cloud Computing for Higher Education System
Role and Service of Cloud Computing for Higher Education System
 
Cloud computing and its application in libraries
Cloud computing and its application in librariesCloud computing and its application in libraries
Cloud computing and its application in libraries
 
Cloud security
Cloud securityCloud security
Cloud security
 

Más de Demetris Trihinas

Adam - Adaptive Monitoring in 5min
Adam - Adaptive Monitoring in 5minAdam - Adaptive Monitoring in 5min
Adam - Adaptive Monitoring in 5min
Demetris Trihinas
 
Low-Cost Adaptive Monitoring Techniques for the Internet of Things
Low-Cost Adaptive Monitoring Techniques for the Internet of ThingsLow-Cost Adaptive Monitoring Techniques for the Internet of Things
Low-Cost Adaptive Monitoring Techniques for the Internet of Things
Demetris Trihinas
 
AdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT Devices
AdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT DevicesAdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT Devices
AdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT Devices
Demetris Trihinas
 

Más de Demetris Trihinas (19)

Rapidly Testing ML-Driven Drone Applications - The FlockAI Framework
Rapidly Testing ML-Driven Drone Applications - The FlockAI FrameworkRapidly Testing ML-Driven Drone Applications - The FlockAI Framework
Rapidly Testing ML-Driven Drone Applications - The FlockAI Framework
 
Towards Energy and Carbon Footprint and Testing for AI-driven IoT Services
Towards Energy and Carbon Footprint and Testing for AI-driven IoT ServicesTowards Energy and Carbon Footprint and Testing for AI-driven IoT Services
Towards Energy and Carbon Footprint and Testing for AI-driven IoT Services
 
StreamSight: A Query-Driven Framework Extending Streaming IoT Analytics to th...
StreamSight: A Query-Driven Framework Extending Streaming IoT Analytics to th...StreamSight: A Query-Driven Framework Extending Streaming IoT Analytics to th...
StreamSight: A Query-Driven Framework Extending Streaming IoT Analytics to th...
 
Composable Energy Modeling for ML-Driven Drone Applications
Composable Energy Modeling for ML-Driven Drone ApplicationsComposable Energy Modeling for ML-Driven Drone Applications
Composable Energy Modeling for ML-Driven Drone Applications
 
Low-Cost Approximate and Adaptive Techniques for the Internet of Things
Low-Cost Approximate and Adaptive Techniques for the Internet of ThingsLow-Cost Approximate and Adaptive Techniques for the Internet of Things
Low-Cost Approximate and Adaptive Techniques for the Internet of Things
 
Telling a Story – or Even Propaganda – Through Data Visualization
Telling a Story – or Even Propaganda – Through Data VisualizationTelling a Story – or Even Propaganda – Through Data Visualization
Telling a Story – or Even Propaganda – Through Data Visualization
 
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge ComputingStreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
 
Machine Learning Introduction
Machine Learning IntroductionMachine Learning Introduction
Machine Learning Introduction
 
Απεικόνιση και Αλληλεπίδραση Δεδομένων Μεγάλου Όγκου με Διαδραστικούς Χάρτες
Απεικόνιση και Αλληλεπίδραση Δεδομένων Μεγάλου Όγκου με Διαδραστικούς ΧάρτεςΑπεικόνιση και Αλληλεπίδραση Δεδομένων Μεγάλου Όγκου με Διαδραστικούς Χάρτες
Απεικόνιση και Αλληλεπίδραση Δεδομένων Μεγάλου Όγκου με Διαδραστικούς Χάρτες
 
The Data Science Process: From Mining Raw Data to Story Visualization
The Data Science Process: From Mining Raw Data to Story VisualizationThe Data Science Process: From Mining Raw Data to Story Visualization
The Data Science Process: From Mining Raw Data to Story Visualization
 
From Mining Raw Data to Story Visualization
From Mining Raw Data to Story VisualizationFrom Mining Raw Data to Story Visualization
From Mining Raw Data to Story Visualization
 
Designing Scalable and Secure Microservices by Embracing DevOps-as-a-Service ...
Designing Scalable and Secure Microservices by Embracing DevOps-as-a-Service ...Designing Scalable and Secure Microservices by Embracing DevOps-as-a-Service ...
Designing Scalable and Secure Microservices by Embracing DevOps-as-a-Service ...
 
Low-Cost Approximate and Adaptive Monitoring Techniques for the Internet of T...
Low-Cost Approximate and Adaptive Monitoring Techniques for the Internet of T...Low-Cost Approximate and Adaptive Monitoring Techniques for the Internet of T...
Low-Cost Approximate and Adaptive Monitoring Techniques for the Internet of T...
 
Adam - Adaptive Monitoring in 5min
Adam - Adaptive Monitoring in 5minAdam - Adaptive Monitoring in 5min
Adam - Adaptive Monitoring in 5min
 
Low-Cost Adaptive Monitoring Techniques for the Internet of Things
Low-Cost Adaptive Monitoring Techniques for the Internet of ThingsLow-Cost Adaptive Monitoring Techniques for the Internet of Things
Low-Cost Adaptive Monitoring Techniques for the Internet of Things
 
AdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT Devices
AdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT DevicesAdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT Devices
AdaM: an Adaptive Monitoring Framework for Sampling and Filtering on IoT Devices
 
Find A Project
Find A ProjectFind A Project
Find A Project
 
[ccgrid2014] JCatascopia: Monitoring Elastically Adaptive Applications in the...
[ccgrid2014] JCatascopia: Monitoring Elastically Adaptive Applications in the...[ccgrid2014] JCatascopia: Monitoring Elastically Adaptive Applications in the...
[ccgrid2014] JCatascopia: Monitoring Elastically Adaptive Applications in the...
 
[SummerSoc 2014] Monitoring Elastic Cloud Services
[SummerSoc 2014] Monitoring Elastic Cloud Services[SummerSoc 2014] Monitoring Elastic Cloud Services
[SummerSoc 2014] Monitoring Elastic Cloud Services
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Cloud Elasticity and the CELAR Project

  • 1. Demetris Trihinas Cloud Elasticity and the CELAR Project Demetris Trihinas University of Cyprus
  • 2. Demetris Trihinas Back in the old days… 10 March 2015, University of Cyprus you had an idea… but no money… difficult to start an online business… “In the early days (20 years ago), most new e-commerce sites, for example, cost a million dollars to set up. Now the price is closer to $100” [M. Zwilling, NY Times, Jul 2014] Why was it so difficult in the past?
  • 3. Demetris Trihinas Motivation • he is an ambitious CS student • he wants to develop a “youtube” alternative • John has no money, he must use his knowledge and open-source tools to develop his system 10 March 2015, University of Cyprus Meet John!
  • 4. Demetris Trihinas Online Video Streaming Service #1 • From CS courses John learns about web service development • Client-Sever model 10 March 2015, University of Cyprus upload/download video response Clients (John’s family) Server (John’s computer) • Processing done on client side (thick clients) • Updating application logic code is not easy Hosting database (e.g. MySQL) Desktop client (e.g. Java) to connect with server
  • 5. Demetris Trihinas Online Video Streaming Service #2 • Video streaming service is attracting more users (family & friends) • John’s software development skills are getting better • 3-tier web application 10 March 2015, University of Cyprus upload/download video Clients (John’s friends and family) application server store/extract video database Presentation layer: CMS website (e.g. Joomla), HTML/CSS Application logic layer: RESTful API, Apache Tomcat Data storage backend: e.g. MySQL
  • 6. Demetris Trihinas Online Video Streaming Service #2 • John’s family and friends like the video service. They are telling their friends about it. • Scalability • John’s system cannot sustain the increasing number of users • Replace application server, database server with “stronger” ones • Buying new servers is expensive • Maintenance • Software/hardware updates/upgrades • Cooling, Security, Backups, etc. 10 March 2015, University of Cyprus
  • 7. Demetris Trihinas Back in the old days… 10 March 2015, University of Cyprus you had an idea… but no money… difficult to start an online business… “In the early days (20 years ago), most new e-commerce sites, for example, cost a million dollars to set up. Now the price is closer to $100” [M. Zwilling, NY Times, Jul 2014] • Infrastructure • Hardware • Software licences • Maintenance • Software updates • Hardware upgrades • Cooling • Security • Backups Why was it so difficult in the past?
  • 8. Demetris Trihinas What to do? 10 March 2015, University of Cyprus
  • 9. Demetris Trihinas Embrace the Cloud! 10 March 2015, University of Cyprus
  • 10. Demetris Trihinas Cloud Computing A model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction. NIST definition, 2011 10 March 2015, University of Cyprus source: http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf
  • 11. Demetris Trihinas 10 March 2015, University of Cyprus http://cloudtweaks.com/2012/09/true-facts-to-help-you-talk-about-cloud-computing-in-the-social-scene/
  • 12. Demetris Trihinas 5 Essential Cloud Characteristics 10 March 2015, University of Cyprus
  • 13. Demetris Trihinas John now knows what to do… 10 March 2015, University of Cyprus
  • 14. Demetris Trihinas Online Video Streaming Service #3 • John moves video service to the Cloud! • He has learnt about Cloud application development • Video service is now scalable 10 March 2015, University of Cyprus store/extract video . . . . . . upload/download video Distribute client requests clients Application Server Tier Database Backend Load Balancer Cloud Provider
  • 15. Demetris Trihinas Elasticity in Cloud Computing • Ability of a system to expand or contract its dedicated resources to meet the current demand 10 March 2015, University of Cyprus Workload(req/s) Time (s) De-allocate unused resources to reduce cost Allocate resources to increase throughput Provision only the required resources Stakeholders state that elasticity (54%) and cost reduction (48%) are driving cloud adoption [FOC Survey 2013]
  • 16. Demetris Trihinas Elasticity Control • MAPE-K control loop (Monitoring, Analysing, Planning, Executing using Knowledge) 10 March 2015, University of Cyprus Resource Utilization Application Behaviour “…automatic resource provisioning is challenging due to the fact that monitoring and managing elastic cloud services is not a trivial task…” Monitor Analyse Plan Execute Knowledge Elastic Cloud Service "Managing and Monitoring Elastic Cloud Applications", D. Trihinas and C. Sofokleous and N. Loulloudes and A. Foudoulis and G. Pallis and M. D. Dikaiakos, 14th International Conference on Web Engineering (ICWE 2014), Toulouse, France 2014
  • 17. Demetris Trihinas Online Video Streaming Service #5 • John decides to use an elasticity controller to scale his application 10 March 2015, University of Cyprus store/extract video . . . . . . Distribute client requests Application Server Tier Database Backend Load Balancer add/remove resourcesElasticity Controller if (metricA > X) then add VM else if (metricA < X) then remove VM else if (metricB > Y) then increase RAM … upload/download video clients Elasticity constraints are to complex for users and based on low-level metrics Cloud Provider
  • 18. Demetris Trihinas Current Elasticity Controllers 10 March 2015, University of Cyprus • Manual or semi-automated elasticity control • Vendor-specific AutoScaling • Elasticity modelled as a one-dimensional property • No control over cost, performance and quality • Only fine-grained elasticity control • e.g. add/remove virtual instances
  • 19. Demetris Trihinas 10 March 2015, University of Cyprus Fully Automated Intelligent Decision Making Algorithms Application Management Vendor Neutrality Multi-layer Scalable Monitoring Multi-Dimensional Control Open-Source Multi-Grain Elasticity Control www.celarcloud.eu
  • 20. Demetris Trihinas CELAR Architecture 10 March 2015, University of Cyprus CELAR is deployed around the Cloud Infrastructure
  • 21. Demetris Trihinas Distributed multi-tier application management in the cloud is difficult… can we make it simpler? 10 March 2015, University of Cyprus
  • 22. Demetris Trihinas CAMF • A Cloud Application Management Framework providing developers a complete set of graphical tools for:  Describing cloud applications topologies  Defining elasticity requirements and scaling actions  Deploying cloud application description(s) on any cloud platform  By adopting the open OASIS TOSCA standard  Managing complete lifecycle of a cloud application  Open-source (on top of Eclipse Rich Client Platform) 10 March 2015, University of Cyprus
  • 23. Demetris Trihinas Cloud Application Management • Emerging technology • CSC acquired ServiceMesh for $350M 10 March 2015, University of Cyprus CloudFormation • Current frameworks lack in: • Application portability – “describe once, deploy anywhere” • “vendor neutrality (interoperability) is one of the main challenges in cloud application management” [Gartner, CMP Landscape 2012]
  • 24. Demetris Trihinas CAMF 10 March 2015, University of Cyprus “c-Eclipse: An Open-Source Management Framework for Cloud Applications", C. Sofokleous, N. Loulloudes, D.Trihinas, G.Pallis and M. D. Dikaiakos, 20th International Conference on Parallel Processing (Euro-Par 2014), Porto, Portugal 2014 CSARCSAR
  • 25. Demetris Trihinas CAMF Modular Architecture 10 March 2015, University of Cyprus
  • 26. Demetris Trihinas CAMF Try it! https://projects.eclipse.org/projects/technology.camf 10 March 2015, University of Cyprus Cloud Project View - Application Artifacts - Deployment Scripts - SSH Keys - Resizing Scripts - Custom Monitoring Probes Drag-n-Drop Modeling Canvas Properties View Palette -Cloud resource metadata
  • 27. Demetris Trihinas Elasticity Policy Definition • Multi-grain elasticity policy definition • Application’s constraints related to cost, performance and quality metrics • Express specific strategies to be enforced when constraints are violated • Based on powerful and flexible SYBL definition language 10 March 2015, University of Cyprus Elasticity Policy View -> No knowledge of SYBL is required!
  • 28. Demetris Trihinas Cloud Provider Selection • Users can: – Select a Cloud provider to deploy their application(s) – Add a new provider to the list by providing their CELAR endpoint and authentication credentials 10 March 2015, University of Cyprus
  • 29. Demetris Trihinas Submit Application for Execution 10 March 2015, University of Cyprus
  • 30. Demetris Trihinas 10 March 2015, University of Cyprus The status of the deployments is shown in the Application Deployments View John’s Video Service Description via CAMF
  • 31. Demetris Trihinas What about monitoring elastic multi-cloud services? 10 March 2015, University of Cyprus
  • 32. Demetris Trihinas Cloud Monitoring Challenges • Monitor heterogeneous types of information and resources • Extract metrics from multiple levels of the cloud • Low-level metrics (i.e. CPU usage, network traffic) • High-level metrics (i.e. application throughput, latency, availability) • Metrics collected at different time granularities • Non-intrusiveness 10 March 2015, University of Cyprus
  • 33. Demetris Trihinas Cloud Monitoring Challenges • Cloud Platform Independence • If a cloud service is portable then it can be moved to another platform due to better pricing schemes, availability, QoS, etc. • Monitoring System? • Portable • Easily configurable on new platform 10 March 2015, University of Cyprus Cloud Service Monitoring Cloud Service Monitoring Provider A Provider B Vendor lock-in concerns have dropped 45% [GIGAOM 2014]
  • 34. Demetris Trihinas Cloud Monitoring Challenges • Interoperability • Distribute a cloud service across multiple providers due to better resource locality, availability or security concerns • Monitoring System? • Operate and collect metrics seamlessly across multiple providers 10 March 2015, University of Cyprus Cloud Service Monitoring Monitoring Provider A Provider CProvider B Cloud Service Monitoring 42% are interested in adopting hybrid cloud. Estimated to rise to 55% by 2016 [GIGAOM 2014]
  • 35. Demetris Trihinas Cloud Monitoring Challenges • Elasticity Support • Detect configuration changes in a cloud service • Monitoring System? • Detect configuration changes automatically without restarting monitoring process or part of it and without any human intervention 10 March 2015, University of Cyprus Cloud Service VMVM VM VM VM. . . Cloud Service VM VM VM. . .VM Application topology changes (e.g. new VM added) Allocated resource changes (e.g. new disk attached to VM)
  • 36. Demetris Trihinas Cloud Specific Monitoring Tools • Public and Private cloud providers offer monitoring capabilities • Fully documented • Well integrated with underlying platform 10 March 2015, University of Cyprus • REST APIs and graphical web interfaces • Automated notification and alerting mechanisms • Commercial and proprietary -> limited portability and interoperability
  • 37. Demetris Trihinas JCatascopia Monitoring System  Open-source  Multi-Layer Cloud Monitoring • Customizable and Extensible by Users • Metric Subscription Rule Language and Mechanism  Platform Independent • Operate on any cloud platform since neither metric collecting, distribution or storage is depend to underlying infrastructure 10 March 2015, University of Cyprus
  • 38. Demetris Trihinas JCatascopia Monitoring System  Interoperable • Support for application distributed across multiple cloud platforms  Capable of Supporting Elastic Cloud Services • JCatascopia Pub/Sub Message Communication Protocol  Scalable 10 March 2015, University of Cyprus "JCatascopia: Monitoring Elastically Adaptive Applications in the Cloud", D. Trihinas and G. Pallis and M. D. Dikaiakos, 14th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid 2014), 2014
  • 39. Demetris Trihinas JCatascopia Pub/Sub Message Communication Protocol • Elasticity support • Automatic monitoring instance discovery and removal • Dynamic resource configuration (e.g. new disk is attached at runtime) • Dynamic network interface change at runtime (e.g. elastic ip) 10 March 2015, University of Cyprus
  • 40. Demetris Trihinas Multi-Tier Monitoring 10 March 2015, University of Cyprus avgActiveConnections = AVG(busyThreads) MEMBERS = [id1, ... ,idN] ACTION = NOTIFY(<70, >=140) avgCPUUsage = AVG(1-cpuIdle) MEMBERS = [id1, ... ,idN] ACTION = NOTIFY(<30, >=85) JCatascopia Metric Rule Language and Mechanism
  • 41. Demetris Trihinas XDB In-Memory Data Analytics JCatascopia: Portability and Interoperability SCAN Genome Pipeline Multi-Graph Clustering in the Cloud Online Gaming Multi-Tier Video Streaming 10 March 2015, University of Cyprus
  • 42. Demetris Trihinas JCatascopia: Advance over State-of-the-Art Monitoring Agent Runtime Footprint for a 3-tier Video Streaming Service HAProxy Load Balancer Cassandra DB Node Tomcat Application ServerOnline Directory Node As metric count increases, Ganglia doubles its runtime footprint since custom application-specific metrics are external processes in contrast to JCatascopia where Probes are loaded as lightweight Java threads 10 March 2015, University of Cyprus
  • 43. Demetris Trihinas JCatascopia: Advance over State-of-the-Art When in need of application-level monitoring, for a small runtime overhead, JCatascopia can reduce monitoring network traffic and consequently monitoring cost Network Utilization for 3-tier Video Streaming Service 10 March 2015, University of Cyprus
  • 44. Demetris Trihinas JCatascopia: Scalability Evaluation 1 Monitoring Server MySQL DB 10 March 2015, University of Cyprus
  • 45. Demetris Trihinas JCatascopia: Scalability Evaluation 1 Monitoring Server 1 Cassandra Node 10 March 2015, University of Cyprus
  • 46. Demetris Trihinas JCatascopia: Scalability Evaluation 1 Monitoring Server 2 Cassandra Nodes 10 March 2015, University of Cyprus
  • 47. Demetris Trihinas JCatascopia: Scalability Evaluation 1 root Monitoring Server and 2 Intermediates 10 March 2015, University of Cyprus
  • 48. Demetris Trihinas JCatascopia: Scalability Evaluation When archiving time is high, we can direct monitoring metric traffic through multiple Monitoring Servers, allowing the monitoring system to scale Node #1a Node #M Node #1b Node #K . . . A MS Web Service Node #K+1 A A A A A add node to the cluster Monitoring Agent Monitoring Server Monitoring Server . . . Metrics Monitoring Server Elastically Control JCatascopia 10 March 2015, University of Cyprus
  • 49. Demetris Trihinas JCatascopia: Release and Exploitation • Open-source under Apache 2.0 Licence • JCatascopia Website (docs, examples, videos, publications, etc.) • Packaging (JARs, tarballs, RPMs and Chef recipes) available in CELAR repo • JCatascopia Probe Library and Java Probe API • System-level monitoring probes (for both Linux and Windows) • Application-specific probes (Tomcat, Cassandra DB, HAProxy, Postgres DB, RabbitMQ) • Supporting 2 Different Database Backends (MySQL, Cassandra DB) https://github.com/CELAR/cloud-ms http://linc.ucy.ac.cy/CELAR/jcatascopia https://github.com/dtrihinas/JCatascopia-Probe-Library 10 March 2015, University of Cyprus
  • 50. Demetris Trihinas So is simple elasticity control based on user defined directives enough? 10 March 2015, University of Cyprus
  • 51. Demetris Trihinas Elasticity Control Estimation and Evaluation 10 March 2015, University of Cyprus • How should we interpret a sudden drop in request throughput at the business tier of a 3-tier cloud service? • There are less clients which makes the business tier inefficiently utilized • Right Decision: Remove an Application Server • Video storage backend is under-provisioned, requests are getting queued at business tier • Right Decision: Add another Database Node Elasticity Controller with simple IF-THEN-ELSE policies based on metric violations cannot determine the right ECP to improve QoS or cost
  • 52. Demetris Trihinas ADVISE Framework Input • Cloud Service topology description (CAMF) • Multi-layer monitoring metric evolution (JCatascopia) • Elasticity Control Processes (rSYBL) • Cloud specific info (Info Service) 10 March 2015, University of Cyprus Processing • Project metric evolution on n- dimensional space • Cluster metrics and discover (or better learn) metric correlations • Create execution plan based on historic info to improve resource utilization, QoS and reduce cost Knowledge Base • Metric evolution • Metric correlations • ECPs and possible plans -> Collect more metrics -> Refine clusters and discover new correlations -> Increase our knowledge base
  • 53. Demetris Trihinas Elasticity Control Estimation and Evaluation with ADVISE 10 March 2015, University of Cyprus "ADVISE: a Framework for Evaluating Cloud Service Elasticity Behavior [Best Paper]", G. Copil, D. Trihinas, H.L Truong, D. Moldovan, G. Pallis, S. Dustdar, M. D. Dikaiakos, 12th International Conference on Service Oriented Computing (ICSOC 2014), Paris, France 2014.
  • 54. Demetris Trihinas ADVISE-based Multi-Dimensional Control A single peek causes a “ping-pong” effect which is billing users for resources they aren’t really consuming 10 March 2015, University of Cyprus ADVISE-based Control AWS uses a hourly charge rate “Evaluating Cloud Service Elasticity Behavior", G. Copil, D. Trihinas, H.L Truong, D. Moldovan, G. Pallis, S. Dustdar, M. D. Dikaiakos, International Journal of Cooperative Information Systems (IJCIS), 2015.
  • 55. Demetris Trihinas So is CELAR applicative anywhere else other than video streaming? 10 March 2015, University of Cyprus
  • 56. Demetris Trihinas Use Case: Cancer Genome Detection • process large amount of genomic and proteomic data 10 March 2015, University of Cyprus CPU and disk I/O intensive Memory intensive Disk I/O and memory intensive Disk I/O, CPU and network intensive • Old approach • Provision HPC cluster with max capacity
  • 57. Demetris Trihinas Acknowledgements 10 March 2015, University of Cyprus www.celarcloud.eu co-funded by the European Commission source code: https://github.com/CELAR/ website: http://linc.ucy.ac.cy/CELAR/
  • 58. Demetris Trihinas trihinas@cs.ucy.ac.cy 10 March 2015, University of Cyprus Laboratory for Internet Computing Department of Computer Science University of Cyprus http://linc.ucy.ac.cy

Notas del editor

  1. Fully Automated Elastic Resource Provisioning