• Like
Juju, LXC, OpenStack: Fun with Private Clouds
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Juju, LXC, OpenStack: Fun with Private Clouds


Description: Private clouds fill an interesting space in the cloud roadmap. They can provide a scalable, reliable, fault-tolerant cloud platform on your own infrastructure, and can be balanced with …

Description: Private clouds fill an interesting space in the cloud roadmap. They can provide a scalable, reliable, fault-tolerant cloud platform on your own infrastructure, and can be balanced with public cloud offerings. We will look at three technologies. OpenStack is a cloud operating system that controls large pools of compute, storage, and networking resources throughout a datacenter, all managed through a dashboard that gives administrators control while empowering their users to provision resources through a web interface. Juju, a cloud orchestration platform from Ubuntu, enables you to build entire environments in the cloud with only a few commands on public clouds like Amazon Web Services and HP Cloud, to private clouds built on OpenStack. LXC is the userspace control package for Linux Containers, a lightweight virtual system mechanism sometimes described as “chroot on steroids”. LXC builds up from chroot to implement complete virtual systems, adding resource management and isolation mechanisms to Linux’s existing process management infrastructure. How cool would it be, to walk around with a private cloud on your laptop?

Published in Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Juju, LXC, Openstack: Fun with Private Clouds Sameer Verma, Ph.D. Professor, Information Systems College of Business, San Francisco State University San Francisco, CA 94132 USA http://verma.sfsu.edu/ sverma@sfsu.edu Unless noted otherwise Dept of Computing Presented at:
  • 2. Proxy? What proxy? The Evil of Port 8080 The Blessing of MonaConnect @UWIMona #InsideJoke
  • 3. @sameerverma Caution: Context can vary. Dramatically.
  • 4. me
  • 5. University of the West Indies Institutional Academic Partner Centre of Excellence Mona School of Business University of the West Indies Jamaica http://coe-msb.org/about
  • 6. Drupal
  • 7. One Laptop per Child ● Founder: – OLPC San Francisco – OLPC Jamaica ● Projects in India, Madagascar, Jamaica ● Research into adoption and use
  • 8. The Commons Initiative ● Commons Initiative at San Francisco State University – Gather digital commons on campus – Connect with upstream commons worldwide ● Some Projects – Software Freedom Day – OLPC – National Day of civic Hacking – Bay Area Drupal Camp (BADCamp) – OpenStack – Moodle – Printrbot (3D printing) http://commons.sfsu.edu
  • 9. Virtual Worlds “You take the red pill - you stay in Wonderland, and I show you how deep the rabbit hole is.” - Morpheus, The Matrix
  • 10. Holodeck on StarTrek Enterprise TNG
  • 11. Holodeck ● Star Trek: http://en.wikipedia.org/wiki/Holodeck ● A simulated reality, where 3D worlds could be simulated with force fields and projections. ● Load, run, freeze and store programs.
  • 12. Final scene “Star Trek: Enterprise” http://youtu.be/pXotJu1CapU “Computer, end program”
  • 13. As it was in the beginning ● Mainframe virtualization. ● IBM's CP-40 research system in 1967. ● Compartmentalize large processing capabilities. ● Run processes separately. ● Lease “slices” to different customers.
  • 14. Too many servers? ● Data center challenges – One physical server for one application ● Web ● Storage ● Authentication ● Network – Power, Cooling, Bandwidth... – Under-utilization = 4 90% 40% 20% 50%
  • 15. Rise of Apache ● Apache VirtualHost. ● Multiple virtual web hosts in each physical server. ● Led to the adoption of Apache in server rooms. ● Eventually led to Linux to run these websites. ● Still one underlying OS. Single point of failure?
  • 16. Hypervisor hypervisor operating system operating system operating system hardware Type 1: Bare Metal (example: kvm) apps appsapps apps apps apps apps
  • 17. Hypervisor hardware hypervisor operating system (guest) operating system operating system operating system (host) Type 2: Hosted (example: virtualbox) apps apps apps apps apps appsapps
  • 18. Paravirtualization hardware hypervisor operating system (modified) operating system (host) apps appsapps common Example: Linux Container (LXC) operating system (modified) apps appsapps
  • 19. Cloud memegenerator.net
  • 20. * as a Service ● Software as a Service (SaaS) – Salesforce.com, GoogleDocs ● Platform as a Service (PaaS) – Google App Engine, Heroku, OpenShift ● Infrastructure as a Service (IaaS) – OpenStack, Eucalyptus, CloudStack ● Metal as a Service (MaaS) – Ubuntu MaaS
  • 21. Public and Private clouds Public Private
  • 22. Hybrid clouds Public Private + Two reasons: Compliance and spillover
  • 23. Hypervisors galore! Hypervisors (xen, kvm, vmware, hyper-v, virtualbox, ...) https://www.openstack.org/software/
  • 24. Start local, go global. http://virtualbox.org Build on Virtualbox, Deploy in the cloud.
  • 25. Virtualbox An extreme example...
  • 26. Windows 3.1 on Virtualbox Note: Some of you may not be old enough to remember this!
  • 27. Moving VM into the cloud
  • 28. Windows 3.1 in the cloud!
  • 29. Trystack http://trystack.org/
  • 30. Juju + charms Juju charms LXC ...
  • 31. Orchestration https://juju.ubuntu.com/
  • 32. Student Projects ● Single machine OpenStack installation – http://commons.sfsu.edu/report-openstack-project-campus ● Private cloud on multiple nodes – http://commons.sfsu.edu/continuing-openstack-project-phase-2
  • 33. Owncloud example Juju commands to orchestrate a OwnCloud instance with a MySQL backend. $ juju deploy owncloud $ juju deploy mysql $ juju add­relation owncloud mysql $ juju expose owncloud
  • 34. Owncloud with Juju + LXC $ juju status
  • 35. Owncloud with Juju + LXC
  • 36. Owncloud with Juju + LXC
  • 37. Cloud computing
  • 38. Questions? sverma@sfsu.edu
  • 39. Made with