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.
“Crafting DevOps”
Applying software craftsmanship to DevOps…
Daniel Bryant
daniel.bryant@opencredo.com
@danielbryantuk
Software Craftsmanship
More than just clean code…
…but how does this apply to (Dev)Ops
Continuous Delivery
“Our highest priority is to satisfy the customer through
early and continuous delivery of valuable sof...
Continuous Delivery
• Continuous Integration++
• Many of us having been doing this for years…
• “DevOps” - just a label (o...
Lets break it down…
1. Operational influence on application code
– Fault tolerance, “Antifragility”
2. The build pipeline
...
1. Application (*service) Craftsmanship
Antifragility
• The opposite of fragile
– Must be robust first
– Fault-tolerant design patterns
• Netflix are best-in-clas...
2. Crafting a build pipeline
• Build tools
– Jenkins, Bamboo etc.
• “Ops as a Service” deployment orchestration
– Rundeck ...
3. Crafting “Infrastructure as Code”
• Continuous Integration for Infrastructure
– DevOps Weekly (Gareth Rushgrove)
– www....
Crafting Puppet
• TDD your infrastructure
– puppetlabs.com/blog/test-driven-development-
with-puppet
• Rspec Puppet
– rspe...
Crafting Chef
• TDD your infrastructure
– leopard.in.ua/2013/12/01/chef-and-tdd/
• ChefSpec
– github.com/sethvargo/chefspe...
Infrastructure Integration Testing
• serverspec.org
• Test server state via ssh access
• Awesome, but not quick
17/07/2014...
Summary
Software Craftsmanship principles are
not only relevant to the application code
It’s turtles all the way down…
…in...
Thanks For Listening
• Questions / comments?
– daniel.bryant@opencredo.com
– @danielbryantuk
• This was a beta lightning t...
Image credits
[2]
http://wordplay.blogs.nytimes.com/2011/10/10/numberplay-
turtles-all-the-way-down/
[6,7]
http://12factor...
LSCC 2014 "Crafting DevOps: Applying Software Craftsmanship to DevOps"
Upcoming SlideShare
Loading in …5
×

LSCC 2014 "Crafting DevOps: Applying Software Craftsmanship to DevOps"

3,460 views

Published on

My thoughts on applying software craftsmanship principles to the world on DevOps. Presented at the London Software Craftsmanship Community, July 18th 2014

  • Be the first to comment

LSCC 2014 "Crafting DevOps: Applying Software Craftsmanship to DevOps"

  1. 1. “Crafting DevOps” Applying software craftsmanship to DevOps… Daniel Bryant daniel.bryant@opencredo.com @danielbryantuk
  2. 2. Software Craftsmanship More than just clean code… …but how does this apply to (Dev)Ops
  3. 3. Continuous Delivery “Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.” Principle 1; 12 Principles behind the Agile Manifesto http://agilemanifesto.org/principles.html
  4. 4. Continuous Delivery • Continuous Integration++ • Many of us having been doing this for years… • “DevOps” - just a label (or a philosophy)?
  5. 5. Lets break it down… 1. Operational influence on application code – Fault tolerance, “Antifragility” 2. The build pipeline – Fast feedback (and quality controls) 3. “Infrastructure as Code” – Software Defined Everything (SDN, SDDC)
  6. 6. 1. Application (*service) Craftsmanship
  7. 7. Antifragility • The opposite of fragile – Must be robust first – Fault-tolerant design patterns • Netflix are best-in-class – bit.ly/1gs5n3q 17/07/2014 @danielbryantuk
  8. 8. 2. Crafting a build pipeline • Build tools – Jenkins, Bamboo etc. • “Ops as a Service” deployment orchestration – Rundeck (rundeck.org) • Supports good development – “Communication, simplicity, feedback, courage”
  9. 9. 3. Crafting “Infrastructure as Code” • Continuous Integration for Infrastructure – DevOps Weekly (Gareth Rushgrove) – www.ustream.tv/recorded/46670676 • Infrastructure test pyramid 17/07/2014 @danielbryantuk
  10. 10. Crafting Puppet • TDD your infrastructure – puppetlabs.com/blog/test-driven-development- with-puppet • Rspec Puppet – rspec-puppet.com/tutorial/ • Puppet Acceptance – github.com/puppetlabs/puppet-acceptance
  11. 11. Crafting Chef • TDD your infrastructure – leopard.in.ua/2013/12/01/chef-and-tdd/ • ChefSpec – github.com/sethvargo/chefspec • FoodCritic – acrmp.github.io/foodcritic/
  12. 12. Infrastructure Integration Testing • serverspec.org • Test server state via ssh access • Awesome, but not quick 17/07/2014 @danielbryantuk
  13. 13. Summary Software Craftsmanship principles are not only relevant to the application code It’s turtles all the way down… …including the deployment and infrastructure code required for the continuous delivery of valuable software Well crafted DevOps can help here!
  14. 14. Thanks For Listening • Questions / comments? – daniel.bryant@opencredo.com – @danielbryantuk • This was a beta lightning talk – Let me know if you want to hear more! 17/07/2014 @danielbryantuk
  15. 15. Image credits [2] http://wordplay.blogs.nytimes.com/2011/10/10/numberplay- turtles-all-the-way-down/ [6,7] http://12factor.net/ [10]puppetlabs.com/blog/test-driven-development-with- puppet 17/07/2014 @danielbryantuk

×