49
Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale (USA) Tel.: 618 453 6046 | Fax: 618 453 6044 URL: http://www.cs.siu.edu/~dche / March 10, 2011 1

Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

Embed Size (px)

Citation preview

Page 1: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

1

Introduction to Cloud Computing and the “Credit Union” Model

Prof. Dunren “Daren” Che, PhD Dept. of Computer Science

Southern Illinois University Carbondale (USA)Tel.: 618 453 6046 | Fax: 618 453 6044

URL: http://www.cs.siu.edu/~dche/March 10, 2011

Page 2: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

2

Introduction and Outline

• Introduction• What is Cloud Computing• Promises/Characteristics• Related Technologies• Core technologies of CC• Challenges & Opportunities• Limitations of current clouds• “Credit Union” Model for Cloud Computing• Building of CU Clouds• Aspects of research• A team project• Summary

Page 3: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

3

The NIST Definition of Cloud Computing

• Cloud computing is a model for enabling 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. This cloud model promotes availability and is composed of five essential characteristics, three service models, and four deployment models (and one note).

Page 4: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

4

Five Essential Characteristics of CC-1,2

• On-demand self-service. A consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with each service’s provider.

• Broad network access. Capabilities are available over the network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).

Page 5: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

5

Five Essential Characteristics of CC-3

• Resource pooling. The provider’s computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to consumer demand. There is a sense of location independence in that the customer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter). Examples of resources include storage, processing, memory, network bandwidth, and virtual machines.

Page 6: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

6

Five Essential Characteristics of CC-4,5

• Rapid elasticity. Capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.

• Measured Service. Cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.

Page 7: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

7

Three+ Service/Delivery Models

• Cloud Software as a Service (SaaS).

• Cloud Platform as a Service (PaaS).

• Cloud Infrastructure as a Service (IaaS)

Page 8: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

8

Three Service Models-1

• Cloud Software as a Service (SaaS). The capability provided to the consumer is to use the provider’s applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.

Page 9: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

9

Three Service Models-2

• Cloud Platform as a Service (PaaS). The capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.

Page 10: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

10

Three Service Models-3

• Cloud Infrastructure as a Service (IaaS). The capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).

Page 11: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

11

Four Deployment Models-1,2

• Private cloud. The cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on premise or off premise.

• Community cloud. The cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on premise or off premise.

Page 12: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

12

Four Deployment Models-3,4

• Public cloud. The cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.

• Hybrid cloud. The cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).

Page 13: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

13

One Note

• Note: Cloud software takes full advantage of the cloud paradigm by being service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability.

Page 14: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

14

CC Definition by Ian Foster, et al.

• A large-scale distributed computing paradigm that is driven by economies of scale, in which a pool of abstracted, virtualized, dynamically-scalable, managed computing power, storage, platforms, and services are delivered on demand to external customers over the Internet.

• More liked by people with CS background – more technical

Page 15: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

15

Promises (Characteristics) of CC

• Agility• Cost reduction• “Green”• API (between machine and cloud software as HMI)• Location independence• Multi-tenancy• Reliability• Scalability via dynamic on-demand provision• Security (with “lose of control” concern)• Maintenance (easier for consumers)• Metering (or utility computing)

Page 16: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

16

Relationship with other Computing Domains

Page 17: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

17

Related Technologies

Page 18: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

18

Service-Oriented-Computing and SOA

• The Service-Oriented Computing (SOC) paradigm refers to the set of concepts, principles, and methods that represent computing in Service-Oriented Architecture (SOA) in which software applications are constructed based on independent component services with standard interfaces.

• Service-oriented architecture (SOA) is a flexible set of design principles used during the phases of systems development and integration in computing. A system based on a SOA will package functionality as a suite of interoperable services that can be used within multiple separate systems from several business domains.

Page 19: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

19

Distributed Computing

• A distributed system consists of multiple autonomous computers that communicate through a computer network, and interact/collaborate with each other in order to achieve a common goal.

• Distributed computing generally refers to the use of a distributed system to solve a computational problem that is divided into many tasks, each of which is solved by one computer of the distributed system.

Page 20: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

20

Grid Computing

• Grid Computing is "a form of distributed computing and parallel computing, whereby a 'super and virtual computer' is (formed) composed of a cluster of networked, loosely coupled computers acting in concert to perform very large tasks".

