3. irving + andy NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09 Virtualize or Containerize?
4. Virtualize or Containerize? Agenda 1. Why we're here 2. Act I - Virtualize or Containerize (aka "So, you're a provider...") 1. Define and Differentiate 2. State of the Art -> dealbreakers + dealmakers 3. Act II - The Trouble with Clouds (aka "So you're looking to buy?") 1. A Market for Lemons 2. How it's hurting consumers 3. Wouldn't it be cool if... 4. Further resources 5. Get in touch... NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
8. NGDC Summer 2009 Virtualize or Containerize? Why we're here Irving said blasphemous things about virtualization in IRC. irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
9. NGDC Summer 2009 Virtualize or Containerize? Containerization: Is that even a thing? irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
10. NGDC Summer 2009 Virtualize or Containerize? Rollcall Virtualization users and their admirers irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
11. NGDC Summer 2009 Virtualize or Containerize? Rollcall Containerization users and their admirers irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
12. NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09 Virtualize or Containerize? Act I Virtualize vs. Containerize: Define + Differentiate So, you're a provider...
13. NGDC Summer 2009 Virtualize or Containerize? Before we begin, assumptions Our focus: x86 Server Market Open Source Operating Systems Open Source & Web Application stacks Yes, we know that: Virtualization actually kicked off in the 1970s Mainframe world. Things are different when you bring Windows into the picture. If you want to discuss Windows, Mainframes, etc, you may be at the wrong talk. irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
14.
15. The virtualization "host" presents a complete set of hardware (CPU, memory, disk, devices) to the "guest", fooling the guest into thinking it is running on real hardware
28. NGDC Summer 2009 Virtualize or Containerize? Containerization: The Difference is found in the Translation Virtualization (much must be translated) Containerization (It's all native) irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
29. NGDC Summer 2009 Virtualize or Containerize? The Alien is the Guest, the Human is the Host *Except when you containerize, then a Human is both the Guest and Host irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
30. NGDC Summer 2009 Virtualize or Containerize? Containerization: Tools like OpenVZ are already packaged with or for your favorite distro irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
50. KMEMSIZE LOCKEDPAGES PRIVVMPAGES SHMPAGES NUMPROC PHYSPAGES VMGUARPAGES OOMGUARPAGES NUMTCPSOCK NUMFLOCK You Want Fine Grained Resource Limits? NUMPTY NUMSIGINFO TCPSNDBUF TCPRCVBUF OTHERSOCKBUF DGRAMRCVBUF NUMOTHERSOCK DCACHESIZE NUMFILE AVNUMPROC NUMIPTENT You got em. Hard and Soft limits for all. Virtualize or Containerize? NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
51. Virtualize or Containerize? Who were Popek and Goldberg? Published a famous paper in 1974 called "Formal Requirements for Virtualizable Third Generation Architectures". The fundamentals are still relevant today. Equivalence A program running under the VMM should exhibit a behavior essentially identical to that demonstrated when running on an equivalent machine directly. Resource control The VMM must be in complete control of the virtualized resources. Efficiency A statistically dominant fraction of machine instructions must be executed without VMM intervention. NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
53. Virtualize or Containerize? Convergent Evolution... Or Common Management Layer libvirt? NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
54. Virtualize or Containerize? What's best for you? It depends on who you are. NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
71. Virtualize or Containerize? Let's help you choose You care about: "Enterprise" functionality, support, clustering, pretty dashboards. Virtualize! NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
72. Virtualize or Containerize? Let's help you choose You care about: Running many, many different x86 OSes. And a wide array of virtual appliances. Virtualize! NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
73. Virtualize or Containerize? Let's help you choose You're an Infrastructure provider, and you need to run many, many instances of Linux as efficiently as possible. You understand that fitting more guests on a host is free money. Containerize! NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
74. Virtualize or Containerize? Let's help you choose You're a startup or indie developer on Linux, and you need to stretch every dollar. However, you want to easily add Staging/Dev environments, regression test on a wide variety of distributions, etc. People keep telling you to "Get a VM for that project." What do you do? Containerize! NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
75. Virtualize or Containerize? Act II The Trouble with Clouds So, you're a consumer of infrastructure... NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
76. Virtualize or Containerize? The market for lemons Much of what you just heard doesn't matter if you are a buyer of Infrastructure services (IaaS, Cloud Computing, etc.) Building any large-scale high performance virtualization infrastructure can be very tricky (variance in technical solutions) Vendors are forced to compete primarily on Price, not Quality. See famous paper "The Market for Lemons" by economist George Akerlof. NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
77. Virtualize or Containerize? (interrupting record scratch sound) NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
89. How-to articles Encourage vendors to be more transparent and describe their offerings in a more meaningful way. NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
90. Virtualize or Containerize? Okay, Now take a deep breath NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
96. Virtualize or Containerize? Get in touch Andy (Andrea) Sysadmin in Portland, OR Cries when make fails. twitter/identica: thesethings Blog: http://www.thesethingsmattertome.com/ Irving Popovetsky Independent consultant from Portland, OR Unabashed OSS nerd for nearly 15 years twitter/identica: irvingpop Blog: http://www.cloudest.com/blog/ NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09