Infrastructure as code

5,191 views
5,015 views

Published on

Published in: Technology
2 Comments
10 Likes
Statistics
Notes
No Downloads
Views
Total views
5,191
On SlideShare
0
From Embeds
0
Number of Embeds
1,242
Actions
Shares
0
Downloads
107
Comments
2
Likes
10
Embeds 0
No embeds

No notes for slide

Infrastructure as code

  1. 1. Infrastructure as codePixelpark Innovation LabCologne, 8 November 2011
  2. 2. 1 Introduction2 Just enough… OS3 Just enough… image building4 Just enough… infrastructure code5 Summary
  3. 3. Agenda1. Introduction © pixelpark | 3
  4. 4. © pixelpark | 4
  5. 5. Cloud Stack SaaS §  e.g. Salesforce etc. Software as a Service Flexibilitx of Purpose Level of Abstraction PaaS §  e.g. Google App Engine, §  Windows Azure, Heroku Platform as a Service IaaS §  e.g. Amazon EC2, §  Rackspace etc. Infrastructure as a Service Public Hybrid Private Control / Governance © pixelpark | 5
  6. 6. Raw image Basic Installation Software Stack Software Applicatione.g. Debian § Network Configuration Configuration § Config § Partitions § … TIME ISO Snapshot Snapshot Golden Image Autoconfig Chef Cookbook (Saved once) Middleware to scale © pixelpark | 6
  7. 7. Agenda2. Just enough… OS © pixelpark | 7
  8. 8. Deployment models Hybrid Cloud “Cloud in your Pocket“ Private Cloud Public Cloud §  Eucalyptus §  Amazon Web Services §  OpenStack §  Rackspace §  Crowbar §  Google App Engine §  OpenNebula §  vCloud §  … §  … Eucalyptus, Deltacloud © pixelpark | 8
  9. 9. „A cloud in your Pocket“ © pixelpark | 9
  10. 10. © pixelpark | 10
  11. 11. Vagrant Boxes Virtual Box Vagrant file App 1 App 2 DB LB … Git (e.g. for storing dotfiles) © pixelpark | 11
  12. 12. You want to get more boxes?Try Vagrantbox.es. © pixelpark | 12
  13. 13. But…Paranoid? Do you trust these boxes? © pixelpark | 13
  14. 14. Agenda3. Just enough… image building © pixelpark | 14
  15. 15. VeeWee Git Kickstart preseed.cfg [ alt. e.g. FAI ] AutoYaST definition.rb (Debian GNU Linux / Ubuntu) (openSUSE) Predefined lists (Red Hat) postinstall.sh VeeWee JeOS Box 1 Box 2 Box n (Hosting e.g. S3, Dropbox, Local) Vagrant file © pixelpark | 15
  16. 16. What about Public Clouds? © pixelpark | 16
  17. 17. Mccloud AMIs Porting Boxes to AMIs soon EC2 Fog Mccloudfile (similar to boto) App 1 App 2 LB … Git (Dotfiles) © pixelpark | 17
  18. 18. What about Private Clouds? © pixelpark | 18
  19. 19. Crowbar Server Crowbar Chef Server PXE PXE, DHCP, DNS Bare Iron Wget Network Discovery Wget Data Store BIOS/RAID config Wget PXE OS install Chef Client WGE install OpenStack Chef takes over control config Ready for service Chef Comms © pixelpark | 19Source: Rob Hirschfeld
  20. 20. Agenda4. Just enough… infrastructure code © pixelpark | 20
  21. 21. © pixelpark | 21
  22. 22. Chef Solo JSON Push Chef Solo ConfigurationReconfigure Cookbooks © pixelpark | 22Source: peritor
  23. 23. Chef Server JSON Pull Chef Client Chef Server Configuration & CookbooksReconfigure Cookbooks Cookbooks © pixelpark | 23Source: peritor
  24. 24. Scenarios AMI Boxes Chef Server EC2 or Puppet Server VirtualBox Chef Server Crowbar © pixelpark | 24
  25. 25. Agenda5. Summary © pixelpark | 25
  26. 26. Rundeck Pie Just enough…Deployinator coordinationCfengine Puppet Just enough… Chef infrastructure code Cloud Fog (Ruby) Public Cloud AWS Just enough… Abstraction Boto (Python) APIs Rackspace Operating SystemMccloud Library jclouds (Java) CLIs vCloud Private Cloud libvirt Private Cloud Xen APIs KVM AbstractionCrowbar Library CLIs lxc vSphere „Cloud VMware Player in your VMware fusionVagrant Pocket“ VirtualBoxVeeWee Just enough… image building | Source: Patrick Debois
  27. 27. DevOps. |
  28. 28. Dev to all Ops Ops is a Black Box Dev Ops |
  29. 29. We‘re looking forward to receiving yourfeedback.
  30. 30. ImprintThe ideas and proposals included in this presentation are the intellectual property of Pixelparkand subject to current copyright laws. The total or partial reproduction, and any disclosure tothird parties is permitted.Axel QuackDirector Innovation ManagementPixelpark AGCäcilienkloster 250676 KölnTel: +49.221.951515-994Fax: +49.221.951515-66axel.quack@pixelpark.comwww.pixelpark.com © pixelpark | 30

×