SlideShare une entreprise Scribd logo
1  sur  43
NGDC Summer 2009 cyberstalk   : irc / twitter/ identica:  irvingpop, thesethings  web: http://bit.ly/ngdc09   irving + andy Virtualize or Containerize?
NGDC Summer 2009 Hello San Francisco!
irving + andy NGDC Summer 2009 irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09 Virtualize or Containerize?
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
NGDC Summer 2009 Virtualize or Containerize? Containerization: Now you can handle the truth Now that we all know + love virtualization, it's easier to wrap our brains around containerization ,[object Object]
Amazon EC2, Xen, Vmware... Perhaps you've heard of them?
Containerization branding chaos. ,[object Object],irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
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
NGDC Summer 2009 Virtualize or Containerize? Containerization: Is that even a thing? irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
NGDC Summer 2009 Virtualize or Containerize? Rollcall Virtualization users and their admirers irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
NGDC Summer 2009 Virtualize or Containerize? Rollcall Containerization users and their admirers irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
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...
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
NGDC Summer 2009 Virtualize or Containerize? Virtualization Explained Virtualization in a Nutshell: ,[object Object]
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
Analogy:   The Matrix
  Examples ,[object Object]
Xen (Paravirtualization)
KVM (Paravirtualization)
Virtualbox (Full Virtualization)
  ,[object Object],irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
NGDC Summer 2009 Virtualize or Containerize? Virtualization Explained (cont.) Advantages: ,[object Object]
System Protection
Simplicity - Run any x86 OS! Disadvantage:  ,[object Object]
Memory Performance
IO Performance
Noticing a trend?  Expensive translation Scheduler Contention irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
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
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
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
NGDC Summer 2009 Virtualize or Containerize? Containerization Explained Containerization in a Nutshell ,[object Object]
Essentially, virtualization in user-land
Single kernel provides greater control of guests, yet  thinner separation between guests
Some ability to run different OS distributions Popular Ones ,[object Object]
Linux-Vserver
FreeBSD Jails
Solaris Containers irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
NGDC Summer 2009 Virtualize or Containerize? Containerization Explained (cont.) Advantages ,[object Object]
IO and Memory Performance levels similar to native operation
CPU Scalability - no "virtual SMP" limits
Resource Control and Constraints Disadvantages ,[object Object]
“ Enterprise Functionality” is a mixed bag irc / twitter/ identica:  irvingpop, thesethings  web:  http://bit.ly/ngdc09
NGDC Summer 2009 Virtualize or Containerize? Neat Containerization Tricks Tighter relationship between Host and Guest allows you to: ,[object Object]

Contenu connexe

Similaire à Containerize vs Virtualize? NGDC 2009

Containerize vs Virtualize
Containerize vs VirtualizeContainerize vs Virtualize
Containerize vs VirtualizeAndy d
 
Virtualize or Containerize
Virtualize or ContainerizeVirtualize or Containerize
Virtualize or ContainerizeAndy d
 
Vbrownbag container networking for real workloads
Vbrownbag container networking for real workloadsVbrownbag container networking for real workloads
Vbrownbag container networking for real workloadsCisco DevNet
 
The Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with ChefThe Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with ChefChef Software, Inc.
 
WebRTC: A front-end perspective
WebRTC: A front-end perspectiveWebRTC: A front-end perspective
WebRTC: A front-end perspectiveshwetank
 
You got database in my cloud!
You got database  in my cloud!You got database  in my cloud!
You got database in my cloud!Liz Frost
 
murakumo Cloud Controller
murakumo Cloud Controllermurakumo Cloud Controller
murakumo Cloud ControllerShingo Kawano
 
CA Performance Manager Agility by using Docker Containers for Network Manag...
CA Performance Manager Agility by using Docker Containers for Network Manag...CA Performance Manager Agility by using Docker Containers for Network Manag...
CA Performance Manager Agility by using Docker Containers for Network Manag...CA Technologies
 
Developer-Friendly CI / CD for Kubernetes
Developer-Friendly CI / CD for KubernetesDeveloper-Friendly CI / CD for Kubernetes
Developer-Friendly CI / CD for KubernetesDevOps Indonesia
 
