Virtualization and the Cloud

Slides:



Advertisements
Similar presentations
Chapter 22: Cloud Computing and Related Security Issues Guide to Computer Network Security.
Advertisements

Clouds C. Vuerli Contributed by Zsolt Nemeth. As it started.
An Approach to Secure Cloud Computing Architectures By Y. Serge Joseph FAU security Group February 24th, 2011.
BETA!BETA! Building a secure private cloud on Microsoft technologies Private cloud security concerns Security & compliance in a Microsoft private cloud.
Virtualization and the Cloud
Virtual Machines. Virtualization Virtualization deals with “extending or replacing an existing interface so as to mimic the behavior of another system”
M.A.Doman Model for enabling the delivery of computing as a SERVICE.
Virtualization for Cloud Computing
SPRING 2011 CLOUD COMPUTING Cloud Computing San José State University Computer Architecture (CS 147) Professor Sin-Min Lee Presentation by Vladimir Serdyukov.
Cloud computing Tahani aljehani.
Next step of e-government.. Importance Foreword Cloud computing  Characteristics  Service  Users  Benefit Challenges in E-government Cloud government.
Plan Introduction What is Cloud Computing?
M.A.Doman Short video intro Model for enabling the delivery of computing as a SERVICE.
E Virtual Machines Lecture 4 Device Virtualization
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
Tanenbaum 8.3 See references
Cloud Computing Why is it called the cloud?.
Introduction to Cloud Computing
+ System Center 2012 SP1 – What’s The Cloud Got To Do With it?
Cloud Computing Saneel Bidaye uni-slb2181. What is Cloud Computing? Cloud Computing refers to both the applications delivered as services over the Internet.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
Virtualization. Virtualization  In computing, virtualization is a broad term that refers to the abstraction of computer resources  It is "a technique.
+ CS 325: CS Hardware and Software Organization and Architecture Cloud Architectures.
Introduction to Cloud Computing
Component 4: Introduction to Information and Computer Science Unit 10b: Future of Computing.
M.A.Doman Short video intro Model for enabling the delivery of computing as a SERVICE.
Virtualization Paul Krzyzanowski Distributed Systems Except as otherwise noted, the content of this presentation is licensed.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
Virtual Machine and its Role in Distributed Systems.
Plan  Introduction  What is Cloud Computing?  Why is it called ‘’Cloud Computing’’?  Characteristics of Cloud Computing  Advantages of Cloud Computing.
 Virtual machine systems: simulators for multiple copies of a machine on itself.  Virtual machine (VM): the simulated machine.  Virtual machine monitor.
Cloud Operating System Unit 09 Cloud OS Core Technology M. C. Chiang Department of Computer Science and Engineering National Sun Yat-sen University Kaohsiung,
The xCloud and Design Alternatives Presented by Lavone Rodolph.
PaaSport Introduction on Cloud Computing PaaSport training material.
Full and Para Virtualization
Cloud computing Cloud Computing1. NIST: Five essential characteristics On-demand self-service Computing capabilities, disks are demanded over the network.
Operating-System Structures
Architecture & Cybersecurity – Module 3 ELO-100Identify the features of virtualization. (Figure 3) ELO-060Identify the different components of a cloud.
CLOUD COMPUTING RICH SANGPROM. What is cloud computing? “Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a.
Software Acquisition Management. Cloud Computing 2.
Web Technologies Lecture 13 Introduction to cloud computing.
CSE 451: Operating Systems Winter 2015 Module 25 Virtual Machine Monitors Mark Zbikowski Allen Center 476 © 2013 Gribble, Lazowska,
Cloud Computing – UNIT - II. VIRTUALIZATION Virtualization Hiding the reality The mantra of smart computing is to intelligently hide the reality Binary->
CLOUD COMPUTING WHAT IS CLOUD COMPUTING?  Cloud Computing, also known as ‘on-demand computing’, is a kind of Internet-based computing,
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
© 2012 Eucalyptus Systems, Inc. Cloud Computing Introduction Eucalyptus Education Services 2.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Virtualization Neependra Khare
Prof. Jong-Moon Chung’s Lecture Notes at Yonsei University
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
Introduction to Virtualization
Virtualization.
Chapter 6: Securing the Cloud
Prepared by: Assistant prof. Aslamzai
Virtualization overview
Group 8 Virtualization of the Cloud
Network Services, Cloud Computing, and Virtualization
Cloud Computing ISY143.
OS Virtualization.
OS Basics Module 1.2 Richard Newman University of Florida.
Virtualization Layer Virtual Hardware Virtual Networking
Virtualization Techniques
Outline Virtualization Cloud Computing Microsoft Azure Platform
Guide to Operating Systems, 5th Edition
Operating System Structure
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Virtualization Dr. S. R. Ahmed.
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Presentation transcript:

