Video presentation of these slides:
http://www.youtube.com/watch?v=CTwFPWcqvY8
http://www.youtube.com/watch?v=0RQUp1vPeiU
Cloud computing is catching on in a big way in industry, government, and academia. One of the main reasons for increased adoption is that most of the underlying cloud technologies are open source. This talk will give an overview of these key open source components. The focus will be on infrastructure as a service (IaaS) and in particular technologies such as Xen and OpenStack. Come and learn about these technologies and how you can get involved with these open source projects.
1. Open Source
Infrastructure as a Service (IaaS)
Cloud Computing
Todd Deshane Open Source Festival
@deshantm SUNY Albany
todd.deshane@xen.org March 29, 2012
2. About Me
● Open source software user for 10+ years
● Researcher, author, trainer
○ Virtualization, security, human-computer interaction
○ "Running Xen: A Hands-On Guide to the Art of
Virtualization" book
○ Xen tutorial sessions at USENIX conferences
● Ph.D. from Clarkson University (2010)
○ "An Attack-Resistant and Rapid Recovery Desktop
System" dissertation
3. Outline
● Virtualization Basics
○ Xen
● Cloud Computing Basics
○ IaaS
● Open Source IaaS
○ Xen/XCP and OpenStack
● Building Open Source Clouds
○ XCP/Project Kronos and OpenStack
10. Cloud Computing Delivery Models
● Software as a service (SaaS)
○ Web-based applications
■ Google, Facebook
11. Cloud Computing Delivery Models
● Software as a service (SaaS)
○ Web-based applications
■ Google, Facebook
● Platform as a service (PaaS)
○ Software environments
■ Google App Engine, Microsoft Windows Azure
■ Cloud Foundry, Apprenda
12. Cloud Computing Delivery Models
● Software as a service (SaaS)
○ Web-based applications
■ Google, Facebook
● Platform as a service (PaaS)
○ Software environments
■ Google App Engine, Microsoft Windows Azure
■ Cloud Foundry, Apprenda
● Infrastructure as a service (IaaS)
○ Computing environments
■ Amazon Web Services, Rackspace Cloud
■ OpenStack, CloudStack, Eucalyptus
13. Cloud Computing Delivery Models
● Software as a service (SaaS)
○ Web-based applications
■ Google, Facebook
● Platform as a service (PaaS)
○ Software environments
■ Google App Engine, Microsoft Windows Azure
■ Cloud Foundry, Apprenda
● Infrastructure as a service (IaaS)
○ Computing environments Focus of
this talk
■ Amazon Web Services, Rackspace Cloud
■ OpenStack, CloudStack, Eucalyptus
14. IaaS Deployment Models
● Public
○ Third party off-site service provider
■ Amazon Web Services, Rackspace Cloud
● Private
○ Virtualization running in your data center
■ OpenStack, CloudStack, Eucalyptus
● Hybrid
○ Combination of public and private models
15. History of Xen in the Cloud
'99
XenoServers Project Global Public Computing
(Cambridge University)
“This dissertation proposes a new
"Xenoserver are machines that can safely distributed computing paradigm,
and securely perform useful work on termed global public computing,
behalf of any user who is prepared to pay which allows any user to run any
for the resources consumed" code anywhere. Such platforms
price computing resources, and
Reed et al., 7th Workshop on Hot Topics
ultimately charge users for
in Operating Systems, 1999
resources consumed.“
Evangelos Kotsovinos, PhD
dissertation, 2004
16. History of Xen in the Cloud
Dom0 in
Linux Kronos
'99 Nov ‘02 Oct ‘03 ‘06 ‘08 ‘09 ‘10 ‘11 ‘12
XenoServers Amazon EC2
Project and Slicehost
launched
Xen Rackspace
Repository Cloud
Published
XCP 1.0
Xen Presented
at SOSP XCP XCP 1.5
Announced
OpenStack
19. XCP Overview
● Open source version of Citrix XenServer
○ wiki.xen.org/wiki/XCP/XenServer_Feature_Matrix
● Enterprise-ready server virtualization and
cloud platform
○ Extends Xen beyond a physical machine (host pools)
○ Built-in templates for Windows and Linux guests
● Open vSwitch built-in and is default
networking stack
● Data center and cloud-ready management API
○ XenAPI (XAPI) is fully open source
○ CloudStack and OpenStack integration
20. XCP Toolstack Distro Independence
● Extends the delivery model beyond the XCP
appliance/distro
○ apt-get install xcp-xapi or yum install xcp-xapi
○ Working distros: Debian Wheezy, Ubuntu 12.04 LTS
■ Project Kronos [1]
○ In-progress distros: Fedora, CentOS
■ Project Zeus [2]
○ Other distros: need volunteers to help add support
[1] http://wiki.xen.org/wiki/Project_Kronos
[2] http://wiki.xen.org/wiki/Project_Zeus_Fedora_Spec
22. OpenStack History
● Founded in July 2010 by Rackspace &
NASA
○ Open source, Apache 2.0 License
● Currently 150+ companies contributing
○ Citrix, Dell, AMD, Intel, Canonical, HP, Cisco, etc.
● 5th major release (Essex) coming in April
○ Compute Service
○ Object Storage
○ Image Service
○ Identity Management
○ User Interface Dashboard
26. Roles in Building a Cloud
● As a user/administrator
○ Download, install, test
● As a developer
○ Create packages for your distro
○ Write extensions and plugins
● As a manager or thought leader
○ Research or assign employees to research open
source IaaS: Xen, OpenStack, CloudStack, etc.
27. Proof of Concept using a Laptop
● Start with a Ubuntu or Debian laptop
○ An unused blank partition is needed for the Kronos
configuration
● Install and configure the xcp-xapi package
○ http://wiki.xen.
org/wiki/Project_Kronos#Installing_on_a_Debian-
based_distribution
● Use devstack scripts to build and deploy
OpenStack VM
○ https://github.com/mcclurmc/devstack/tree/xcp-
toolstack
28. Proof of Concept using a Server
● Start with an unused 64-bit server
○ Any existing operating system will be written over
● Download and install the XCP distribution
from CD/ISO or PXE
○ http://www.xen.org/download/xcp/index.html
● Use devstack scripts to build and deploy
OpenStack VM
○ https://github.com/openstack-
dev/devstack/tree/master/tools/xen
29. Building Production Clouds
● Watch the "Build a Cloud Day" videos
○ http://www.cloudstack.org/build-a-cloud-day-videos.
html
■ Configuration management (Puppet, Chef, etc.)
■ Monitoring (Zenoss, Cacti, etc.)
■ Cloud Storage (Gluster, Swift, etc.)
30. Places to Get Help
● Xen mailing lists
○ http://lists.xen.org
○ http://xen.markmail.org
● Xen IRC channels
○ ##xen and #xen-api on Freenode
● OpenStack mailing lists
○ http://wiki.openstack.org/MailingLists
○ http://openstack.markmail.org
● OpenStack IRC channels
○ #openstack and #openstack-dev on Freenode
Email me: todd.deshane@xen.org