Cloud Computing Architectures and Design Issues



Similar documents
Design and Implementation of a P2P Cloud System

Design and Implementation of a P2P Cloud System

Design and Implementation of a P2P Cloud System

Unit 10b: Introduction to Cloud Computing

How To Understand Cloud Computing

How To Understand Cloud Computing

Cloud Computing Technology

Server Consolidation in Clouds through Gossiping

Cloud Computing An Introduction

CHAPTER 8 CLOUD COMPUTING

E-Business Technology

Distributed Computing in the 21st Century: Some Aspects of Cloud Computing

Topics. Images courtesy of Majd F. Sakr or from Wikipedia unless otherwise noted.

Distributed Computing in the 21st Century: Some Aspects of Cloud Computing

LOGO Resource Management for Cloud Computing

Infrastructure as a Service (IaaS)

International Journal of Engineering Research & Management Technology

Architectural Implications of Cloud Computing

What Is It? Business Architecture Research Challenges Bibliography. Cloud Computing. Research Challenges Overview. Carlos Eduardo Moreira dos Santos

Oracle Applications and Cloud Computing - Future Direction

Keywords Distributed Computing, On Demand Resources, Cloud Computing, Virtualization, Server Consolidation, Load Balancing

A Comparative Survey on Various Load Balancing Techniques in Cloud Computing

Cloud Computing An Elephant In The Dark

Exploring Resource Provisioning Cost Models in Cloud Computing

Cloud Computing Architecture: A Survey

Permanent Link:

International Journal of Computer & Organization Trends Volume21 Number1 June 2015 A Study on Load Balancing in Cloud Computing

Cloud deployment model and cost analysis in Multicloud

Cloud computing: the state of the art and challenges. Jānis Kampars Riga Technical University

Sla Aware Load Balancing Algorithm Using Join-Idle Queue for Virtual Machines in Cloud Computing

A Gentle Introduction to Cloud Computing

High Performance Applications over the Cloud: Gains and Losses

Grid Computing Vs. Cloud Computing

Environments, Services and Network Management for Green Clouds

21/09/11. Introduction to Cloud Computing. First: do not be scared! Request for contributors. ToDO list. Revision history

Cloud computing - Architecting in the cloud

Li Sheng. Nowadays, with the booming development of network-based computing, more and more

Cloud Computing. Chapter 1 Introducing Cloud Computing

Cloud Computing. Chapter 1 Introducing Cloud Computing

Datacenters and Cloud Computing. Jia Rao Assistant Professor in CS

Overview. The Cloud. Characteristics and usage of the cloud Realities and risks of the cloud

Data Centers and Cloud Computing. Data Centers

BMC Control-M for Cloud. BMC Control-M Workload Automation

OpenShift 3.0 in the Sogeti Services Factory

Hybrid Load Balancing Algorithm in Heterogeneous Cloud Environment

Evaluation Methodology of Converged Cloud Environments

Cloud Computing and Software Agents: Towards Cloud Intelligent Services

Cloud Computing, and REST-based Architectures Reid Holmes

Reallocation and Allocation of Virtual Machines in Cloud Computing Manan D. Shah a, *, Harshad B. Prajapati b

Today: Data Centers & Cloud Computing" Data Centers"

OCRP Implementation to Optimize Resource Provisioning Cost in Cloud Computing

IaaS Cloud Architectures: Virtualized Data Centers to Federated Cloud Infrastructures

CUMULUX WHICH CLOUD PLATFORM IS RIGHT FOR YOU? COMPARING CLOUD PLATFORMS. Review Business and Technology Series

Service allocation in Cloud Environment: A Migration Approach

Allocation of Datacenter Resources Based on Demands Using Virtualization Technology in Cloud

How To Understand Cloud Computing

Cloud Computing Services and its Application

Towards the Magic Green Broker Jean-Louis Pazat IRISA 1/29. Jean-Louis Pazat. IRISA/INSA Rennes, FRANCE MYRIADS Project Team

