infrastructure as code @buildstuff2013
DESCRIPTION
Infrastructure as Code @BuildStuff2013TRANSCRIPT
![Page 1: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/1.jpg)
Infrastructure as Code In real life
Mantas Klasavičius
![Page 2: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/2.jpg)
Adform Digital Advertising Solution
>270 employees
Offices in 12 countries
![Page 3: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/3.jpg)
About me
![Page 4: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/4.jpg)
Developing has changed
Before Now
![Page 5: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/5.jpg)
Developing has changed
Before Now
![Page 6: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/6.jpg)
Deployment
![Page 7: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/7.jpg)
No manual configuration
![Page 8: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/8.jpg)
Configuration Management
![Page 9: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/9.jpg)
Puppet in Adform Why Code?
![Page 10: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/10.jpg)
Puppet in Adform Treat it as code • Version control • Branching, Code review
• Reusability • Standards, Style guide
• Profiling
• Testing
![Page 11: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/11.jpg)
Puppet in Adform Dream
• Predictable/consistent infrastructure
• Repeatable and environment friendly
• Reusable • Automated
![Page 12: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/12.jpg)
Tool
![Page 13: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/13.jpg)
DevOps
![Page 14: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/14.jpg)
OPS attempt
![Page 15: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/15.jpg)
OPS attempt
![Page 16: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/16.jpg)
OPS result
![Page 17: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/17.jpg)
Culture
An Agile Adoption and Transformation Survival Guide Author: Michael Sahota URL: http://agilitrix.com/agile-adoption-transformation-resource/
![Page 18: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/18.jpg)
In my team
![Page 19: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/19.jpg)
Architecture
![Page 20: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/20.jpg)
Architecture
![Page 21: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/21.jpg)
Environments
![Page 22: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/22.jpg)
Environments
Git Branch == Puppet Environment
Create new Branch == Create new Puppet Environment
![Page 23: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/23.jpg)
Workflow
![Page 24: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/24.jpg)
Code
![Page 25: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/25.jpg)
Puppet(nodes)
![Page 26: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/26.jpg)
Puppet(node)
![Page 27: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/27.jpg)
Puppet(variables)
![Page 28: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/28.jpg)
Storage
![Page 29: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/29.jpg)
Hiera
![Page 30: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/30.jpg)
Hiera
![Page 31: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/31.jpg)
Hiera
![Page 32: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/32.jpg)
Hiera + Puppet
![Page 33: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/33.jpg)
Hiera (GPG back end)
http://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hiera-and-gpg/
Author: Craig Dunn Web: http://www.craigdunn.org
![Page 34: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/34.jpg)
PuppetDB
![Page 35: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/35.jpg)
Hiera + PuppetDB
Author: Erik Dalén Web: http://www.craigdunn.org https://github.com/dalen/puppet-puppetdbquery
![Page 36: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/36.jpg)
What About Profiling?
![Page 37: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/37.jpg)
Profiling
Author: Tim Sharpe https://github.com/rodjek/puppet-profiler
![Page 38: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/38.jpg)
And Testing?
![Page 39: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/39.jpg)
Puppet-lint
Author: Tim Sharpe https://github.com/rodjek/puppet-lint
![Page 40: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/40.jpg)
rspec-puppet
Author: Tim Sharpe https://github.com/rodjek/rspec-puppet
To Do…
![Page 41: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/41.jpg)
Puppet on Windows?
![Page 42: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/42.jpg)
Puppet on Windows
DISM Puppet Module: https://github.com/puppetlabs/puppetlabs-dism
![Page 43: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/43.jpg)
Puppet on Windows
Author: Josh Cooper https://github.com/joshcooper/puppetlabs-powershell
![Page 44: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/44.jpg)
Puppet on Windows
![Page 45: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/45.jpg)
And the results are
![Page 46: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/46.jpg)
![Page 47: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/47.jpg)
Any Problems?
![Page 48: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/48.jpg)
Time issue
Why use puppet(time issue): • “Pub by 5 (past 4 preferably)”
• “Save time”
• …
![Page 49: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/49.jpg)
Roles issues
![Page 50: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/50.jpg)
Future Plans
![Page 51: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/51.jpg)
The Foreman
![Page 52: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/52.jpg)
Monitoring Nagios/Icinga
![Page 53: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/53.jpg)
Monitoring Nagios/Icinga
![Page 54: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/54.jpg)
Metrics(as logs)
![Page 55: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/55.jpg)
Metrics(graphite)
![Page 56: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/56.jpg)
Finalize…
![Page 57: Infrastructure as Code @BuildStuff2013](https://reader034.vdocuments.mx/reader034/viewer/2022052522/554de343b4c905c70e8b5675/html5/thumbnails/57.jpg)
Thank you!