Abusing the Cloud for Fun and Profit
Abusing the Cloud for Fun and ProfitAbusing the Cloud for Fun and Profit
Abusing the Cloud for Fun and ProfitAlan Pinstein
 
Beware the potholes
Beware the potholesBeware the potholes
Beware the potholesYan Cui
 
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...Concentrated Technology
 
Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2360|Conferences
 
An introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-REDAn introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-REDBoris Adryan
 
Start tracking your ruby infrastructure
Start tracking your ruby infrastructureStart tracking your ruby infrastructure
Start tracking your ruby infrastructureSergiy Kukunin
 
Functional IoT: Hardware and Platform
Functional IoT: Hardware and PlatformFunctional IoT: Hardware and Platform
Functional IoT: Hardware and PlatformKiwamu Okabe
 
15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloud15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloudBilly Korando
 
Chef on SmartOS
Chef on SmartOSChef on SmartOS
Chef on SmartOSEric Saxby
 
HTML5 WebSocket for the Real-Time Web and the Internet of Things
HTML5 WebSocket for the Real-Time Weband the Internet of ThingsHTML5 WebSocket for the Real-Time Weband the Internet of Things
HTML5 WebSocket for the Real-Time Web and the Internet of ThingsPeter Moskovits
 
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCPSimpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCPDaniel Zivkovic
 

Similaire à Containerize vs Virtualize? NGDC 2009 (20)

Containerize vs Virtualize
Containerize vs VirtualizeContainerize vs Virtualize
Containerize vs Virtualize
 
Virtualize or Containerize
Virtualize or ContainerizeVirtualize or Containerize
Virtualize or Containerize
 
Vbrownbag container networking for real workloads
Vbrownbag container networking for real workloadsVbrownbag container networking for real workloads
Vbrownbag container networking for real workloads
 
The Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with ChefThe Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
The Kitchen Cloud How To: Automating Joyent SmartMachines with Chef
 
WebRTC: A front-end perspective
WebRTC: A front-end perspectiveWebRTC: A front-end perspective
WebRTC: A front-end perspective
 
You got database in my cloud!
You got database  in my cloud!You got database  in my cloud!
You got database in my cloud!
 
murakumo Cloud Controller
murakumo Cloud Controllermurakumo Cloud Controller
murakumo Cloud Controller
 
CA Performance Manager Agility by using Docker Containers for Network Manag...
CA Performance Manager Agility by using Docker Containers for Network Manag...CA Performance Manager Agility by using Docker Containers for Network Manag...
CA Performance Manager Agility by using Docker Containers for Network Manag...
 
Developer-Friendly CI / CD for Kubernetes
Developer-Friendly CI / CD for KubernetesDeveloper-Friendly CI / CD for Kubernetes
Developer-Friendly CI / CD for Kubernetes
 
Abusing the Cloud for Fun and Profit
Abusing the Cloud for Fun and ProfitAbusing the Cloud for Fun and Profit
Abusing the Cloud for Fun and Profit
 
Beware the potholes
Beware the potholesBeware the potholes
Beware the potholes
 
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
WinConnections Spring, 2011 - 30 Bite-Sized Tips for Best vSphere and Hyper-V...
 
Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2Samuel Asher Rivello - PureMVC Hands On Part 2
Samuel Asher Rivello - PureMVC Hands On Part 2
 
An introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-REDAn introduction to workflow-based programming with Node-RED
An introduction to workflow-based programming with Node-RED
 
Start tracking your ruby infrastructure
Start tracking your ruby infrastructureStart tracking your ruby infrastructure
Start tracking your ruby infrastructure
 
Functional IoT: Hardware and Platform
Functional IoT: Hardware and PlatformFunctional IoT: Hardware and Platform
Functional IoT: Hardware and Platform
 
15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloud15-ways-to-optimize-spring-boot-for-the-cloud
15-ways-to-optimize-spring-boot-for-the-cloud
 
Chef on SmartOS
Chef on SmartOSChef on SmartOS
Chef on SmartOS
 
HTML5 WebSocket for the Real-Time Web and the Internet of Things
HTML5 WebSocket for the Real-Time Weband the Internet of ThingsHTML5 WebSocket for the Real-Time Weband the Internet of Things
HTML5 WebSocket for the Real-Time Web and the Internet of Things
 
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCPSimpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
Simpler, faster, cheaper Enterprise Apps using only Spring Boot on GCP
 

