From Application to Appliance

Slides:



Advertisements
Similar presentations
Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
Advertisements

Virtualisation From the Bottom Up From storage to application.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 11 Windows Server 2008 Virtualization.
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
Virtualization for Cloud Computing
Virtual Network Servers. What is a Server? 1. A software application that provides a specific one or more services to other computers  Example: Apache.
ProjectWise Virtualization Kevin Boland. What is Virtualization? Virtualization is a technique for deploying technologies. Virtualization creates a level.
Cloud computing Tahani aljehani.
Virtual Desktop Infrastructure Solution Stack Cam Merrett – Demonstrator User device Connection Bandwidth Virtualisation Hardware Centralised desktops.
1 The Virtual Reality Virtualization both inside and outside of the cloud Mike Furgal Director – Managed Database Services BravePoint.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
Virtualization Lab 3 – Virtualization Fall 2012 CSCI 6303 Principles of I.T.
A Cloud is a type of parallel and distributed system consisting of a collection of inter- connected and virtualized computers that are dynamically provisioned.
+ CS 325: CS Hardware and Software Organization and Architecture Cloud Architectures.
Introduction to Cloud Computing
Implementing Hyper-V®
Using Virtual Servers for the CERN Windows infrastructure Emmanuel Ormancey, Alberto Pace CERN, Information Technology Department.
Server Virtualization
Predrag Buncic (CERN/PH-SFT) WP9 - Workshop Summary
Desktop Virtualization
Predrag Buncic (CERN/PH-SFT) Introduction to WP9 Portable Analysis Environment Using Virtualization Technology IBM-VM 360, CERNVM,
DPHEP Workshop CERN, December Predrag Buncic (CERN/PH-SFT) CernVM R&D Project Portable Analysis Environments using Virtualization.
Hands-On Virtual Computing
3/12/2013Computer Engg, IIT(BHU)1 CLOUD COMPUTING-1.
The CernVM Infrastructure Insights of a paradigmatic project Carlos Aguado Sanchez Jakob Blomer Predrag Buncic.
Predrag Buncic (CERN/PH-SFT) Software Packaging: Can Virtualization help?
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Predrag Buncic (CERN/PH-SFT) CernVM Status. CERN, 24/10/ Virtualization R&D (WP9)  The aim of WP9 is to provide a complete, portable and easy.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
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.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
Workspace Management Services Kate Keahey Argonne National Laboratory.
Distributed Virtualization for Net-Centric Operations Draft
Course: Cluster, grid and cloud computing systems Course author: Prof
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
Virtual Machine Monitors
Chapter 6: Securing the Cloud
Let's talk about Linux and Virtualization in 'vLAMP'
Containers as a Service with Docker to Extend an Open Platform
Bentley Systems, Incorporated
Current Generation Hypervisor Type 1 Type 2.
Dag Toppe Larsen UiB/CERN CERN,
Virtualization OVERVIEW
Dag Toppe Larsen UiB/CERN CERN,
Building a Virtual Infrastructure
Amazon Web Services Submitted By- Section - B Group - 4
Virtualization overview
Cloud based Open Source Backup/Restore Tool
CernVM Status Report Predrag Buncic (CERN/PH-SFT).
AWS COURSE DEMO BY PROFESSIONAL-GURU. Amazon History Ladder & Offering.
Introduction to Cloud Computing
Virtual Machines.
Web Based Application Cloud services, in the form of centralized web-based applications, also appeal to the IT professional. One instance of an application.
Overview Introduction VPS Understanding VPS Architecture
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Outline Virtualization Cloud Computing Microsoft Azure Platform
HC Hyper-V Module GUI Portal VPS Templates Web Console
Guide to Operating Systems, 5th Edition
Chapter 9 An Introduction and Overview of Cloud Computing
Brandon Hixon Jonathan Moore
Cloud computing mechanisms
AWS Cloud Computing Masaki.
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
LO2 – Understand Computer Software
Hypervisor A hypervisor or virtual machine monitor (VMM) is computer software, firmware or hardware that creates and runs virtual machines. A computer.
Presentation transcript:

