7. Virtualization and Cloud Computing
⢠Virtualization is the ability to run "virtual
machines" on top of a "hypervisorâ
⢠A hypervisor provides a uniform abstraction
of the underlying physical machine.
⢠Abstraction in the key idea in Service Models
of Cloud!
8. Timeline of Virtualization
⢠1970s: virtual machines first used
⢠1990s: x86 becomes prominent server platform
⢠1999: VMWare first product to virtualize x86
⢠2006: AMD and Intel offer hardware support
9. Benefits of Virtualization
⢠Greatest Cost Savings
⢠Highest Server Utilization
⢠Built-In High Availability
⢠Zero Downtime Failover
⢠Best Performance
⢠Unmatched Reliability
⢠Superior Security
⢠Lowest TCO
⢠Fastest, Easiest Management
* Image soruce: http://whitehatvirtual.com/blog/bid/334816/Top-5-Benefits-of-Desktop-Virtualization
11. What is a Virtual Machine (VM)?
⢠A virtual machine (VM) is a software
implementation of a machine that executes
programs like a physical machine.
⢠Each VM includes its own
kernel, OS, supporting libraries and apps.
13. Some scenarios
The desktop user who wants to run a copy of
Windows on his Linux computer running
simultaneously
14. Some scenarios
A cost controller who wants to substitute 17
idling real machines with a multiprocessor
machine and 17 virtual machines running on it.
(Codenvy / Cloud9 IDE)
15. Some scenarios
A system architect wanting to run 3 different
server OS on one machine or a cluster
16. Some scenarios
A programmer who wants to test his programs
on a platform the customer is using.
(Genymotion)
17. What Virtual Machines provide?
â Hardware independence
VM sees the same hardware regardless
of the host hardware
â Isolation
VMâs operating system is isolated from
the host operating system
â Encapsulation
Entire VM encapsulated into a single file
18. Virtual Machines Classification
Process virtual machine
â designed to run a single program, which means
that it supports a single process
â E.g. JVM, Dalvik,..
System virtual machine
â provides a complete system platform which
supports the execution of a complete operating
system (OS)
â E.g. VirtualBox, Parallels Workstation, Xen,..
24. VMM / Hypervisor
⪠VMM: Virtual Machine Monitor
⪠Small special purpose operating system
â Each process acts like a separate computer or VM
â Can run a full OS in each virtual machine
25. Types of hypervisors (VMM)
⢠Type 1 (or native, bare metal)
â run directly on the host's hardware to
control the hardware and to manage
guest OS.
⢠Type 2 (or hosted)
â run within a conventional operating
system environment.
28. How to execute guest instructions
on a host?
Interpretation(emulation)
Slow execution speed, but easy implementation
Translation
Dynamic translation (JIT): translation while running
Static translation (AOT): multiple binary problem
Complicated but faster execution, especially with optimizations
Run directly on the hardware
When the host and guest ISA are binary compatible
31. Pros and Cons
Pros:
Sandbox
Hardware independent
OS independent
Fast Recovery
Live Backup
Migrate data
Reduced Hardware
Run Multiple OS Simultaneously
Cost savings
Use of Multicore processors
System Security
Test and Development
Cons:
Less Efficient
Unstable Performance
Tools lack ability
Rapid Deployment
Latency of Virtual Disk
Backup and Data Sets
Security Issues
Hardware compatibility issues
Managing and Securing is difficult