Dernier

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Dernier (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

Containerize vs Virtualize? NGDC 2009

  • 1. NGDC Summer 2009 cyberstalk : irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09 irving + andy Virtualize or Containerize?
  • 2. NGDC Summer 2009 Hello San Francisco!
  • 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
  • 5.
  • 6. Amazon EC2, Xen, Vmware... Perhaps you've heard of them?
  • 7.
  • 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
  • 17.
  • 21.
  • 22.
  • 24.
  • 27. Noticing a trend? Expensive translation Scheduler Contention irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 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
  • 31.
  • 33. Single kernel provides greater control of guests, yet thinner separation between guests
  • 34.
  • 37. Solaris Containers irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 38.
  • 39. IO and Memory Performance levels similar to native operation
  • 40. CPU Scalability - no "virtual SMP" limits
  • 41.
  • 42. “ Enterprise Functionality” is a mixed bag irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 43.
  • 44. Easily Access the Filesystem of Guests from the Host
  • 45. Share identical memory between Guests and the Host
  • 47. Very fine grained resource limits irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 48. NGDC Summer 2009 Virtualize or Containerize? Command-Line Examples List vzlist -a CTID NPROC STATUS IP_ADDR HOSTNAME 1 35 running 10.101.60.79 localhost 101 8 running 10.101.66.1 ct101.swsoft.com 102 7 running 10.101.66.159 ct102.swsoft.com 103 - stopped 10.101.66.103 ct103.swsoft.com Enter container:~# vzctl enter 100 entered into VE 100 root@www:/# Change User Password vzctl set 100 --save --userpassword apache:secretpassword! Change DNS Server vzctl set 100 --save --nameserver 192.168.0.2 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 49. ONBOOT="yes" VE_ROOT="/var/lib/vz/root/$VEID" VE_PRIVATE="/var/lib/vz/private/$VEID" OSTEMPLATE="ubuntu-8.04-amd64-minimal" ORIGIN_SAMPLE="vps.basic" HOSTNAME="www.example.com" IP_ADDRESS="192.168.0.220" NAMESERVER="192.168.0.10" NOATIME="yes" DISKSPACE="10485760:11530240" DISKINODES="200000:220000" QUOTATIME="0" CPUUNITS="1000" OpenVZ Config Example VITALS QUOTAS Virtualize or Containerize? NGDC Summer 2009 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
  • 52. Virtualize or Containerize? Convergent Evolution (Or something...) 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
  • 55.
  • 62. just need to run a dang app? NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 63.
  • 64. Providing infrastructure, or applications on top of an infrastructure, within your organization/company
  • 65.
  • 66. using an app that needs infrastructure
  • 67.
  • 68. Providing infrastructure, or applications on top of an infrastructure, within your organization/company
  • 69.
  • 70. using an app that needs infrastructure
  • 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
  • 78.
  • 79. API
  • 81.
  • 82. Install smart Caching mechanisms by default (WP-Super-Cache, memcached, Boost, mod_cache)
  • 83. Don't fool buyers into thinking that they can get by without a proper sysadmin.
  • 84. Don't instantly upsell more widgets when the customer's performance goes south. NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 85.
  • 86. Compare real-world task response times
  • 87.
  • 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
  • 91.
  • 92. VMware whitepaper:  Understanding Paravirtualization http://www.vmware.com/files/pdf/VMware_paravirtualization.pdf
  • 93. Intel whitepaper:  Hybrid Virtualization  http://www.vmware.com/files/pdf/VMware_paravirtualization.pdf
  • 94. Troubleshooting hosted Xen story:   http://wiki.xen.prgmr.com/xenophilia/2009/06/see-this-is-why-i-dont-assume.html
  • 95. Popek and Goldberg Virtualization Requirements   http://en.wikipedia.org/wiki/Popek_and_Goldberg_virtualization_requirements 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
  • 97. Virtualize or Containerize? Questions?? NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09
  • 98. Virtualize or Containerize? Thanks for coming! NGDC Summer 2009 irc / twitter/ identica: irvingpop, thesethings web: http://bit.ly/ngdc09