45
NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD [email protected] 1

NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD [email protected] 1

Embed Size (px)

Citation preview

Page 1: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

NETE4631Network Information Systems (NISs):

Cloud Computing

Suronapee, PhD

[email protected]

1

Page 2: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Outline What is Cloud Computing? Why Cloud Computing? Cloud Basics and Terminology

Virtualization Cloud service models Cloud deployment models

Is Cloud Computing for Me? Moving application to the cloud

Cloud Challenges and Suitable Applications

2

Page 3: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Big “Cloud”

3

What people think about the cloud can be? a datacenter hosting many servers Services accessible remotely through the internet Employee of some company, each produces a

work output

We use cloud to represent things that we are trying to abstract (black box)

Page 4: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

What is Cloud Computing?

4

“a computing model for enabling convenient, on-demand network access to a shared pool of configurable computing resources”

Data Center Resources can be… networks, servers, storage, applications, and

services Resources are…

rapidly provisioned and released with minimal management effort or service provider interaction.”

(A definition by NIST, 2011)

Page 5: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Key players of the cloud Cloud providers

Operates datacenter Computing resources (server) Networking resources (switches) Storage resources (memory devices)

Service providers Offers software that run in data

centers

Cloud users Consumers or enterprises that uses

services running in data centers 5

Page 6: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

What features define cloud services? Large-scale computing and storage systems

Networking within a data center, across the data center and to the end users (cellular or WiFi)

Software that provides a GUI, security and privacy, billing and charging, etc

Overall characteristics Keyword is “On demand” in

Time – change their resource requests for a short period of time

Scale – Scale up and scale down your solutions

6

Page 7: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

History of Cloud

7

From centralized -> distributed -> cloud computing

Important steps 1961 – computing can be sold like a utility, John MacCharty 1999 – paid application delivered through internet,

Saleforce.com 2002 – AWS started, 2006 - Elastic computing cloud

(commercial) 2009 – Google apps (cloud-based app) provided to enterprise

The term “Cloud”, Google CEO, 2006

Page 8: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Why Cloud Computing

8

Abstraction for Hardware and IT Infrastructure There is no upfront cost

A lot of infrastructure to host services Distributed computing at a massive scale Mass storage

Always on and On Demand Scale up and scale down your solutions Cost is scaled appropriately (Pay per use model)

Convenience and Collaboration Scale automatically Minimum management efforts (self service)

Page 9: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Can we count on the cloud?

9

Major concern: shared facility Consider when using cloud storage than personal

storage Pros: cheaper and convenient Cons: performance,, security and privacy concerns

Analogy: buying your car or riding in the bus

Page 10: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Gartner’s Hype Cycle

10

Page 11: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Usage Patterns

11

Windows Azure Overview, Microsoft Research

Page 12: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Requirement Scalability

Serve access capacity Availability

Access when required.

Solution Clone system to handle peak load

(hybrid cloud)

12

Scenario - Reservation System

Page 13: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Why cloud?

13

On demand side Cheaper

CapEx to OpEx (pay per use) Convenience

Ease of use, flexibility to scale

On supply side Economic of scale

The average cost to pay is muchlower

Feasibility to scale The average demand of a server

in a data center < 20%

Page 14: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Virtualization Technology

14

Virtualization is… the creation of a virtual (rather than actual)

version of something, Something can be a server, hardware, operating

system (OS), storage device, or network resources, etc.

Two type of usage Server consolidation High performance computing

Server Virtualization

Desktop Virtualization

Page 15: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Why Virtualization?

All require same physical space.

All require same power. The system is not fully

utilized. Reconfiguration and setup in a

shared and control manner

High performance computing

Page 16: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Types of Virtualization: Hardware Virtualization

VMM is directly installed on the hardware system For different OS plus their applications on the hardware

system Operating system Virtualization

Everything runs from the network using a kind of virtual disk. Nothing is pre-installed or permanently loaded on the local

device Server Virtualization

VMM is directly installed on the Server system For creating multiple servers on the demand basis

Storage Virtualization Grouping the physical storage from multiple network storage For back-up and recovery purposes.

16http://www.javatpoint.com/windows-virtualization

Page 17: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

17

Page 18: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

How Virtualization works

18

Hypervisor A low level program that provides system resources

access to virtual machines Hypervisor is also called Virtual Machine Monitor (VMM) One level higher than the supervisory program for a

hardware and/or hardware & OS

Two types of Hypervisor Type 1 or full virtualization (Oracle VM, Vmware ESX) Type 2 or para-virtualization (Xen)

Page 19: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Types of Hypervisors

19 Types of Hypervsiors : Reproduced Figure 5.1

from Sosinsky, B., Cloud Computing Bible, 2011.

Page 20: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Benefits of Virtualization

20

Virtualization supports “Abstraction” Map logical address (id) for extendable and

scalable physical resources

Virtualization supports Load balancing A load balancer listens to service request and

uses a scheduling algorithm to assign the request Keeps the record of a request’s session to support

a failover for the request

VM Migration Porting applications between physical machines

Page 21: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Abstraction: Virtualization Infrastructure

InterconnectPool

CPUPool

MemoryPool

StoragePool

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

Websphere Exchange File/Print

Virtual Infrastructure

Page 22: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Abstraction: Virtualization Infrastructure

InterconnectPool

CPUPool

MemoryPool

StoragePool

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

APP

OS

Websphere Exchange File/Print

Virtual Infrastructure