Virtualization and the Cloud Chapter 7 ++ Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Virtual Machines : History The structure of VM/370 with CMS. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Simplified structure of a microkernel system Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Virtual Machines Rediscovered From IBM: Hardware partitioning subdivides a physical server into fractions, each of which can run an operating system. These fractions are typically created with coarse units of allocation, such as whole processors or physical boards. This type of virtualization allows for hardware consolidation, but does not have the full benefits of resource sharing and emulation offered by hypervisors. Hypervisors use a thin layer of code in software or firmware to achieve fine-grained, dynamic resource sharing. Because hypervisors provide the greatest level of flexibility in how virtual resources are defined and managed, they are the primary technology of choice for system virtualization. There are two types of hypervisors. Type 1 hypervisors run directly on the system hardware. The following figure shows one physical system with a type 1 hypervisor running directly on the system hardware, and three virtual systems using virtual resources provided by the hypervisor. Type 2 hypervisors run on a host operating system that provides virtualization services, such as I/O device support and memory management. The following figure shows one physical system with a type 2 hypervisor running on a host operating system and three virtual systems using the virtual resources provided by the hypervisor. Paravirtualization – presents machine like software interface that explicitly exposes the fact that it is a virtualized environment. It offers hypercalls which lets OS request from hypervisor Paravirtualization Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Virtual Machines Rediscovered (b) From IBM: Hardware partitioning subdivides a physical server into fractions, each of which can run an operating system. These fractions are typically created with coarse units of allocation, such as whole processors or physical boards. This type of virtualization allows for hardware consolidation, but does not have the full benefits of resource sharing and emulation offered by hypervisors. Hypervisors use a thin layer of code in software or firmware to achieve fine-grained, dynamic resource sharing. Because hypervisors provide the greatest level of flexibility in how virtual resources are defined and managed, they are the primary technology of choice for system virtualization. There are two types of hypervisors. Type 1 hypervisors run directly on the system hardware. The following figure shows one physical system with a type 1 hypervisor running directly on the system hardware, and three virtual systems using virtual resources provided by the hypervisor. Type 2 hypervisors run on a host operating system that provides virtualization services, such as I/O device support and memory management. The following figure shows one physical system with a type 2 hypervisor running on a host operating system and three virtual systems using the virtual resources provided by the hypervisor. Paravirtualization – presents machine like software interface that explicitly exposes the fact that it is a virtualized environment. It offers hypercalls which lets OS request from hypervisor A type 1 hypervisor. A practical type 2 hypervisor Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Requirements for Virtualization Hypervisors should score well in three dimensions: Safety: hypervisor should have full control of virtualized resources. Fidelity: behavior of a program on a virtual machine should be identical to same program running on bare hardware. Efficiency: much of code in virtual machine should run without intervention by hypervisor. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Type 1 and Type 2 Hypervisors (1) Location of type 1 and type 2 hypervisors. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Virtualizing the Unvirtualizable The binary translates rewrites the guest operating system running in ring 1, while the hypervisor runs in ring 0 Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Virtualization Technology 2005 – Intel CPU’s introduced Virtual Technology (VT) Containers are created in which virtual machines can be run. I/O instructions, etc, Trap in the hypervisor who does the work on behalf of the virtual machine. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Techniques for Efficient Virtualization When the operating system in a virtual machine executes a kernel only instruction, it traps to the hypervisor if virtualization technology is present. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Memory Virtualization Hypervisor creates a shadow page table that maps virtual pages used by virtual machines to actual pages the hypervisor gives it. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Hardware Support For Nested Page Tables Extended/nested page tables are walked every time a guest physical address is accessed—including the accesses for each level of the guest’s page tables. Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Memory Virtualization Reclaiming memory Hypervisor pretends that the total memory for all VMs combined is more than the actual memory. Deduplication : Pages sharing the same content are shared. Ballooning : A small balloon module is loaded in the VM as a pseudo device driver that talks to the hypervisor. inflates – memory scarcity on guest increases deflates – more memory becomes available for guest Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

