Transcript
Page 1: Juju, LXC, OpenStack: Fun with Private Clouds

Juju, LXC, Openstack: Fun with Private Clouds

Sameer Verma, Ph.D.Professor, Information SystemsCollege of Business, San Francisco State UniversitySan Francisco, CA 94132 USAhttp://verma.sfsu.edu/ [email protected]

Unless noted otherwise

Dept of ComputingPresented at:

Page 2: Juju, LXC, OpenStack: Fun with Private Clouds

Proxy? What proxy?

The Evil of Port 8080The Blessing of MonaConnect

@UWIMona #InsideJoke

Page 3: Juju, LXC, OpenStack: Fun with Private Clouds

@sameerverma

Caution: Context can vary. Dramatically.

Page 4: Juju, LXC, OpenStack: Fun with Private Clouds

me

Page 5: Juju, LXC, OpenStack: Fun with Private Clouds

University of the West Indies

Institutional Academic Partner

Centre of ExcellenceMona School of Business

University of the West IndiesJamaica

http://coe-msb.org/about

Page 6: Juju, LXC, OpenStack: Fun with Private Clouds

Drupal

Page 7: Juju, LXC, OpenStack: Fun with Private Clouds

One Laptop per Child

● Founder:– OLPC San Francisco

– OLPC Jamaica

● Projects in India, Madagascar, Jamaica● Research into adoption and use

Page 8: Juju, LXC, OpenStack: Fun with Private Clouds

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

Page 9: Juju, LXC, OpenStack: Fun with Private Clouds

Virtual Worlds

“You take the red pill - you stay in Wonderland, and I show you how deep the rabbit hole is.”

- Morpheus, The Matrix

Page 10: Juju, LXC, OpenStack: Fun with Private Clouds

Holodeck on StarTrek Enterprise TNG

Page 11: Juju, LXC, OpenStack: Fun with Private Clouds

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.

Page 12: Juju, LXC, OpenStack: Fun with Private Clouds

Final scene “Star Trek: Enterprise”

http://youtu.be/pXotJu1CapU

“Computer, end program”

Page 13: Juju, LXC, OpenStack: Fun with Private Clouds

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.

Page 14: Juju, LXC, OpenStack: Fun with Private Clouds

Too many servers?

● Data center challenges– One physical server for one application

● Web● Storage● Authentication● Network

– Power, Cooling, Bandwidth...– Under-utilization

= 490%

40%20%

50%

Page 15: Juju, LXC, OpenStack: Fun with Private Clouds

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?

Page 16: Juju, LXC, OpenStack: Fun with Private Clouds

Hypervisor

hypervisor

operating system operating system operating system

hardware

Type 1: Bare Metal (example: kvm)

apps appsapps apps apps apps apps

Page 17: Juju, LXC, OpenStack: Fun with Private Clouds

Hypervisor

hardware

hypervisor

operating system (guest) operating system operating system

operating system (host)

Type 2: Hosted (example: virtualbox)

apps apps apps apps apps appsapps

Page 18: Juju, LXC, OpenStack: Fun with Private Clouds

Paravirtualization

hardware

hypervisor

operating system (modified)

operating system (host)

apps appsapps

com

mon

Example: Linux Container (LXC)

operating system (modified)

apps appsapps

Page 20: Juju, LXC, OpenStack: Fun with Private Clouds

* 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

Page 21: Juju, LXC, OpenStack: Fun with Private Clouds

Public and Private clouds

Public Private

Page 22: Juju, LXC, OpenStack: Fun with Private Clouds

Hybrid clouds

Public Private

+Two reasons: Compliance and spillover

Page 23: Juju, LXC, OpenStack: Fun with Private Clouds

Hypervisors galore!

Hypervisors (xen, kvm, vmware, hyper-v, virtualbox, ...)

https://www.openstack.org/software/

Page 24: Juju, LXC, OpenStack: Fun with Private Clouds

Start local, go global.

http://virtualbox.org

Build on Virtualbox, Deploy in the cloud.

Page 25: Juju, LXC, OpenStack: Fun with Private Clouds

Virtualbox

An extreme example...

Page 26: Juju, LXC, OpenStack: Fun with Private Clouds

Windows 3.1 on Virtualbox

Note: Some of you may not be old enough to remember this!

Page 27: Juju, LXC, OpenStack: Fun with Private Clouds

Moving VM into the cloud

Page 28: Juju, LXC, OpenStack: Fun with Private Clouds

Windows 3.1 in the cloud!

Page 29: Juju, LXC, OpenStack: Fun with Private Clouds

Trystack

http://trystack.org/

Page 30: Juju, LXC, OpenStack: Fun with Private Clouds

Juju + charms

Juju

charms

LXC

...

Page 31: Juju, LXC, OpenStack: Fun with Private Clouds

Orchestration

https://juju.ubuntu.com/

Page 32: Juju, LXC, OpenStack: Fun with Private Clouds

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

Page 33: Juju, LXC, OpenStack: Fun with Private Clouds

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

Page 34: Juju, LXC, OpenStack: Fun with Private Clouds

Owncloud with Juju + LXC

$ juju status

Page 35: Juju, LXC, OpenStack: Fun with Private Clouds

Owncloud with Juju + LXC

Page 36: Juju, LXC, OpenStack: Fun with Private Clouds

Owncloud with Juju + LXC

Page 37: Juju, LXC, OpenStack: Fun with Private Clouds

Cloud computing

Page 39: Juju, LXC, OpenStack: Fun with Private Clouds

Made with


Top Related