Data Centers and Cloud Computing. Data Centers. MGHPCC Data Center. Inside a Data Center

A Framework for the Design of Cloud Based Collaborative Virtual Environment Architecture

Energy Efficiency Metaheuristic Mechanism for Cloud Broker in Multi-Cloud Computing

Security Management of Cloud-Native Applications. Presented By: Rohit Sharma MSc in Dependable Software Systems (DESEM)

Part V Applications. What is cloud computing? SaaS has been around for awhile. Cloud Computing: General concepts

Cloud Computing. Adam Barker

QUALITY OF SERVICE FOR DATABASE IN THE CLOUD

Future of Cloud Computing. Irena Bojanova, Ph.D. UMUC, NIST

How To Compare Cloud Computing To Cloud Platforms And Cloud Computing

Dynamic Resource Allocation in Software Defined and Virtual Networks: A Comparative Analysis

PERFORMANCE ANALYSIS OF PaaS CLOUD COMPUTING SYSTEM

Cloud Computing Submitted By : Fahim Ilyas ( ) Submitted To : Martin Johnson Submitted On: 31 st May, 2009

Multilevel Communication Aware Approach for Load Balancing

Cloud Design and Implementation. Cheng Li MPI-SWS Nov 9 th, 2010

Software Systems Architecture in a World of Cloud Computing. Christine Miyachi SDM Entering Class 2000

Windows Azure and private cloud

From mini-clouds to Cloud Computing

CLOUD COMPUTING IN RURAL EDUCATIONAL SECTOR:ENLIGHTENING BENEFITS AND CHALLENGES

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2

Mobile and Cloud computing and SE

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

Planning the Migration of Enterprise Applications to the Cloud

Cloud Computing: An Introduction

A Survey Paper: Cloud Computing and Virtual Machine Migration

Private Cloud Database Consolidation with Exadata. Nitin Vengurlekar Technical Director/Cloud Evangelist

A FRAMEWORK FOR QOS-AWARE EXECUTION OF WORKFLOWS OVER THE CLOUD

Cloud Computing. Chapter 1 Introducing Cloud Computing

Data Centers and Cloud Computing. Data Centers

VMware for your hosting services

Open Source Cloud Computing: Characteristics and an Overview

A Game Theoretic Formulation of the Service Provisioning Problem in Cloud Systems

Have We Really Understood the Cloud Yet?

Performance Management for Cloudbased STC 2012

Resource Allocation Avoiding SLA Violations in Cloud Framework for SaaS

Auto-Scaling Model for Cloud Computing System

Ensuring High Service Levels for Public Cloud Deployments Keys to Effective Service Management

NCTA Cloud Architecture

A Survey on Resource Provisioning in Cloud

How to Do/Evaluate Cloud Computing Research. Young Choon Lee

Webpage: Volume 3, Issue XI, Nov ISSN

Planning, Provisioning and Deploying Enterprise Clouds with Oracle Enterprise Manager 12c Kevin Patterson, Principal Sales Consultant, Enterprise

Transcription:

Cloud Computing Architectures and Design Issues Ozalp Babaoglu, Stefano Ferretti, Moreno Marzolla, Fabio Panzieri {babaoglu, sferrett, marzolla, panzieri}@cs.unibo.it

Outline What is Cloud Computing? A View from Bologna Design Issues Energy Reduction P2P Cloud QoS-aware Clouds Seminari DISI 2012 / Cloud Computing 2

What is Cloud Computing? Cloud computing is 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. The NIST Definition of Cloud Computing, Special Publication 800-145 Seminari DISI 2012 / Cloud Computing 3

Main Characteristics On-demand self-service. Broad network access. Resource pooling. Rapid elasticity. Measured service. Seminari DISI 2012 / Cloud Computing 4