• The goal of Grid Computing is to provide a consolidated high-performance computing system based on loosely coupled storage, networking and parallel processing functions linked by high bandwidth interconnects.

Page 21: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

21

Differentiating Clouds from Grids

• Cloud Computing aims at serving multiple users at the same time and elastically via resource pooling while Grid Computing is intended to deliver functionality at a scale and quality equivalent to a supercomputer via a queuing system

• Grids consist of resources owned and operated by different organizations while clouds are usually under a single organization’s control

• Cloud services can be obtained by using a standardized interface over a network, while grids typically require running the grid fabric software locally (the fabric software was designed for unifying the interconnected grid nodes)

Page 22: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

22

Cluster Computing

• A computer cluster is a group of linked computers, working together closely thus in many respects forming a single computer. The components of a cluster are commonly, but not always, connected to each other through fast local area networks. Clusters are usually deployed to improve performance and availability over that of a single computer, while typically being much more cost-effective than single computers of comparable speed or availability.

• What make cluster different from grid? …

Page 23: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

23

What is Web 2.0 (wikipeid.org def.)?

• The term Web 2.0 is associated with web applications that facilitate participatory information sharing, interoperability, user-centered design,[1] and collaboration on the World Wide Web.

• A Web 2.0 site allows users to interact and collaborate with each other in a social media dialogue as creators (prosumers) of user-generated content in a virtual community, in contrast to websites where users (merely as consumers) are limited to the passive viewing of content that was created for them.

• Examples of Web 2.0 include social networking sites, blogs, wikis, video sharing sites, hosted services, web applications, mashups and folksonomies.

Page 24: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

24

Virtualization

• Virtualization is an idea – in computer science, it broadly describes the separation of a resource or request for a service from the underlying physical delivery of that service.

• With virtual memory, for example, computer software gains access to more memory than is physically installed, via the background swapping of data to disk storage.

• Similarly, virtualization techniques can be applied to other IT infrastructure layers - including networks, storage, laptop or server hardware, operating systems and applications.

Page 25: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

25

Virtualization: the Key Supporting Tech for CC

• By decoupling virtual machines from physical machines, server virtualization can dramatically increase the flexibility and agility of an IT organization.

• Yet virtualization alone does not solve the fundamental scalability and reliability problems for applications.

• Virtualization typically lacks the automation required for the self-service, self-healing functionality of a cloud.

Page 26: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

26

Virtualization Approach 1

1. Hosted architecture

Page 27: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

27

Virtualization Approach 2

2. Bare-Metal (Hypervisor) Architecture

Page 28: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

28

Virtualization: Two Hype Terms

• Virtual Machine -- A representation of a real machine using software that provides an operating environment which can run or host a guest operating system.

• Hypervisor -- A thin layer of software that generally provides virtual partitioning capabilities which runs directly on hardware, but underneath higher-level virtualization services. Sometimes referred to as a “bare metal” approach.

Page 29: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

29

Issues of Current CC(1) Elastic scalability, which is currently restricted to horizontal scale out,

tends to resource over-usage due to limited scale down capabilities

(2) Trust, security and privacy always pose issues in any internet provided service

(3) data Handling in clouds is still complicated - in particular as data size and diversity grows, pure replication is no viable approach, leading to consistency (vs. availability) and efficiency issues.

(4) Programming models are currently not aligned to highly scalable applications, not well exploiting the capabilities of clouds. Developers, providers and users should be able to control and restrict distribution and scaling behavior.

(5) Systems development/management are still executed mostly manually, thus contributing to substantial efficiency and bottleneck issues.

Page 30: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

30

Limitation

• Are there any?

Page 31: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

31

Limitation 1

Impossible to reconcile between over-provision and under-provision

Page 32: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

32

Unused resources

Limitation 1, cont’

• Risk of over-provisioning: underutilization

Static data center

Demand

Capacity

Time

Resources

Page 33: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

Limitation 1, Cont’

• Heavy penalty for under-provisioning

Lost revenue

Lost users

Resources

Demand

Capacity

Time (days)1 2 3

Resources

Demand

Capacity

Time (days)1 2 3

Resources

Demand

Capacity

Time (days)1 2 3

33

Page 34: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

34

Limitation 2

