Building appliances

7,591 views
7,392 views

Published on

Presentation given at Sizing Servers 2010

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
7,591
On SlideShare
0
From Embeds
0
Number of Embeds
3,485
Actions
Shares
0
Downloads
64
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Building appliances

  1. 1. Building (Virtual) Appliances Kris Buytaert
  2. 2. Kris Buytaert <ul><li>I used to be a Dev,
  3. 3. Then Became an Op
  4. 4. Senior Linux and Open Source Consultant @inuits.be
  5. 5. „ Infrastructure Architect“
  6. 6. Building Virtual Appliances/Clouds since 2004
  7. 7. Surviving the 10 th floor test
  8. 8. Co-Author Virtualization with Xen
  9. 9. Guest Editor at Virtualization.com
  10. 10. But mostly, a DevOp </li></ul>
  11. 11. Agenda <ul><li>What Is A Virtual Appliance ?
  12. 12. Build once, Run Everywhere
  13. 13. Why people don't like Virtual Appliances
  14. 14. Why Build Virtual Appliances
  15. 15. So you are building a Virtual Appliance ? </li></ul>
  16. 16. What Is A Virtual Appliance ?
  17. 17. Examples:
  18. 18. Where to get them ? <ul><li>TurnKey Linux: http://www.turnkeylinux.org/
  19. 19. VirtualBox : http://virtualboximages.com/
  20. 20. Rpath :
  21. 21. LMGTFY
  22. 22. the software vendor himselve
  23. 23. VMWare : http://www.vmware.com/appliances/
  24. 24. Citrix : Announced </li></ul>
  25. 25. Build once, Run Everywhere <ul><li>Remember a fellow called Duke in 1996 ?
  26. 26. His “VM” just got bigger </li></ul>
  27. 27. OVF <ul><li>Open Standard
  28. 28. Packaging & Distributing
  29. 29. Hypervisor independant
  30. 30. Support Multiple VM's in 1 package
  31. 31. Defines : CPU, Memory, Network, Storage </li></ul>
  32. 32. NOT OVF <ul><li>File Format
  33. 33. Conversion between fileformats still needed </li><ul><li>e.g VMDK to VHD (Xen)
  34. 34. But there are some availble </li></ul></ul>
  35. 35. OVF in products <ul><li>VirtualBox
  36. 36. RHEV as of v2.2 import and export available
  37. 37. Citrix Labs : Project Kensho
  38. 38. VMWare export tool </li></ul>
  39. 39. Why people don't like Virtual Appliances <ul><li>Doesn't fit with their deployment tools
  40. 40. Doesn't fit with their authentication infrastructure
  41. 41. Doesn't fit with their standard database
  42. 42. Doesn't fit with their backup infrastructure
  43. 43. Doesn't fit with their operating system of choice </li></ul>
  44. 44. Why people don't like Virtual Appliances <ul><li>Security </li><ul><li>Who did build this device ? </li></ul><li>What about updates ?
  45. 45. Did we mention authentication ?
  46. 46. How secure is the application
  47. 47. The application servers ?
  48. 48. The Firewall ? </li></ul>
  49. 49. Image Sprawl, your update nightmare <ul><li>Image sprawl </li><ul><li>Copy VM, Deploy VM, Modify VM, Copy VM </li></ul><li>How do you patch 1 VM ?
  50. 50. Did you patch before or after that one was copied ?
  51. 51. How do you patch 100 VM's ?
  52. 52. What about machines that are offline ? </li></ul>
  53. 53. Image Sprawl, your update nightmare The biggest challenges we have in virtualization cloud are operational and organizational rather than technical. Christofer Hoff
  54. 54. Why Build Virtual Appliances <ul><li>Give customers a no fuzz working platform
  55. 55. Save potential customers time by giving them a working demo </li><ul><li>No wasted time trying to satisfy dependencies </li></ul><li>Technology Previews
  56. 56. Deploy your application on a virtual platform
  57. 57. A tool dedicated for virtual platforms (virtual networking, virtual security) </li></ul>
  58. 58. So you are building a Virtual Appliance ? <ul><li>What to firewall ? </li><ul><ul><li>Subnet ?
  59. 59. Localhost ? </li></ul></ul><li>Are you going to build LDAP/??? libraries in ?
  60. 60. How secure is the The Firewall ?
  61. 61. What about updates ? </li></ul>
  62. 62. How to build virtual appliances <ul><li>Rpath (Conary)
  63. 63. Suse Studio (Suse)
  64. 64. UshareSoft (distro indep)
  65. 65. Bitnami (distro indep)
  66. 66. But , how do you build your own software / infrastructure ? </li></ul>
  67. 67. Your Software <ul><li>should be managed using version control
  68. 68. should build using a CI setup
  69. 69. should be tested in a test environment </li></ul>
  70. 70. Your Build environment <ul><li>should be managed using version control
  71. 71. should be automated
  72. 72. should be disposable
  73. 73. Think deploy a VM , build software, transfer build results, destroy VM </li></ul>
  74. 74. Your Test Environment <ul><li>should reproducible
  75. 75. should disposable
  76. 76. should automated
  77. 77. Think deploy a VM , test software, destroy VM </li></ul>
  78. 78. Deploying <ul><li>Automated Deployments
  79. 79. If my computer can't install it , the installer is borken
  80. 80. Reproducable
  81. 81. Think: </li><ul><li>Kickstart, FAI, Preseeding, SystemImager Suite </li></ul><li>Also in a VM </li></ul>
  82. 82. How to Upgrade ? <ul><li>Provide Public Repository </li><ul><li>Feature upgrades
  83. 83. Security upgrades </li></ul><li>Provide Fresh Images </li></ul>
  84. 84. Config Propagation <ul><li>Is this your config or Customer config ?
  85. 85. Overwrite customer preferences ?
  86. 86. Hosted Cfg Mgmt tools </li></ul>
  87. 87. Config Propagation <ul><li>Is this your config or Customer config ?
  88. 88. Overwrite customer preferences ?
  89. 89. Hosted Cfg Mgmt tools </li></ul>
  90. 90. Package & Ship <ul><li>Clocks HW vs Internal
  91. 91. Filesystems
  92. 92. Firewalls
  93. 93. Webmin
  94. 94. Vlan support </li></ul>
  95. 95. Conclusion <ul><li>Standardize
  96. 96. Automate
  97. 97. Situation normal, nothing must change
  98. 98. Devops </li></ul>
  99. 99. ` Kris Buytaert < [email_address] > Further Reading http://www.krisbuytaert.be/blog/ http://www.inuits.be/ http://www.virtualization.com/ http://www.oreillygmt.com/ ? !

×