Service Models Software as a Service (SAAS) Platform as a Service (PAAS) Application Platform Google Apps, SalesForce.com Microsoft Azure, Google AppEngine Infrastructure as a Service (IAAS) Infrastructure Hardware Amazon EC2 Data Center Qi Zhang, Lu Cheng, Raouf Boutaba, Cloud computing: state-of-the-art and research challenges, J Internet Serv Appl (2010) 1: 7 18 Seminari DISI 2012 / Cloud Computing 5

Deployment Model Public Cloud Cloud infrastructure available to the general public Community Cloud Cloud infrastructure available to a community of users with shared concerns Private Cloud Cloud infrastructure available to a single organization Hybrid Cloud Any combination of the above Seminari DISI 2012 / Cloud Computing 6

Seminari DISI 2012 / Cloud Computing 7

Bologna F. Panzieri, O. Babaoglu, V. Ghini, S. Ferretti, M. Marzolla, Distributed Computing in the 21st Century: Some Aspects of Cloud Computing, Volume 6875 of LNCS, October 2011, ISBN 978-3-642-24540-4 Seminari DISI 2012 / Cloud Computing 8

A view from Bologna - HPC - Data analytics - MMOG - Private clouds - Mobile gateways - Loosely coupled applications Applications Cloud API SLA mgmt SLA mgmt SLA mgmt QoS policy management Cloud core infrastructure Virtualization Virtualization Virtualization Virtualization Layer Centralized Federated Peer-to-peer Seminari DISI 2012 / Cloud Computing 9

A view from Bologna - HPC - Data analytics - MMOG - Private clouds - Mobile gateways - Loosely coupled applications Applications Cloud API SLA mgmt SLA mgmt SLA mgmt QoS policy management Cloud core infrastructure Virtualization Virtualization Virtualization Virtualization Layer Centralized Federated Peer-to-peer Seminari DISI 2012 / Cloud Computing 10

Energy Reduction through gossiping - HPC - Data analytics - MMOG - Private clouds - Mobile gateways - Loosely coupled applications Applications Cloud API SLA mgmt SLA mgmt SLA mgmt QoS policy management Cloud core infrastructure Virtualization Virtualization Virtualization Virtualization Layer M. Marzolla, Centralized O. Babaoglu, F. Panzieri. Federated Server Consolidation Peer-to-peer in Clouds through Gossiping. In Proc. of First IEEE Int. Workshop on Sustainable Internet and Internet for Sustainability, Lucca, Italy, June 2011. Seminari DISI 2012 / Cloud Computing 11

Electricity use breakdown Toward energy efficient computing, ACM Queue, http://queue.acm.org/detail.cfm?id=1730791 Seminari DISI 2012 / Cloud Computing 12

Virtualization Main feature of a Cloud system Dynamic scalability (pay-as-you-go economic model) Virtualization of resources Assumptions Physical resources (servers) are multi-core/multi-processor machines; each server can support up to C VM instances Goal Users request Virtual Machine (VM) instances Users release instances when no longer needed The VM monitor supports live migration of VMs Minimize energy consumption by consolidating VMs Seminari DISI 2012 / Cloud Computing 13

VM Consolidation VM 1 VM 2 VM 3 VM 4 VM Monitor OS Host 1 VM Monitor OS Host 2 (a) Before consolidation VM Monitor OS Host 3 VM 1 VM 1 VM 2 VM 3 VM 4 VM 4 VM Monitor VM Monitor VM Monitor OS OS OS Host 1 Host 2 Host 3 (b) After consolidation of VM 1 and VM 4 to host 2 Seminari DISI 2012 / Cloud Computing 14

VM consolidation through gossiping Each server hosts the V-MAN daemon Daemons maintain an overlay network such that each daemon is connected to at most K other nodes Daemons exchange messages only with neighbors The overlay is maintained with the Newscast algorithm V V V V V V V V V V V V Seminari DISI 2012 / Cloud Computing 15

Example (1) Capacity = 4 VM VM VM Host 1 Host 2 Seminari DISI 2012 / Cloud Computing 16

