0
devops                          an introduction                          Patrick DeboisMonday 14 February 2011
My Background     • Independent consultant     • Have worked in different roles     • Agile and Infrastructure     • Just ...
Background check?                          analysts     database                          developer    security           ...
DEV         OPS                              The                            problemMonday 14 February 2011
Agile already did a great jobMonday 14 February 2011
But they forgot some peopleMonday 14 February 2011
Monday 14 February 2011
Traditional CI Overview                          http://www.javaworld.com/javaworld/jw-12-2008/images/CIOverview.jpgMonday...
Continuous Integration                                Maturity Model                      http://www.anthillpro.com/blogs/...
The only way to                          measure progress                             is “Working                         ...
The only way to                          measure progress                             is “Working                         ...
Monday 14 February 2011
Business Value            Ordered by             Ordered by the value          the value gained             protected     ...
IT Tooling is changingMonday 14 February 2011
Virtualization                                   • kvm                                   • xen                            ...
Cloud showed                          us how to scaleMonday 14 February 2011
Abstraction API                 http://libvirt.org/   http://www.jclouds.org/                                             ...
Platform as a ServiceMonday 14 February 2011
Hudson as Service                           http://www.cloudbees.com/Monday 14 February 2011
But who will                            manage                           your IAAS                           platform?Mond...
First steps of                          Automation                                    http://fai-project.org/       https:...
CloningMonday 14 February 2011
Virtual SprawlMonday 14 February 2011
Configuration                          Management                                                     Chef  http://www.cfen...
Infrastructure as code # tomcat.pp class tomcat { !    package { !    ! "java-1.6.0-sun-compat": !    ! ! ensure => "insta...
Model Driven InfrastructureMonday 14 February 2011
Definition                                             of your                                         infrastructure      ...
Version ControlMonday 14 February 2011
Reusable                             components                          https://github.com/camptocampMonday 14 February 2...
Code/Server Smells                                   Private Playground                                   The sysadmin use...
Sharing Recipes/Code                             http://cookbooks.opscode.com/http://forge.puppetlabs.com/Monday 14 Februa...
CI for systemsMonday 14 February 2011
CI for systems (2)Monday 14 February 2011
Pipelines conceptMonday 14 February 2011
Automation                          without tests isMonday 14 February 2011
cucumber-nagios    Feature: google.com         It should be up         And I should be able to search for things          ...
cucumber-sshScenario: Checking /etc/passwd  When I ssh to "example.org" with the following credentials:   | username | pas...
cucumber-apacheapache.featureFeature:  In order to deploy my application  As a systems administrator  I want to know that ...
cucumber-puppet  Feature: cucumber-puppet    In order to run my puppet manifests test suite    As an admin    I want the c...
The life of a System                                Birth, Adoption                                     Life              ...
Veewee                                Allows an easy way                            to build your own baseboxhttps://githu...
Veewee usage                   • gem install veewee                   • vagrant basebox define ‘ubuntu-64’ mybox           ...
Vagrant                                          Allows an easy way                                     to use the product...
Vagrant usage                   • vagrant add mybox.box (adds the box)                   • vagrant init myapp (starts a pr...
Sample Project                     •    ProjectX (git repo)                          • Vagrantfile                        ...
Global Ownership      It’s the                         It’s the    javascript                        network             I...
IAAS and PAAS blurring                    Pull in both your recipes and your codeMonday 14 February 2011
I know                             all that                          What’s new?Monday 14 February 2011
The map      is not   the territory             Alfred KorzybskiMonday 14 February 2011
Optimize the whole not                          just the individual parts                             Systems ThinkingMond...
Value Stream MappingMonday 14 February 2011
People make it happenMonday 14 February 2011
Culture & MindsetMonday 14 February 2011
Collaboration not only when things go wrong                                                    Sysadmins                  ...
No rock star mentality                          Mine are bigger then yoursMonday 14 February 2011
CraftsmanshipMonday 14 February 2011
TrustMonday 14 February 2011
Collaboration not only when things go wrong                                                    Sysadmins                  ...
Starting a devops                              culture =                           restoring trust                        ...
Interesting BooksMonday 14 February 2011
Want to know more?                              #devops & #infratalk                                 on twitter & irc     ...
Questions?Monday 14 February 2011
The EndMonday 14 February 2011
Upcoming SlideShare
Loading in...5
×

DevOps Introduction @Cegeka

3,861

Published on

A DevOps introduction at Cegeka.

0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
3,861
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
108
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide

Transcript of "DevOps Introduction @Cegeka"

  1. 1. devops an introduction Patrick DeboisMonday 14 February 2011
  2. 2. My Background • Independent consultant • Have worked in different roles • Agile and Infrastructure • Just Enough Developed Infrastructure - http://jedi.be • Started organizing devopsdays • Recently joined Cutter ConsortiumMonday 14 February 2011
  3. 3. Background check? analysts database developer security operations middleware testers sales network manager storage hr peopleMonday 14 February 2011
  4. 4. DEV OPS The problemMonday 14 February 2011
  5. 5. Agile already did a great jobMonday 14 February 2011
  6. 6. But they forgot some peopleMonday 14 February 2011
  7. 7. Monday 14 February 2011
  8. 8. Traditional CI Overview http://www.javaworld.com/javaworld/jw-12-2008/images/CIOverview.jpgMonday 14 February 2011
  9. 9. Continuous Integration Maturity Model http://www.anthillpro.com/blogs/anthillpro-blog/2009/05/05/1241542860000.htmlMonday 14 February 2011
  10. 10. The only way to measure progress is “Working software”Monday 14 February 2011
  11. 11. The only way to measure progress is “Working software” In productionMonday 14 February 2011
  12. 12. Monday 14 February 2011
  13. 13. Business Value Ordered by Ordered by the value the value gained protected Increase Change Avoid ChangeMonday 14 February 2011
  14. 14. IT Tooling is changingMonday 14 February 2011
  15. 15. Virtualization • kvm • xen • solaris zones • vmware • virtualbox • ...Monday 14 February 2011
  16. 16. Cloud showed us how to scaleMonday 14 February 2011
  17. 17. Abstraction API http://libvirt.org/ http://www.jclouds.org/ Adrian Cole @jcloudsMonday 14 February 2011
  18. 18. Platform as a ServiceMonday 14 February 2011
  19. 19. Hudson as Service http://www.cloudbees.com/Monday 14 February 2011
  20. 20. But who will manage your IAAS platform?Monday 14 February 2011
  21. 21. First steps of Automation http://fai-project.org/ https://fedorahosted.org/cobbler/ http://spacewalk.redhat.com/Monday 14 February 2011
  22. 22. CloningMonday 14 February 2011
  23. 23. Virtual SprawlMonday 14 February 2011
  24. 24. Configuration Management Chef http://www.cfengine.org/ http://www.opscode.com/chef https://github.com/ hugoduncan/pallet Pallethttp://www.puppetlabs.comMonday 14 February 2011
  25. 25. Infrastructure as code # tomcat.pp class tomcat { ! package { ! ! "java-1.6.0-sun-compat": ! ! ! ensure => "installed"; ! ! "tomcat6": ! ! ! require => [Package["java-1.6.0-sun-compat"], Package["ntc-tomcat-log4j"]], ! ! ! ensure => "installed"; ! ! "tomcat6-admin-webapps": ! ! ! ensure => "installed"; ! ! "log4j": ! ! ! ensure => "installed"; ! ! "tanukiwrapper": ! ! ! ensure => "installed"; ! ! "mysql-connector-java": ! ! ! ensure => "installed"; ! } ! file { ! ! "/etc/init.d/tomcat6": mode => "0755", owner => "root", group => "root", source => "puppet:///tomcat/tomcat6.init"; } ! user { ! ! "tomcat": ! ! ! ensure => "present", ! ! ! require => Package["tomcat6"]; ! } }!Monday 14 February 2011
  26. 26. Model Driven InfrastructureMonday 14 February 2011
  27. 27. Definition of your infrastructure John E.Vincent @lusis https://github.com/lusis/vogelerMonday 14 February 2011
  28. 28. Version ControlMonday 14 February 2011
  29. 29. Reusable components https://github.com/camptocampMonday 14 February 2011
  30. 30. Code/Server Smells Private Playground The sysadmin uses the system as his toy playground, doesnt clean up. • /tmp & /var/tmp full of old install files • / full of files Gready Server One server that does every function • combined mail and web and dns and fileshares • all users on the same system Root is the cause of all evil • last show login all root • no sudo is activated • no sshd keys for logins • nfs share/root? • Chmod 777 • most processes run as rootMonday 14 February 2011
  31. 31. Sharing Recipes/Code http://cookbooks.opscode.com/http://forge.puppetlabs.com/Monday 14 February 2011
  32. 32. CI for systemsMonday 14 February 2011
  33. 33. CI for systems (2)Monday 14 February 2011
  34. 34. Pipelines conceptMonday 14 February 2011
  35. 35. Automation without tests isMonday 14 February 2011
  36. 36. cucumber-nagios Feature: google.com It should be up And I should be able to search for things Scenario: Searching for things When I visit "http://www.google.com" And I fill in "q" with "wikipedia" And I press "Google Search" Then I should see "www.wikipedia.org" $ cucumber-nagios google.feature Critical: 0, Warning: 0, 4 okay | passed=4, failed=0 Lindsay Holmwood @auxesisMonday 14 February 2011
  37. 37. cucumber-sshScenario: Checking /etc/passwd When I ssh to "example.org" with the following credentials: | username | password | keyfile | | jacob | spifeofstrife | /home/jacob/.ssh/id_dsa | And I run "cat /etc/passwd" Then I should see "jacob" in the output Lindsay Holmwood @auxesisMonday 14 February 2011
  38. 38. cucumber-apacheapache.featureFeature: In order to deploy my application As a systems administrator I want to know that the config files are legal Scenario: Valid Apache config Given a config file template apache2.conf in etc/apache2 When I generate it Then there should be a file called apache2.conf in etc/ap And it should be valid Julian Simpsonhttp://pastie.org/693713 @builddoctorMonday 14 February 2011
  39. 39. cucumber-puppet Feature: cucumber-puppet In order to run my puppet manifests test suite As an admin I want the cucumber-puppet gem installed Scenario: Install cucumber-puppet Given a node of class "cucumber-puppet" When I compile the catalog Then gem "cucumber-puppet" should be "installed" Nikolay Sturmhttps://github.com/nistude/cucumber-puppet @nistudeMonday 14 February 2011
  40. 40. The life of a System Birth, Adoption Life Retired DeathMonday 14 February 2011
  41. 41. Veewee Allows an easy way to build your own baseboxhttps://github.com/jedi4ever/veewee Patrick Debois @patrickdeboisMonday 14 February 2011
  42. 42. Veewee usage • gem install veewee • vagrant basebox define ‘ubuntu-64’ mybox • preseed.cfg + postinstall.sh • vagrant basebox build mybox • vagrant export myboxMonday 14 February 2011
  43. 43. Vagrant Allows an easy way to use the production recipes in your own dev environment http://vagrantup.com/ Mitchell Hashimoto @mitchellhMonday 14 February 2011
  44. 44. Vagrant usage • vagrant add mybox.box (adds the box) • vagrant init myapp (starts a project) • vagrant up (startup a box) • vagrant ssh (logs into the box) • vagrant provision (runs recipes)Monday 14 February 2011
  45. 45. Sample Project • ProjectX (git repo) • Vagrantfile • [manifests] (git submodule) • tomcat ... • ubuntu .. • [src] (git submodule) • [definitions] • preseed.cfgMonday 14 February 2011
  46. 46. Global Ownership It’s the It’s the javascript network It’s the It’s the backend server It’s the It’s the database storageMonday 14 February 2011
  47. 47. IAAS and PAAS blurring Pull in both your recipes and your codeMonday 14 February 2011
  48. 48. I know all that What’s new?Monday 14 February 2011
  49. 49. The map is not the territory Alfred KorzybskiMonday 14 February 2011
  50. 50. Optimize the whole not just the individual parts Systems ThinkingMonday 14 February 2011
  51. 51. Value Stream MappingMonday 14 February 2011
  52. 52. People make it happenMonday 14 February 2011
  53. 53. Culture & MindsetMonday 14 February 2011
  54. 54. Collaboration not only when things go wrong Sysadmins Testers Analysts SecurityDevelopers Network UI Architects DesignersMonday 14 February 2011
  55. 55. No rock star mentality Mine are bigger then yoursMonday 14 February 2011
  56. 56. CraftsmanshipMonday 14 February 2011
  57. 57. TrustMonday 14 February 2011
  58. 58. Collaboration not only when things go wrong Sysadmins Testers Analysts SecurityDevelopers Network UI Architects DesignersMonday 14 February 2011
  59. 59. Starting a devops culture = restoring trust http://voetstappen.blogspot.com/Monday 14 February 2011
  60. 60. Interesting BooksMonday 14 February 2011
  61. 61. Want to know more? #devops & #infratalk on twitter & irc http://devopsdays.org http://devopscafe.org http://planetdevops.net devops googlegroup devops-toolchain googlegroupMonday 14 February 2011
  62. 62. Questions?Monday 14 February 2011
  63. 63. The EndMonday 14 February 2011
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×