virtualization_cse7th

12
Cloud Computing- Virtualization Modified from Mark Baker CSE 7 th B & C

Upload: mandeep-singh

Post on 22-Dec-2015

213 views

Category:

Documents


0 download

DESCRIPTION

enjoy

TRANSCRIPT

Cloud Computing-Virtualization

Modified from Mark Baker

CSE 7th B & C

Virtualization, in computing, is the creation of a virtual (rather than actual) version of something, such as a hardware platform, operating system, a storage device or network resources”Concept is not new:Multi Programming – Each Process thinks it hascomplete control on all of the resources.

• Virtual Memory• CPU Sharing

2

Virtualization

Similarities and Differences withMultiprogramming

Multi Programming Virtualization

CPU is shared amongprocesses

CPU is shared amongOSs.

Memory is sharedusing Page Tables.

Memory is shared usingmore level of indirections.Multiple Page tables.

Process knows it isbeing managed- usessystem calls.

OS may or may not knowthat it is being managed.

3

Cloud computing really is accessing resources and services needed to perform functions with dynamically changing needs. ... The cloud is a virtualization of resources that maintains and manages itself.

4

Virtualization Architecture

1. OS assumes complete control of the underlying hardware.2. Virtualization architecture provides this illusion through a

hypervisor/VMM.3. Hypervisor/VMM is a software layer which:• Allows multiple Guest OS (Virtual Machines) to run

simultaneously on a single physical host• Provides hardware abstraction to the running Guest OSs and

efficiently multiplexes underlying hardware resources.

5

Virtualization Architecture

6

7

Types of Virtual Machines

Process view of machine System view of machinememory, user-level instr., system calls for OS functions

environment to supportmultiple processes

OS interface to hardware defines view of process

sharing resources

Process VM hardware characteristicsdefines system view

e.g. Java, .Net,Emulators

System VM

e.g.,Xen, kvm, VMware,VirtualBox, UMLinux

8

Benefits of using Virtual Machines

9

• Instant provisioning - fast scalability• Live Migration is possible• Load balancing and consolidation in a Data

Center is possible.• Low downtime for maintenance• Virtual hardware supports legacy operating

systems efficiently• Security and fault isolation

10

11

Importance of Virtualization inCloud Computing

• Cloud can exist without Virtualization, although it will be difficult and inefficient.

• Cloud makes notion of “Pay for what you use”, “infinite availability- use as much you want”.

• These notions are practical only if we have – lot of flexibility – efficiency in the back-end.

• This efficiency is readily available in VirtualizedEnvironments and Machines.

12