cdsummit paris september 2014 steven thwaites copy · 2014. 9. 23. · puppet labs by the numbers 9...
TRANSCRIPT
Continuous Delivery Adds Business Value
• React faster to market conditions
• Innovate faster
• Fix bugs faster
• Make feedback loops faster
!
Creating the artifact does not mean you're done.
The Infrastructure Matters
All that speed is pointless if your code
isn't running.
“It was working in the Development Environment!”
Infrastructure Matters for Delivery
!• Does it work in Production? • Time from "done" to "running"? • Will an infra change break our release? • Can I recreate a production issue from
N releases ago?
Infrastructure Playing Catch-Up
!• Ops team, choose two:
• Speed • Reliability • Sleep
!
As sysadmins, we need to catch up.
The Cost of Manual Management
PRODUCTIVITY
SPEED
INSIGHT
60% of IT managers are not satisfied with the speed at which IT responds to business needs
48% of IT professionals spend 50% or more of their time on basic administrative tasks
93% of IT professionals cannot answer “What changed?” when an outage incident occurs
MANUAL CONFIGURATION
CUSTOM SCRIPTS
GOLDEN IMAGES
LEGACY TOOLS
IT DOESN'T WORK
So... Puppet?
Puppet Labs by the Numbers
9 million product downloads in the past 12 months
18,000+ companies are using Puppet
2,500+ modules on Forge
30+ Puppet User Groups worldwide
1,000+ people contributing to projects on GitHub
4,800+ people posting to Puppet Google Group lists
450+ Puppet Enterprise customers
100% year-over-year growth
300 employees (and still growing!)
$86 million in capital raised
How Puppet Works
How Puppet Works
How Puppet Works
How Puppet Works
How Puppet Works
How Puppet Works
How Puppet Works - Infrastructure as Code
Infrastructure As Code
• Versioned
• Historical logs
• Discrete changes
• Easily reverted
Demo
Server state in a build pipeline!• Tighten operations feedback loops
• Update configuration faster • Thoroughly test infrastructure changes • Increase confidence • Reduce outages
RSpec-Puppet: Unit testing for Puppet
Test the compiled catalogue for the desired state.
Beaker - Acceptance testing for PuppetBuild a VM, configure and test for the desired state.
Easily recreate environments
• Rapid DR standup • Datacenter migrations • Building new dev environments
!
Developers can code on near perfect replicas of
production
Single Shared Pipeline
Tightly couple apps and infrastructure
!
• Shared goal of not breaking the build • Common focus on business goals
(stop throwing problems over the fence)
In Summary
• Puppet declares infrastructure state • Version control puppet • Test and deploy Puppet + App code
Further Reading
• https://puppetlabs.com/learn
• http://rspec-puppet.com/ • https://github.com/puppetlabs/beaker
Questions?