why choose xen for your cloud?
DESCRIPTION
This is a copy of a presentation as described at http://blog.xen.org/index.php/2011/12/22/xen-build-a-cloud-day-boston/TRANSCRIPT
![Page 1: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/1.jpg)
Todd DeshaneBuild an Open Source Cloud Day - Boston
December 9, 2011
Why Choose Xen For Your Cloud?
![Page 2: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/2.jpg)
Who am I?
● Xen.org Technology Evangelist
● Involvement with Xen started in 2003 as graduate student
● Co-author of research paper:○ "Xen and the Art of Repeated Research" ○ USENIX 2004
● Co-author of the "Running Xen" book
● XCP/cloud integrator and tester
![Page 3: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/3.jpg)
Outline
● Xen in the cloud history
● Xen architecture and security benefits
● XCP
● Project Kronos
![Page 4: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/4.jpg)
Xen (in the Cloud) History
![Page 5: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/5.jpg)
Global Public Computing
"This dissertation proposes a new distributed computing paradigm, termed global public computing, which allows any user to run any code anywhere. Such platforms price computing resources, and ultimately charge users for resources consumed." - Evangelos Kotsovinos, PhD dissertation, 2004
![Page 6: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/6.jpg)
Xen (in the Cloud) History
![Page 7: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/7.jpg)
Xen Architecture
![Page 8: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/8.jpg)
Xen Architectural Security Advantages
● Small, clean, disaggregatable trusted computing base○ Xen hypervisor (guest scheduling, virtual hardware
abstraction)○ Management/control domain can be broken up into
multiple domains○ Driver domains can isolate hardware functions (e.g.
network or storage driver domains)● Well-defined trusted computing base
○ Need only trust hypervisor and compartmentalized management, control, and driver domains
○ No extra services in hypervisor layer○ Full OS not needed (as is with type-2 hypervisor)
![Page 9: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/9.jpg)
Xen Cloud Platform (XCP)
● Open source version of Citrix XenServer○ http://wiki.xen.org/wiki/XCP/XenServer_Feature_Matrix
● Enterprise-ready server virtualization and cloud platform
● Built-in support and templates for Windows and Linux guests
● Datacenter and cloud-ready management API○ XenAPI (XAPI) is fully open source○ CloudStack and OpenStack integration
● Open vSwitch support built-in
![Page 10: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/10.jpg)
XCP Architecture
![Page 11: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/11.jpg)
Xen API (XAPI)
● VM lifecycle: live snapshots, checkpoint, migration
● Resource pools: live relocation, auto configuration, disaster recovery
● Flexible storage, networking, and power management
● Event tracking: progress, notification
● Upgrade and patching capabilities
● Real-time performance monitoring and alerting
![Page 12: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/12.jpg)
XAPI Class Diagram
![Page 13: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/13.jpg)
Open vSwitch
● Software switch, similar to:○ VMware vNetwork Distributed Switch○ Cisco Nexus 1000V.
● Distribution agnostic. Plugs right into Linux kernel.
● Reuses existing Linux kernel networking subsystems.
● Backwards-compatible with traditional userspace tools.
● Free and Open Source http://openvswitch.org/
![Page 14: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/14.jpg)
Why use Open vSwitch with Cloud?
● Multi-tenancy
● Automated control
● Monitoring and QoS
![Page 15: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/15.jpg)
XCP Management Options
● xe is tab-completable, XAPI frontend command line tool● Desktop GUIs
○ Citrix XenCenter (Windows-only)○ OpenXenManager (open source cross-platform
XenCenter clone)● Web interfaces
○ Xen VNC Proxy (XVP) ■ lightweight VM console only■ user access control to VMs (multi-tenancy)
○ XenWebManager (web-based clone of OpenXenManager
● XCP Ecosystem: http://wiki.xen.org/xenwiki/XCP_Projects
![Page 16: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/16.jpg)
OpenXenManager
![Page 17: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/17.jpg)
Xen VNC Proxy (XVP)
![Page 18: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/18.jpg)
Xen VNC Proxy (XVP)
![Page 19: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/19.jpg)
XCP and Cloud Orchestration Tools
● XCP and OpenStack
● XCP and CloudStack
● XCP and OpenNebula
![Page 20: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/20.jpg)
XCP and OpenStackFirst commercial OpenStack cloud (Internap): XCP-based
![Page 21: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/21.jpg)
XCP and CloudStack
![Page 22: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/22.jpg)
XCP and OpenNebula
![Page 23: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/23.jpg)
Project Kronos
● Port of XCP's XAPI toolstack to Debian and Ubuntu dom0
● Gives users the ability to install Debian or Ubuntu, then apt-get install xcp-xapi
● Provides Xen users with the option of using the same API and toolstack that XCP and XenServer provide
● Early adopters can try new changes to the XAPI before they get released in mainstream XCP and XenServer versions
● Now much easier to build tools outside of an SDK VM
![Page 24: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/24.jpg)
Project Kronos Overview
![Page 25: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/25.jpg)
Project Kronos Overview
Hypervisor
Xen API (XAPI)
![Page 26: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/26.jpg)
XCP vs. Project Kronos
XCP
Pros
● Isolation of cloud VM● Security properties● Pre-package + appliance
Cons
● Slightly more complex● Less flexible
Project Kronos
Pros
● Simple install● Flexibility● Simpler overall
Cons
● Less isolation● Cloud node is a potential
entry point to Dom0
![Page 27: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/27.jpg)
Summary
● Xen has many great advantages for cloud use
● Xen is widely used in the cloud
● XAPI cloud-ready for use with cloud orchestration○ fully open source
● XCP and Project Kronos provide flexibility and choice
![Page 28: Why Choose Xen For Your Cloud?](https://reader036.vdocuments.net/reader036/viewer/2022081519/5578170bd8b42ab40c8b4a56/html5/thumbnails/28.jpg)
Thank You!