Page 23: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Load Balancing: Pods, Aggregation, & Failover

23

Page 24: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

สามารถการย้�าย้ virtual machine โดย้การย้�าย้ไปย้��งอี�ก Storage หนึ่��ง

VM Migration

vSphere

Layer 2 Network

local local

vSphere

Page 25: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Infrastructure as a Service (IaaS)

25

Offering IT infrastructure Virtual Machines (VM)

VM abstract underlying hardware i Very few cloud provider provide an OS

Other resources such as storage, processing, etc.

Benefits Eliminates the need for every organization to

maintain the IT infrastructure (Cloud Providers owns equipment)

Scale automatically and bill only for the actual usage

Virtual machines

Page 26: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Amazon Elastic Compute Cloud (EC2)

26

Page 27: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Amazon EC2 Pricing

27

Page 28: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

IaaS Deployment Models

28

Public Cloud Infrastructure is for public use Own by org. selling cloud

Private Cloud Infrastructure is for private use Full control of all resources and technologies

Hybrid Cloud Combine multiple clouds (private and public) Better Security and less cost However, some works need..

Policies compliance Synchronization

Public Cloud

Private Cloud

- Infrastructure cost- Full Control - Security?

Page 29: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Platform as a Service (PaaS)

29

Offering Platforms for developing scalable applications Virtual Machines + developments framework and tools

Application (scalable) accessible through the internet No access to the underlying virtualization or operating

system

Benefits Reduce developers’ burden by additionally supporting

the platform runtime and related application services. Challenges

Vendor lock-in

Platform

Page 30: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Google App Engine

30

Page 31: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Windows Azure

31

Windows Azure –Service hosting and management, storage, computation, networking

Microsoft SQL Services –Database services and reporting

Microsoft .NetServices –Service-based implementation of .NET framework

Page 32: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Software as a Service (SaaS)

32

Offering cloud-based applications Delivered over the platform of the web Abstracts users from all of the underlying components

Benefits Cheaper than shrink-wrapped versions Eliminate the need to install and maintain, compatibility

and fast upgrades Challenges

Internet connection and latency Difficult to translate business models

Application

Page 33: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

33

Cloud Service Models

Page 34: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Service Models and their risks

34Modified from Cloud Computing Impact on future enterprise architectures, Schekkerman, J.

Page 35: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Moving Application to the Cloud Deploy Application to the cloud?

Entirely or Part of the application is on the local system and another part is in the cloud

Business case Study the feasibility of deployment in terms of costs-

benefits analysis Dimensions to consider to save cost

Ongoing operational cost reduction The value of preserving capital The value of upsizing on demand The value of downsizing on demand The value of agility The value of reuse The value of coolness

35

Page 36: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Operational Cost Reduction

36

Page 37: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Upsize and Downsize on Demand

37

Page 38: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Case Study on Oil & Gas Industry

38

The migration use-case of an IT System From a company’s in-house data center To Amazon EC2

System Overview

System Deployed in the Cloud

Page 39: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Infrastructure Costs

39

Company C paid £104,000 to Company B for the system in 2005, £19,400 of which was for the system’s infrastructure.

In addition, C paid B £43,000 per year for system support and maintenance, £3600 of which is for the running costs of the system infrastructure.

Over a 5 year period, the total cost of the system infrastructure is therefore: £19,400 + (5 x £3,600) = £37000

Page 40: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Price Comparision

40

Amazon EC2 provides an option of using either small or large server instances depending on the amount of CPU power and RAM required.

In Cloud, 37% cheaper compared to 1 small and 1 large server instance

Page 41: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Support and Maintenance

41

In 2005, 218 Support calls have been made regarding the operation of the system.

The majority were about software problems. 45 calls were related to the system’s

infrastructure. 38 calls – backup problems 5 calls – network problems 2 calls – power outages at B

In cloud – 21% eliminated

Page 42: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Stakeholders’ Impact Analysis

42

Stakeholders’ impact analysis is a method of identifying potential sources of benefits and risks from the perspectives of multiple stakeholders.

Page 43: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Some of the Challenges!!!

43

Security Would my data be more secure with Cloud provider?

Interoperability Significant risk of vendor lock-in –Standardized interfaces not

available, incompatible programming models Reliability

Use of commodity hardware, prone to failure Make sure that SLAs provided

Laws and regulations Privacy, security, and location of data storage

Organizational changes Changing authorities of IT departments, compliance policies

Cost Purchase vs. Lease?

Network Latency How long does it take to send 1 TB over 20Mbps in WAN

Page 44: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

Following types of application are more suitable for cloud

44

Not mission critical. Not handling core business operations. Not dealing with sensitive data. Can tolerate high network latencies and work on low

network bandwidth. Following industry standards. E.g. using

standardized tools for object to relational mappings. Do not require detailed customization for each

tenant. Organization involved in porting have full knowledge

of application and its associated domain.

Page 45: NETE4631 Network Information Systems (NISs): Cloud Computing Suronapee, PhD suronape@mut.ac.th 1

References

45

Armbrust, M., et al., 2010, A View of Cloud Computing, ACM, 53(4), pp. 50-58.

Zhang, Q., Cheng, L., Boutaba, R., Cloud Coomputing: state-of-the-art and research challenges, Journal of Internet Services and Applications, 2010, 1:7-18.

The Future of Cloud Computing: Opportunities for European Cloud Computing Beyond 2010.

Sosinsky, B., Cloud Computing Bible, Wiley, 2011

VMware Technologies