Continuous Delivery of Infrastructure with Chef and DSC Steven Murawski @stevenmurawski
Who? Windows IT Pro turned Developer Sole IT guy for a local police department
Who? Windows IT Pro turned Developer Sole IT guy for a local police department Pre/post sales engineering, product management, and training for a software company
Who? Windows IT Pro turned Developer Sole IT guy for a local police department Pre/post sales engineering, product management, and training for a software company Senior infrastructure engineer and early adopter at Edgenet (a data services company) Stack Overflow (you know who them)
Who? Windows IT Pro turned Developer Sole IT guy for a local police department Pre/post sales engineering, product management, and training for a software company Senior infrastructure engineer and early adopter at Edgenet (a data services company) Stack Overflow (you know who them) Technical Community Manager (evangelist) turned Developer at Chef
Why? Thought PowerShell was going to be a revolution in Windows automation So I bet on PowerShell and Snover’s promise
Why? Thought PowerShell was going to be a revolution in Windows automation So I bet on PowerShell and Snover’s promise This translated directly into a series of jobs, each better than the last. Eric Meijer – Expert to Expert
Why? As I learned systems administration, I also tracked the developer community. Reading books Listening to podcasts Going to their user groups and local events
Why? As I learned systems administration, I also tracked the developer community. Reading books Listening to podcasts Going to their user groups and local events As a result, testing, infrastructure as code, and just general DevOps were not a surprise.
Why? After my first experience with configuration management at Stack Overflow, I knew that was going to be critical on Windows. So I bet on DSC and PowerShell
Why? After my first experience with configuration management at Stack Overflow, I knew that was going to be critical on Windows. So I bet on DSC and PowerShell This took me to Chef and gave me the platform I have today to share my thoughts with you.
Continuous Delivery for Infrastructure
“Common problems include: Changes that often result in failures and are difficult to diagnose and fix. Dev, test, and staging environments that are different from production environments, causing failures when builds are promoted across environments. Lots of manual work required to deploy. Lots of handoffs between teams, resulting in slow, inefficient deployments.” - State of DevOps (2015) Configuration management alone does not fix this
Consistency, Resilience, Repeatability
Serializing Tribal Knowledge and Intuition
Making All Environment Change Into Standard Change
What Does a Pipeline Look Like?
Components of a CI/CD Pipeline for Infrastructure
Source Control enables Peer Review and Change Tracking
“We found that when external approval (e. g “We found that when external approval (e.g., change approval boards) was required in order to deploy to production, IT performance decreased. But when the technical team held itself accountable for the quality of its code through peer review, performance increased” - State of DevOps (2014) Peer review is more effective than Change management boards
“The benefits of version control shouldn’t be limited to application code; in fact, our analysis shows that organizations using version control for both system and application configurations have higher IT performance.” - State of DevOps (2014)
Testing – Lint, Syntax, Unit, and Integration
References State of DevOps Reports (2014-2016) https://stevenmurawski.com
Please use Events XD (EventBoard) to fill out a session evaluation. Questions? Please use Events XD (EventBoard) to fill out a session evaluation. Thank you!