Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Automatisierungstechnologien fuer-die-infrastruktur-mit-chef

1,751 views

Published on

My Slides of my lecture at GeekCon (http://www.meinvz.net/geekcon) on 5th of April 2011.

Published in: Technology
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Automatisierungstechnologien fuer-die-infrastruktur-mit-chef

  1. 1. About Wozu Automatisierung? Chef Examples SearchAutomatisierungstechnologien f¨r die Infrastruktur u mit Chef Frederic Jaeckel (SoundCloud) 5. April 2011 Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  2. 2. About Wozu Automatisierung? Chef Examples SearchInhaltsverzeichnis 1 About 2 Wozu Automatisierung? 3 Chef Architektur Objekte Utilities 4 Examples Cookbooks Cookbooks Node Attributes Roles Data Bags 5 Search Search Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  3. 3. About Wozu Automatisierung? Chef Examples SearchAbout me (Dev)Op bei SoundCloud Zuvor im Security und Enterprise Umfeld t¨tig gewesen a Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  4. 4. About Wozu Automatisierung? Chef Examples SearchAbout me (Dev)Op bei SoundCloud Zuvor im Security und Enterprise Umfeld t¨tig gewesen a UNIX user/admin seit vielen Jahren Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  5. 5. About Wozu Automatisierung? Chef Examples SearchAbout me (Dev)Op bei SoundCloud Zuvor im Security und Enterprise Umfeld t¨tig gewesen a UNIX user/admin seit vielen Jahren Twitter: twitter.com/jaycieh SoundCloud: soundcloud.com/jaycieh Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  6. 6. About Wozu Automatisierung? Chef Examples SearchAbout me (Dev)Op bei SoundCloud Zuvor im Security und Enterprise Umfeld t¨tig gewesen a UNIX user/admin seit vielen Jahren Twitter: twitter.com/jaycieh SoundCloud: soundcloud.com/jaycieh Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  7. 7. About Wozu Automatisierung? Chef Examples SearchAbout SoundCloud Sharing Music Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  8. 8. About Wozu Automatisierung? Chef Examples SearchAbout SoundCloud Sharing Music Etwa 3 Millionen User 50.000 Twitter und Facebook shares taeglich Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  9. 9. About Wozu Automatisierung? Chef Examples SearchAbout SoundCloud Sharing Music Etwa 3 Millionen User 50.000 Twitter und Facebook shares taeglich Hauptsitz in Berlin Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  10. 10. About Wozu Automatisierung? Chef Examples SearchAbout SoundCloud Sharing Music Etwa 3 Millionen User 50.000 Twitter und Facebook shares taeglich Hauptsitz in Berlin Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  11. 11. About Wozu Automatisierung? Chef Examples SearchWozu Automatisierung? Konsistenz /etc/hosts, User Erstellung, Anpassen von config Variablen rapid development Hosts werden ferngesteuert Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  12. 12. About Wozu Automatisierung? Chef Examples SearchWozu Automatisierung? Konsistenz /etc/hosts, User Erstellung, Anpassen von config Variablen rapid development Hosts werden ferngesteuert Der SysOp wird zum DevOp Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  13. 13. About Wozu Automatisierung? Chef Examples SearchWozu Automatisierung? Konsistenz /etc/hosts, User Erstellung, Anpassen von config Variablen rapid development Hosts werden ferngesteuert Der SysOp wird zum DevOp Schnelleres Scaling Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  14. 14. About Wozu Automatisierung? Chef Examples SearchWozu Automatisierung? Konsistenz /etc/hosts, User Erstellung, Anpassen von config Variablen rapid development Hosts werden ferngesteuert Der SysOp wird zum DevOp Schnelleres Scaling Weniger Manpower Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  15. 15. About Wozu Automatisierung? Chef Examples SearchWozu Automatisierung? Konsistenz /etc/hosts, User Erstellung, Anpassen von config Variablen rapid development Hosts werden ferngesteuert Der SysOp wird zum DevOp Schnelleres Scaling Weniger Manpower Weniger Fehler Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  16. 16. About Wozu Automatisierung? Chef Examples SearchWozu Automatisierung? Konsistenz /etc/hosts, User Erstellung, Anpassen von config Variablen rapid development Hosts werden ferngesteuert Der SysOp wird zum DevOp Schnelleres Scaling Weniger Manpower Weniger Fehler Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  17. 17. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchChef Komponenten Ruby Merb Webserver (API + Web) RabbitMQ Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  18. 18. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchChef Komponenten Ruby Merb Webserver (API + Web) RabbitMQ Solr Search Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  19. 19. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchChef Komponenten Ruby Merb Webserver (API + Web) RabbitMQ Solr Search CouchDB Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  20. 20. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchChef Komponenten Ruby Merb Webserver (API + Web) RabbitMQ Solr Search CouchDB Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  21. 21. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchNodes, Clients, Data Bags und Utilities Nodes - sind Objekte, in dem Fall der Infrastruktur: Server Clients - definieren den Zugang zu Nodes, Attributen und Data Bags Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  22. 22. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchNodes, Clients, Data Bags und Utilities Nodes - sind Objekte, in dem Fall der Infrastruktur: Server Clients - definieren den Zugang zu Nodes, Attributen und Data Bags Data Bags - beinhalten Daten die universell wiederverwendbar sind Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  23. 23. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchNodes, Clients, Data Bags und Utilities Nodes - sind Objekte, in dem Fall der Infrastruktur: Server Clients - definieren den Zugang zu Nodes, Attributen und Data Bags Data Bags - beinhalten Daten die universell wiederverwendbar sind Utilities - stellen den Zugang zu der Management Infrastruktur her Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  24. 24. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchNodes, Clients, Data Bags und Utilities Nodes - sind Objekte, in dem Fall der Infrastruktur: Server Clients - definieren den Zugang zu Nodes, Attributen und Data Bags Data Bags - beinhalten Daten die universell wiederverwendbar sind Utilities - stellen den Zugang zu der Management Infrastruktur her Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  25. 25. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchUtilities Knife - CLI Programm zum Steuern von Chef Web Frontend - Ein Web frontend zum benutzen von Chef Zugang fuer Kunden, eingeschraenkter Zugriff zum Lesen Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  26. 26. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchUtilities Knife - CLI Programm zum Steuern von Chef Web Frontend - Ein Web frontend zum benutzen von Chef Zugang fuer Kunden, eingeschraenkter Zugriff zum Lesen Shef - IRB console fuer Chef zum interaktiven Masseneditieren Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  27. 27. About Wozu Automatisierung? Architektur Chef Objekte Examples Utilities SearchUtilities Knife - CLI Programm zum Steuern von Chef Web Frontend - Ein Web frontend zum benutzen von Chef Zugang fuer Kunden, eingeschraenkter Zugriff zum Lesen Shef - IRB console fuer Chef zum interaktiven Masseneditieren Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  28. 28. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsCookbooks ls -lR sudo/ P r o j e c t s / system / cookbooks / sudo : t o t a l 24 d rw x r−x r−x 2 f r e d e r i c f r e d e r i c 4096 Nov 30 11:45 attributes −rw−r− −r− 1 f r e d e r i c f r e d e r i c 1801 − Mar 9 08:56 metadata . j s o n −rw−r− −r− 1 f r e d e r i c f r e d e r i c − 961 Dec 7 11:28 metadata . rb −rw−r− −r− 1 f r e d e r i c f r e d e r i c 1801 − Nov 30 11:45 README. md d rw x r−x r−x 2 f r e d e r i c f r e d e r i c 4096 Nov 30 11:45 recipes d rw x r−x r−x 3 f r e d e r i c f r e d e r i c 4096 Nov 30 11:45 templates P r o j e c t s / system / cookbooks / sudo / a t t r i b u t e s : total 4 −rw−r− −r− 1 f r e d e r i c f r e d e r i c 744 Nov 30 1 1 : 4 5 d e f a u l t . r b − P r o j e c t s / system / cookbooks / sudo / r e c i p e s : total 4 −rw−r− −r− 1 f r e d e r i c f r e d e r i c 906 Nov 30 1 1 : 4 5 d e f a u l t . r b − P r o j e c t s / system / cookbooks / sudo / t e m p l a t e s : total 4 d rw x r−x r−x 2 f r e d e r i c f r e d e r i c 4096 Feb 9 1 4 : 1 5 d e f a u l t P r o j e c t s / system / cookbooks / sudo / t e m p l a t e s / d e f a u l t : total 4 −rw−r− −r− 1 f r e d e r i c f r e d e r i c 780 Feb 9 1 4 : 1 5 s u d o e r s . e r b − Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  29. 29. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsRecipes Ein einfaches Recipe: cat sudo/recipes/default.rb # # Cookbook Name : : s u d o # Recipe : : d e f a u l t # p a c k a g e ” s u d o ” do a c t i o n : upgrade end t e m p l a t e ” / e t c / s u d o e r s ” do source ” sudoers . erb ” mode 0644 end Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  30. 30. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsRecipes Ein Recipe das Attributes nutzt: cat sudo/recipes/default.rb # ## Cookbook Name : : s u d o ## R e c i p e : : d e f a u l t ## # p a c k a g e ” s u d o ” do a c t i o n : upgrade end t e m p l a t e ” / e t c / s u d o e r s ” do source ” sudoers . erb ” mode 0644 variables ( : s u d o e r s g r o u p s = node [ : a u t h o r i z a t i o n ] [ : s u d o ] [ : g r o u p s ] , > : s u d o e r s u s e r s = node [ : a u t h o r i z a t i o n ] [ : s u d o ] [ : u s e r s ] > ) end Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  31. 31. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsNode Attributes JSON drei Prioritaeten default die default variable normal ueberschreibt default override ueberschreibt alles Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  32. 32. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsNode Attributes knife node show test.host.name.de { ”name ” : ” t e s t . h o s t . name . de ” , JSON ” j s o n c l a s s ” : ” C h e f : : Node ” , ” automatic ”: { drei Prioritaeten ” asset ”: { } default }, ” normal ” : { die default variable }, ” c h e f t y p e ” : ” node ” , normal ” default ”: { ueberschreibt default ” asset ”: { } override }, ” override ”: { ueberschreibt alles ” asset ”: { } }, ” r u n l i s t ”: [ ] } Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  33. 33. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsNode Attributes knife node show test.host.name.de { ”name ” : ” t e s t . h o s t . name . de ” , JSON ” j s o n c l a s s ” : ” C h e f : : Node ” , ” automatic ”: { drei Prioritaeten ” asset ”: { } default }, ” normal ” : { die default variable }, ” c h e f t y p e ” : ” node ” , normal ” default ”: { ueberschreibt default ” asset ”: { } override }, ” override ”: { ueberschreibt alles ” asset ”: { } }, ” r u n l i s t ”: [ ] } Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  34. 34. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsNode Attributes cat sudo/attributes/default.rb # # Cookbook Name : : s u d o # Attribute F i le : : sudoers # d e f a u l t [ : a u t h o r i z a t i o n ] [ : s u d o ] [ : g r o u p s ] = A r r a y . new d e f a u l t [ : a u t h o r i z a t i o n ] [ : s u d o ] [ : u s e r s ] = A r r a y . new Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  35. 35. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsRoles Roles aggregieren Recipes und Attribute: cat roles/webserver.rb name ” w e b s e r v e r ” d e s c r i p t i o n ” Webserver ” r u n l i s t ” r e c i p e [ nginx : : d e f a u l t ]” , ” r e c i p e [ nginx : : monitor ]” , ” r e c i p e [ php : : d e f a u l t ] ” , ” r e c i p e [ mysuperwebapp ] ” default attributes ( ’ nagios ’ = {> ’ services ’ = {> ’ webserver ’ = { > ” Nginx ” = { ” check command”=>”c h e c k n g i n x ” } > } } }) Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  36. 36. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsData Bags Speichern von Daten die Node uebergreifend verwendet werden Data Bags koennen verschluesselt werden knife data bag passwords mysql { ” i d ” : ” mysql ” , ” p a s s ” : ”trywgFA6R70NO28PNhMpGhEvKBZuxouemnbnAUQsUyo=n ” , ” u s e r ” : ” e /p+8WJYVHY9fHcEgAAReg==n” } Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  37. 37. About Cookbooks Wozu Automatisierung? Cookbooks Chef Node Attributes Examples Roles Search Data BagsData Bags knife data bag show –secret file /tmp/my data bag key passwords mysql { ” i d ” : ” mysql ” , ” pass ”: ” thesecret123 ” , ” user ”: ” fred ” } Im Cookbook m y s q l c r e d s = Chef : : EncryptedDataBagItem . l o a d ( ” passwords ” , ” mysql ” , s e c r e t ) m y s q l c r e d s [ ” p a s s ” ] # w i l l be d e c r y p t e d Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  38. 38. About Wozu Automatisierung? Chef Search Examples SearchDie Suche in Chef Nach jedem Objekt in Chef kann gesucht werden: Nodes, Clients Roles, Recipes Attributes und vieles mehr Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  39. 39. About Wozu Automatisierung? Chef Search Examples SearchDie Suche nach Dingen knife search node “model name:Intel*“ { ” total ”: 1 , ” start ”: 0 , ” rows ” : [ { ” r u n l i s t ”: [ ” r o l e [ base ]” , ” r o l e [1337 r o l e ]” , ” r e c i p e [ apache ] ” ], ” i d ” : ” t e s t . h o s t . name . de ” } ] } Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  40. 40. About Wozu Automatisierung? Chef Search Examples SearchWeiterfuehrende Links http://www.opscode.com/ http://wiki.opscode.com/display/chef/ http://www.ruby-lang.org/en/ http://blog.opscode.com/ http://soundcloud.com/jobs (We’re hiring ;) Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u
  41. 41. About Wozu Automatisierung? Chef Search Examples SearchThe End Danke fuer die Aufmerksamkeit! Fragen? Frederic Jaeckel (SoundCloud) Automatisierungstechnologien f¨r die Infrastruktur mit Chef u

×