• Do you think the following organizations will ever move their systems and data repositories to the Cloud?– Bank of America– Department of Defense– FBI– CIA– …

Page 35: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

35

Limitation 2, cont’

• Security and privacy concerns never diminish or disappear because of human nature

Page 36: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

36

Limitation 3

• Promise of maximizing resource utilization only applies the vendor sides

– It’s just a little “greener”, not much greener

Page 37: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

37

Not to take CC wrong!

• Nothing is seriously wrong with current CC

• It’s the current provision model that has limitation

• More accurate name for today’s clouds: “Vender clouds”

Page 38: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

38

Reality and Dream

• The reality—– We see unused (and often wasted) computing

resources everywhere and everyday• Excessive CPU cycles, Memory and Dick spaces, …• They are spare precious assets – wasted!

• “I have a dream” too– Recycle/reuse them for the

• Good of public or • personal benefits• my “Credit Union” Cloud Model

Page 39: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

39

“Credit Union”

• Credit unions as a type of financial institutions have been practiced very successfully for the good of a community and the benefits of its members by attracting and reinvesting the spare money owned by its members.

• Let’s invest/donate our spare computing resources (CPU cycles and storage spaces) into a special “credit union” for the good of our community and/or additional personal benefits.

Page 40: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

40

CUM: The “Credit Union” Model of Cloud Computing

• The “credit union” model of Cloud Computing is a specialized model of the general Cloud Computing. It relies on the unused excessive computing resources owned by the individuals and/or organizations in a community. In the setting of the CU model, computing resources are contributed by individuals and/or organization either free or for credits. Clouds built on the CU model are referred to as CU clouds. CU clouds stick to the general principles of Cloud Computing but requires specialized implementation architecture for realizing its goal.

Page 41: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

41

Core Element in CU Clouds

Page 42: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

42

CU Cloud Architecture

Page 43: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

43

Characteristics of CU Clouds

• Different assumption: CU clouds build on the assumption that computing resources are separately owned by the members of a community, and are highly dynamic and heterogeneous

• Community-centered: A CU cloud is community-driven, community-provisioned, community-owned, and community-consumed

• Relatively Smaller scale, but can be federated

• Self-provision, minimized privacy concern

• “Greener” computing: recycle/reuse/reinvest spare resources.

Page 44: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

44

Characteristics of CU Clouds

• Natural digital ecosystems: possesses most features of a digital ecosystem such as self-provision, self-organization, self-control, scalability, sustainability, and thus can naturally serve as an ideal platform for digital ecosystem development.

• Ideal platform for education: Deployed for an educational institution can serve as a readily available and ideal platform for further the development of community education clouds.

• Ideal platform for governments: due to the less concern for security and privacy that comes inherently with the CU model.

• Ideal platform for any community and organization– Such as FBI, CIA, DOD, Bank of America, etc.

Page 45: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

45

Challenges and Opportunities

• Where are challenges, where are opportunities – So don’t be afraid of challenges -> opportunities

• CU Clouds do not come without challenges– Facing a more dynamic and heterogeneous

environments (vs. dedicated enterprise clusters)– Need to balance cloud users and native users

Page 46: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

46

Challenges of CU Clouds

• Graceful balance between cloud requirements and native users & applications

• New host OS with built-in virtualization utilizing special hardware support.

• Decentralized cloud facility management (including distributing coordination and load balancing, etc.)

• Security

Page 47: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

47

Aspects of Research

• Virtualization – the most important part!– Must be hosted architecture

– Graceful reconciliation of cloud vs. native resource completion

• Cloud infrastructure management– Can leverage Grids results

• Cloud data management– Data partition vs. task partition vs. load balancing

• Cloud security and privacy assurance mechanisms

Page 48: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

48

Teamwork

• We need more team members• To fulfill students’ graduation request for

thesis research, non-thesis projects, or senior projects

Page 49: Introduction to Cloud Computing and the “Credit Union” Model Prof. Dunren “Daren” Che, PhD Dept. of Computer Science Southern Illinois University Carbondale

49

Summary

• Current Clouds have inherent flaws due to its– Vender provision model

• CU Model may fix most of the problems– Securer, greener, cheaper

• Core supporting technologies– Virtualization– Grid computing

• Very promising future– Academic significance – Practical implication