Example (1) Capacity = 4 VM VM VM Host 1 Host 2 I have two VMs Seminari DISI 2012 / Cloud Computing 17

Example (1) Capacity = 4 VM VM VM Host 1 Host 2 I send you one Seminari DISI 2012 / Cloud Computing 18

Example (2) Capacity = 4 VM VM VM VM VM Host 1 Host 2 Seminari DISI 2012 / Cloud Computing 19

Example (2) Capacity = 4 VM VM VM VM VM Host 1 Host 2 I have two VMs Seminari DISI 2012 / Cloud Computing 20

Example (2) Capacity = 4 VM VM VM VM VM Host 1 Host 2 Send me one Seminari DISI 2012 / Cloud Computing 21

Performance assessment We implemented V-MAN using the cycle-driven simulator engine provided by PeerSim (peersim.sf.net) Parameters: K=20 (each node maintains a list of 20 neighbors) C=8 (maximum capacity of each host is 8 VMs) Topology is managed using Newscast Length of each simulation run is 20 steps Results are averages of 10 independent simulation runs Results: F 0 Fraction of empty hosts F 0, opt Optimal fraction of empty hosts Seminari DISI 2012 / Cloud Computing 22

Static System Seminari DISI 2012 / Cloud Computing 23

Animation Seminari DISI 2012 / Cloud Computing 24

Dynamic system Seminari DISI 2012 / Cloud Computing 25

Dynamic System with failures Seminari DISI 2012 / Cloud Computing 26

A P2P Cloud - HPC - Data analytics - MMOG - Private clouds - Mobile gateways - Loosely coupled applications Applications Cloud API SLA mgmt SLA mgmt SLA mgmt QoS policy management Cloud core infrastructure Virtualization Virtualization Virtualization Virtualization Layer O. Centralized Babaoglu, M. Marzolla, M. Federated Tamburini. Design and Peer-to-peer Implementation of a P2P Cloud System. To appear in Proc. of the 27th ACM Symposium on Applied Computing (SAC 2012), Trento, Italy, March 2012. Seminari DISI 2012 / Cloud Computing 27

Self-managing P2P Cloud Assemble a Cloud out of individual devices E.g. low-power devices such as set-top boxes, ADSL modems, New business model to harness the computational power of otherwise idle devices Individual devices leave and join, but the Cloud keeps a coherent structure anyway No central controller Seminari DISI 2012 / Cloud Computing 28

Self-managing P2P Cloud O. Babaoglu, M. Jelasity, A-M Kermarrec, A. Montresor, M. van Steen, Managing clouds: a case for a fresh look at large unreliable dynamic networks ACM SIGOPS Operating Systems Review, 2006 Seminari DISI 2012 / Cloud Computing 29

P2P Cloud Goals Implement fully decentralized monitoring and Management capabilities Allocate x% of available nodes for a given task Allocate at least n node for a given task How many nodes are currently busy? How many compute hours have been consumed by user X? Seminari DISI 2012 / Cloud Computing 30

P2P Cloud Architecture User Node User Interface P2PCS Daemon Node-to-Node Interface Seminari DISI 2012 / Cloud Computing 31

P2P Cloud Architecture Authentication / Authorization layer Instance Management API Monitoring API Storage API Dispatcher Slicing Service T-Man Monitoring System Aggregation Service Storage System Bootstrapping Service Peer Sampling Service = implemented modules Seminari DISI 2012 / Cloud Computing 32

P2P Cloud Architecture Authentication / Authorization layer Instance Management API Monitoring API Storage API Dispatcher Slicing Service T-Man Monitoring System Aggregation Service Storage System Gather an initial set of nodes to start the message exchange Bootstrapping Service Peer Sampling Service = implemented modules Seminari DISI 2012 / Cloud Computing 33

P2P Cloud Architecture Authentication / Authorization layer Instance Management API Monitoring API Storage API Dispatcher Slicing Service T-Man Monitoring System Aggregation Service Storage System Bootstrapping Service Peer Sampling Service = implemented modules Provide each node with a list of peers to exchange messages with Seminari DISI 2012 / Cloud Computing 34