From Application to Appliance Predrag Buncic

Overview Virtual Machines Appliances Demo Technology Forecast Hardware, software & virtual software appliance Demo Technology Forecast Clouds over Grid Conclusions CERN, 30/03/ 2007 - 2

Back to the future… Some time ago… Then, things changed.. Today We had an application statically linked running in a VM prefect isolation Strict application boundary Then, things changed.. Unix workstations, PC, commodity computing Memory was still expensive Shared libraries, dynamical linking, plugins Fuzzy application boundary IBM-VM 360 mainframe, 1988 Today Memory and disk space is cheap Virtual Machines running on commodity hardware on Open Source OS are promising to deliver what we lost some time ago CERN, 30/03/ 2007 - 3

Why (again) Virtual Machines? The system infrastructure can evolve independently from the evolution of the application Re-creating application boundary Now we can Start, Stop, Pause, Migrate VM Software running inside a VM can not negatively affect the execution of another VM VMs can provide a perfect process and file sandboxing The application can (re)use a lot of code which was previously is system/kernel domain Fancy user space file systems via kernel modules CERN, 30/03/ 2007 - 4

Virtual Software Appliance = Application + Virtual Machine + Simple UI Virtual Appliances This talk is about VM running your favourite application on your laptop or desktop Virtual Software Appliance = Application + Virtual Machine + Simple UI Virtual Software Appliance is a lightweight Virtual Machine image that combines minimal operating environment specialized application functionality These appliances are designed to run under one or more of the various virtualization technologies, such as VMware , Xen, Parallels, Microsoft Virtual PC, QEMU, User mode Linux, CoLinux, Virtual Iron… Virtual Software Appliances also aim to eliminate the issues related to deployment in a traditional server environment complex configuration maintenance CERN, 30/03/ 2007 - 5

rPath: Software Appliance Company CERN, 30/03/ 2007 - 6

rPath Technologies Conary rPath Linux rBuilder the underlying package management technology for rPath Linux rPath provides instructions to package software from various popular sources and package technologies rPath Linux Linux distribution created as the basic operating system for Conary-based appliances rBuilder rPath's tool for building appliances eliminates unnecessary components and provides only the software needed by the applications on your appliance. rPath Appliance Platform (rAP) The rPath Appliance Platform (rAP) is rPath's extensible tool providing a web-based user interface for maintaining appliances rMake rMake is rPath's tool for allowing full clean rebuilds of the software used in an appliance when significant modifications are made to the core operating system components CERN, 30/03/ 2007 - 7

Practical exercise: AliEn Appliance External Dependencies AliEn busybox (system tools) ggbox System devices Kernel + = Grid Appliance CERN, 30/03/ 2007 - 8

/coda -> /opt/alien, /opt/packages Coda File System CODA is a distributed file system with its origin in AFS2. It is freely available under a liberal license has several features not found elsewhere: disconnected operation for mobile computing high performance through client side persistent caching and server replication security model for authentication, encryption and access control continued operation during partial network failures in server network network bandwidth adaptation well defined semantics of sharing, even in the presence of network failures /coda -> /opt/alien, /opt/packages CERN, 30/03/ 2007 - 9

AliEnX AliEn Linux – minimal guest OS capable of running AliEn services and hosting Grid applications http://alien.cern.ch/twiki/bin/view/AliEnX http://alien.rpath.org Built using rPath tools (rBuilder and Conary package manager) Very similar to what we were trying to do with AliEn BITS CERN, 30/03/ 2007 - 10

AliEn Appliance AliEn Appliance Version 0.4 x86 Mountable Filesystem (Xen Virtual Appliance) x86_64 Mountable Filesystem (Xen Virtual Appliance) x86 VMware (R) ESX Server Virtual Appliance x86 Installable CD/DVD x86_64 Parallels, QEMU (Raw Hard Disk) x86 Parallels, QEMU (Raw Hard Disk) Already usable as User Interface Generic, can be customized for other purposes To do: Run Grid Jobs in VM Prototyping together with Globus developers at Teraport cluster at University of Chicago Start and manage VMs using Globus Workspace Service CERN, 30/03/ 2007 - 11

