OpenStack: Build a cloud!

OpenStack: Build a cloud!

WebCampZg 2012 – video of the presentation available on https://www.youtube.com/watch?v=5e_dydztXSU

7874898d532b989d3a1108cade372cd2?s=128

Dražen Lučanin

November 24, 2012
Tweet

Transcript

  1. 2.

    About me •  Graduated comp. sci. @ Uni Zagreb • 

    Python + open source = <3 •  Assistant, TU Vienna en. efficiency in cloud domputing = hacking OpenStack
  2. 3.

    OpenStack •  Cloud manager •  Open source •  Support Cloud

    == “give me a computer!” •  Server cluster •  Virtualization •  “It just works”
  3. 4.

    Architecture •  Virtualization – Nova (EC2) •  Storage – Swift

    (S3) •  Elastic networks– Quantum (!) That’s like Amazon!
  4. 5.
  5. 6.

    Interfaces •  REST API –  EC2 –  OpenStack (subset) • 

    Web interface – Horizon •  Terminal •  Programming languages –  Python –  Java –  Ruby
  6. 7.

    Scenario 1: Fast configuration $ nova boot --image ubuntu worker

    $ ssh john@worker $ nova image-create worker worker_image $ nova boot –-image worker_image -n 15
  7. 8.

    Scenario 2: Integration testing $ cat integration_test.sh #!/bin/bash nova boot

    server nova boot client ssh john@client ./start_test.sh
  8. 11.
  9. 12.

    Installation •  Easy to try •  Aloooot of components • 

    Production a bit harder… $ git clone https://github.com/ openstack-dev/devstack.git $ cd devstack && ./stack.sh Linux Apache KVM libvirt MySQL RabitMQ apache memcache open-iscsi brctl iptables lvm…
  10. 13.

    Automatic vs. manual Dodai-deploy* •  Fast •  Easy to scale

    •  Initial configuration –  Multinode doesn’t work •  Reinstalling components unstable •  In development! *alt: Puppet, Chef, Juju+MaaS sudo apt-get install •  Slow, easy to err –  Helper scripts! •  Scaling so-so •  Easier to fix errors •  Advice: –  Terminal > web GUI
  11. 14.

    To conclude… •  Cloud –  Better resource usage –  Infinite

    possibilites •  OpenStack –  A very active open source implementation –  Interesting for freelancers…