I/O Virtualization Problem: Each guest thinks it owns an entire disk partition. Hypervisor creates a file or region and gives it to the OS Problem: the disk the guest OS is using is different from the real one. Hypervisor converts disk commands to drive the real disk Allows upgrades to hardware without changing software. Problem: Networking link for each guest OS Each VM has its own MAC address Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Networking Switch Virtual LAN Virtual LAN Host B Host A Bridge Bridge 10.0.1.1/24 02:01:0A:00:02:01 10.0. 2.1/24 02:01:0A:00:01:03 10.0.1.3/24 02:01:0A:00:02:02 10.0.2.2/24 vm vm vm vm vm 02:01:93:60:51:f1 157.96,81,241/24 Bridge Virtual LAN PUBLIC ACCESS Internet

I/O Virtualizations Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Shrink wrapped virtual machines used for product solutions Virtual Appliances Shrink wrapped virtual machines used for product solutions Licensing Issues License contracted to one physical machine? Virtual Machine? All virtual machines on one physical machine? What about licenses to multiple machines? Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Virtual Machines on Multicores Read text Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Short video intro

Model for enabling the delivery of computing as a SERVICE. Defining the Cloud Model for enabling the delivery of computing as a SERVICE.

Clouds National Institute of Standards and Technology defines characteristics of “cloud” On-demand self-service Broad network access Resource pooling Rapid elasticity Measured service Tanenbaum & Bo, Modern Operating Systems:4th ed., (c) 2013 Prentice-Hall, Inc. All rights reserved.

Service Models SaaS PaaS IaaS Software as a Service Platform as a Service Infrastructure as a Service SaaS PaaS IaaS NIST Definition

Cloud computing layers http://en.wikipedia.org/wiki/Cloud_computing

Deployment Models Public Cloud Private Cloud Hybrid Cloud Community Cloud NIST Definition

Infrastructure Management IaaS is the delivery of computer hardware as a service Servers Networks Storage IaaS

Virtual Machine Monitor (Hypervisor) Virtualization VIM: Virtualization Infrastructure Management H HOST Web Server DB Email Server Facebook app DB Java App A App B App C Window Linux Guest OS Manage the physical and virtual resources in a holistic fashion. Rapidly and dynamically provision resources to applications Virtual Machine Monitor (Hypervisor) HARDWARE IaaS

Client Migration Services Cloud Interface VM6 VM1 VM 4 VM7 VM5 VM 2 Migration services is the process of moving a virtual machine from one host server or storage location to another. Used to: Make adjustments to resource priorities to match demand conditions Service upgraded Migration Services

Migration Services IaaS All key machine’s components, CPU, storage disks, networking and memory are completely virtualized. This facilitates the entire state of the virtual machine that must be captured and moved. Various techniques: Live (hot or real time) migration : VM is powered on Regular (cold) migration: VM is powered off Live Storage migration IaaS

PaaS: Platform as a Service There isn’t one approach to PaaS. The line between Iaas and Paas is blurred Common PaaS Characteristics: Offers development environment Development lifecycle, language Ability to develop, test and deploy applications Customer uses this to add value Support well-defined interfaces for: Composite applications Portals Mashups (brings together 2 or more business apps) Based on multi-tenancy architecture From Wikipedia: Multitenancy refers in software architecture where a single instance of the software runs on a server, serving multiple client-organizations (tenants). Multitenancy contrasts with multi-instance architectures where separate software instances (or hardware systems) operate on behalf of different client organizations. With a multitenant architecture, a software application is designed to virtually partition its data and configuration, and each client organization works with a customized virtual application. Commentators regard multitenancy as an important feature of cloud computing.[ Virtualization The costs of redesigning applications for multitenancy can be significant, especially for software vendors who continue to offer an on-premise single tenant version of their product. They end up being forced to support 2 distinct products with all the resulting costs. An increasingly viable alternative route to multitenancy that eliminates the need for significant architectural change is to use virtualization technology to host multiple isolated instances of an application on one or more servers. Indeed, when applications are repackaged as virtual appliances the same appliance image can be deployed in ISV hosted, on-premise or trusted-third party locations and even migrated from one deployment site to another over time. PaaS

Enabling Technologies Provides a specialized capability, such as a tool or tool set Ex. Amazon’s Simple DB and Simple Query Service PaaS

SaaS: Software as a Service 30 years ago…… Time-sharing systems ….. SaaS model today motivated by Faster, ubiquitous networked communications Software costs and complexities IT costs SaaS

Packaged Software SaaS Focus on a specific process, such as performance reviews, financial management… Moved to the cloud because customers are finding the platforms hard to manage Characteristics Designed with a specific business processes build in Modifiable by customers Examples: Intuit, SAP, Oracle On Demand SaaS