Benchmarks Test machine 1 GB RAM 3 GHz Pentium D 100 particles, standard AliRoot setup Xen 3.0.3 Native Simulation 193 s 191.5 s Reconstruction 52 s 51 s CERN, 30/03/ 2007 - 12

Download history CERN, 30/03/ 2007 - 13

Demo time… CERN, 30/03/ 2007 - 14

AliEn Way: Grid Layered Cake Large “physical grid(s)” Reliably execute jobs, store, retrieve and move files Individual V.O. have at given point in time access to a subset of physical resources Using standard tools to submit jobs (Job Agents) to physical grid layer, V.O. creates ‘upper’ middleware layer, an overlay grid tailored to V.O needs but on smaller scale V.O has identity and can handle interactions with physical layer on users behalf Individual users interacting with V.O middleware will typically see a subset of the resources available to the entire VO Each session will have certain number of resources allocated Virtual Cluster (User layer) Virtual Grid (V.O. layer) Physical Grid (Common layer) Reducing scale to achieve scalability CERN, 30/03/ 2007 - 15

Cloud over Grid SQS + S3 + EC2 Physical Grid (Common) Simple Queue Service (SQS) offers a reliable, highly scalable hosted queue for storing messages as they travel between computers Simple Storage Service (S3) provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web Elastic Computing Cloud (EC2) is a web service that provides re-sizable compute capacity CERN, 30/03/ 2007 - 16

rPath + Amazon Software developers use rBuilder to build an Amazon Machine Image (AMI) that is stored using the Amazon Simple Storage Service (Amazon S3). With a single click, rBuilder and rBuilder Online users can boot their software appliances on Amazon EC2. User has a complete control of instances 1.7Ghz x86 processor 1.75GB of RAM 60GB of local disk 250Mb/s of network bandwidth. User can load them with their unique software appliance image manage their network's access permissions and run their image using as many or few systems as they desire. http://www.rpath.com/amazon CERN, 30/03/ 2007 - 17

$ ? $$$ vs ??? Everything has the price… How much would it cost? $0.15 per GB-Month of storage used $0.10 per instance-hour consumed $0.20 per GB of data transferred in/out How much would it cost? Store 10PB/year Use 40k CPUs for processing $ ? We have faster network We have 40k CPUs We have the storage Why don’t we have 99.99% service availability? storage 1.8 10000000 $18,000,000.00 in 0.2 $2,000,000.00 out cpu 0.1 350400000 $35,040,000.00   $57,040,000.00 CERN, 30/03/ 2007 - 18

What did they do differently? Storage Scale as an advantage Adding nodes to the system increases, not decreases, its availability, speed, throughput, capacity, and robustness P2P model 99.99% data availability There can be no single points of failure Redundant data copies on spinning media Computing Elastic EC2 enables you to increase or decrease capacity within minutes, not hours or days Integrated Designed for use with S3 Secure Uniform Uses VM technology to provision uniform representation of computational resources to end user Security and messaging Web (portal) and Web services provide entry points into the system But internally, system uses reliable message queues Event driven rather than service oriented implementation CERN, 30/03/ 2007 - 19

Use cases for Virtual Machines Grid Sandbox environment for job execution on WN Enhanced site security VO box Enhanced Scalability User Interfaces Separation of Grid and system environment Reducing Grid initiation threshold Specialized environments PROOF/CAF process migration kernel modules to enable fancy user space file systems P2P like object sharing and caching Training setups Make sure that everyone has the same environment when they walk in training room Testing environments Easy to setup, saving time and money CERN, 30/03/ 2007 - 20

Conclusions Virtual Machine are coming back as viable technology with lots of potential benefits for users and resource providers The technology is maturing quickly The business is catching up fast… … and overtaking us even faster If we do not want to end up paying a big money to big business we have to learn from them just as they learned from us lots of technology behind the clouds is the same Open Source software under our fingertips Are VMs going to solve all our problems? No. Do they have a potential to make our life simpler and computing less expensive? Yes. CERN, 30/03/ 2007 - 21