P2P Cloud Architecture Authentication / Authorization layer Instance Management API Monitoring API Storage API Dispatcher Slicing Service T-Man Monitoring System Aggregation Service Storage System Bootstrapping Service Rank the nodes according to one attribute (e.g., 5% of the total n. of nodes; 1% fastest nodes;...) Peer Sampling Service = implemented modules Seminari DISI 2012 / Cloud Computing 35

P2P Cloud Architecture Authentication / Authorization layer Instance Management API Monitoring API Storage API Dispatcher Slicing Service T-Man Monitoring System Aggregation Service Storage System Bootstrapping Service Peer Sampling Service Compute global measures (e.g., network size) using local message exchange = implemented modules Seminari DISI 2012 / Cloud Computing 36

P2P Cloud Architecture Authentication / Authorization layer Instance Management API Monitoring API Storage API Dispatcher Slicing Service T-Man Monitoring System Aggregation Service Storage System Bootstrapping Service Peer Sampling Service Build an overlay network with a given topology (e.g., tree, ring, mesh...) = implemented modules Seminari DISI 2012 / Cloud Computing 37

Aggregation example Computing the mean X Y X X Y X Y Y (X+Y)/2 (X+Y)/2 Seminari DISI 2012 / Cloud Computing 38

P2PCS: Building subclouds 1 2 3 1 2 3 1 2 3 slice 1 slice 1 4 5 6 4 5 6 4 5 6 slice 2 7 8 9 7 8 9 7 8 9 (a) (b) (c) Seminari DISI 2012 / Cloud Computing 39

P2PCS API run-nodes subcloud_id number Creates a subcloud with number nodes; subcloud_id is set as the name of the newly created subcloud terminate-nodes subcloud_id nodename1 nodenamen Removes the named nodes from the subcloud with given id add-new_nodes subcloud_id number Adds number nodes to the subcloud identified by subcloud_id. The new nodes are chosen without any particular criteria describe-instances nodename Prints a human-readable description of the given node monitor-instances Return the global size of the Cloud using the aggregation service unmonitor-instances Stops printing the global size of the Cloud Seminari DISI 2012 / Cloud Computing 40

QoS-aware Clouds - HPC - Data analytics - MMOG - Private clouds - Mobile gateways - Loosely coupled applications Applications Cloud API SLA mgmt SLA mgmt SLA mgmt QoS policy management Cloud core infrastructure Virtualization Virtualization Virtualization Virtualization Layer Centralized Federated Peer-to-peer S. Ferretti, V. Ghini, F. Panzieri, M. Pellegrini, E. Turrini, QoS-aware Clouds, in Proc. 3rd Int. Conf. on Cloud Computing (IEEE Cloud 2010), Miami (USA), IEEE, July 2010. Seminari DISI 2012 / Cloud Computing 41

Motivations QoS: crucial factor for the success of cloud computing providers if not delivered as expected, it may impact the provider s reputation Compliance to SLA SLA: legally binding contract stating the QoS guarantees required by cloud customer typically includes max response time, throughput, error rate may include non functional requirements such as timeliness, scalability, availability we address response time, only Seminari DISI 2012 / Cloud Computing 42

SLA Example <ContainerServiceUsage name="highprority requestrate="100/s"> <Operations>... </Operations>... </ContainerServiceUsage> Customer obligations and rights Maximum request rate from the client application to the virtual execution environment in the cloud Operations the application is allowed to invoke Seminari DISI 2012 / Cloud Computing 43

SLA Example <ServerResponsabilities serviceavailability="0.99 efficiency="0.95" efficiencyvalidity="2"> <OperationPerformance name="highpriority maxresponsetime="1.0s"> <Operations> </Operations> </OperationPerformance>... </ServerResponsabilities> Responsibilities of a service running in the cloud Seminari DISI 2012 / Cloud Computing 44

SLA Example <ServerResponsabilities serviceavailability="0.99 efficiency="0.95" efficiencyvalidity="2"> <OperationPerformance name="highpriority maxresponsetime="1.0s"> <Operations> </Operations> </OperationPerformance>... </ServerResponsabilities> Probability that the service is available over a predefined time period Responsibilities of a service running in the cloud Seminari DISI 2012 / Cloud Computing 45

SLA Example <ServerResponsabilities serviceavailability="0.99 efficiency="0.95" efficiencyvalidity="2"> <OperationPerformance name="highpriority maxresponsetime="1.0s"> <Operations> </Operations> </OperationPerformance>... </ServerResponsabilities> Fraction of SLA violations that can be tolerated, within a predefined time interval, before the service provider incurs a penalty Responsibilities of a service running in the cloud Seminari DISI 2012 / Cloud Computing 46

SLA Example <ServerResponsabilities serviceavailability="0.99 efficiency="0.95" efficiencyvalidity="2"> <OperationPerformance name="highpriority maxresponsetime="1.0s"> <Operations> </Operations> </OperationPerformance>... </ServerResponsabilities> Required service responsiveness Responsibilities of a service running in the cloud Seminari DISI 2012 / Cloud Computing 47

SLA Example <InfrastructureSLA> <node typename="alpha"> <cpu num="4" type="x86-64 performance="x"/> <ram dim="64gb" performance="y"/> <storage dim="640gb performance="z"/> <network> <if name="eth0"> <incoming rate="5mbit" peak="10mbit" maxburst="10mb"/> <outgoing rate... /> </network> </node>... </InfrastructureSLA> Network characteristics Hardware characteristics SLA between the service provider and the cloud infrastructure hosting that service Seminari DISI 2012 / Cloud Computing 48

QoS-aware Cloud Architecture Main components Load balancer Monitoring service SLA policy engine Configuration service reconfiguration request Seminari DISI 2012 / Cloud Computing 49

Load Balancer Implements the load dispatching and balancing functionalities Receives requests from clients and dispatches them to virtual resources, balancing the load Incorporates a SLA Policy Engine which analyzes logs of the Monitoring Service to identify SLA violations Seminari DISI 2012 / Cloud Computing 50

Monitoring Service Monitors the environment to detect QoS deviations from what specified in the SLA The component within the Load Balancer monitors incoming requests and related responses There is a Monitoring Service instance for each virtual resource Seminari DISI 2012 / Cloud Computing 51

Configuration Service Responsible for both configuration and run-time reconfiguration of the application hosting environment Dynamically resizes the resources for the service by adding/removing them as needed Seminari DISI 2012 / Cloud Computing 52

Experimental Evaluation Request Generator Load Balancer Response Generator Monitoring System SLA Policy Enginer Configuration Service Tool implements principal components Load balancing policies QoS handling policies Assumptions: required hosting SLA efficency = 95%, VM allocation time = 2s Other tests carried out with VM allocation time = 6s, 10s VM allocation can take up to 400s Seminari DISI 2012 / Cloud Computing 53

Preliminary Results Load progressively increased until reaching 90 requests per sec, then pogressively decreased a) Response time VMs allocated as load increases and released as it decreases a) Violation Rate Peaks occur a new VM is added Seminari DISI 2012 / Cloud Computing 54

Preliminary Results Augmented load till reaching 13 VMs a) Response time VMs allocated as load increases and released as it decreases a) Violation Rate Peaks occur a new VM is added Seminari DISI 2012 / Cloud Computing 55

Conclusions We described some recent results in the area of Cloud Computing Bologna View of Cloud Computing Energy reduction through VM consolidation P2P Clouds QoS management in Clouds Work in progress QoS management using performance models @ runtime (e.g., QoS-aware energy reduction)... Cloud-enabled applications (mobility) Seminari DISI 2012 / Cloud Computing 56

Seminari DISI 2012 / Cloud Computing 57