SlideShare a Scribd company logo
XPDays 2014
HandsOn
Infrastructure as Code
Alexander Birk, pingworks
http://www.pingworks.de
@alexanderbirk
Why IaC?
History:
Sysadmins
Developers
Testers
DBAs
1-4 Releases per Year
1-4 Environments per Project
Agility Accelerates!
Agile Software Development
Continuous Integration
Continuous Delivery
Agility Accelerates!
Agile Software Development
Continuous Integration
Continuous Delivery
Was: 1-4 Now: 365 Releases per Year→
Was: 1-4 Now: 10-100 Environments→
Handcrafting is not an Option
Speed AND Quality
Hypotheses
Capture Infrastructure as Code
Quality:
Version Control Everything
Automated Testing
Continuous Integration & Delivery
Collaborative Development
Speed:
Automated Creation
No Handoff Delays
Continuous Integration & Delivery
Collaborative Development
Infrastracture Creation Phases
Application
„Middleware“
i.e. AppServer, DB, MsgQueue
Operating System
Virtual Machine
Bootstrapping Provisioning
t
Deployment
Bootstrapping
Provisioning Deployment
Provide a VM with:
Just enough OS
Network Setup
Remote Login possible
Bootstrapping
Provisioning Deployment
(1)
Bootstrap OS from bare (virtualized) Metal
(2)
Reuse a Base Image
Bootstrapping Provisioning
Deployment
Install & Configure Software Increments
Reliable
Fast
Idempotent
Atomic
On Multihost Environments
Bootstrapping
Provisioning
Deployment
Focus on Provisioning
Input:
VM with Just Enough OS
Output:
VM Ready for Deployment!
Bootstrapping
Provisioning
Deployment
Install and Configure „Middleware“
Define VM Role Specific Setups
Combine VM Roles to Multihost Environments
Bootstrapping
Provisioning
Deployment
Chef
Puppet
Ansible
Shell ;)
Bootstrapping
Provisioning
Deployment
Chef uses Kitchen Metaphor:
Chef
Cookbooks
Recipies
Ressources
Attributes
Knife
Testkitchen
with Chef
Provisioning
HandsOn Testdriven
BDD Infrastructure Development
1) Specify desired Behaviour
in an Integration Test and run it → red
2) Implement Infrastructure Code that delivers that
Behaviour
Run the Code then run Integration Test again → green
3) Think about design and → refactor
Redo from Start
Go! Go! Go!

More Related Content

PDF
Sponia with QingCloud
PDF
Immutable infrastructure - Plain Concepts DevOps day
PPTX
Sam Guckenheimer - Moving to One Engineering System
PDF
Deployment Pipeline for databases (Azure SQL Database, SQL Server)
PDF
Seminar continuous delivery 19092013
PDF
Contract-based Testing Approach as a Tool for Shift Lef
PPTX
Automation world under the DevTestSecOps umbrella
PDF
Infrastructure as Code
Sponia with QingCloud
Immutable infrastructure - Plain Concepts DevOps day
Sam Guckenheimer - Moving to One Engineering System
Deployment Pipeline for databases (Azure SQL Database, SQL Server)
Seminar continuous delivery 19092013
Contract-based Testing Approach as a Tool for Shift Lef
Automation world under the DevTestSecOps umbrella
Infrastructure as Code

What's hot (19)

PPTX
Database deployments - dotnetsheff
PDF
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
PPTX
Azure function DevOps pipeline, ALM / DevOps Rangers feedbacks
PPTX
Intro to Azure DevOps
PDF
Webinar: Continuous Deployment with MongoDB at Kitchensurfing
PPTX
Introduction to Continuous Integration with Jenkins
PPTX
Devops journey chefpopup-2016.04.26-v2
PPTX
Serverless
PPTX
Infrastructure as Code (BBWorld/DevCon13)
PPTX
WinOps Conf 2016 - Jeffrey Snover - The DevOpsification of Windows Server
PPTX
CD with spinnaker
PDF
Jenkins CI
PPTX
Jenkins Introduction
PPTX
Azure cli-azure devops
PDF
Standardizing Jenkins with CloudBees Jenkins Team
PPTX
WinOps Conf 2016 - Michael Greene - Release Pipelines
PPTX
Azure DevOps
PPTX
Introduction to Puppet Enterprise 2016.4
PPTX
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
Database deployments - dotnetsheff
Mastering Best Azure DevOps Online Training and Certification - Dot Net Tricks
Azure function DevOps pipeline, ALM / DevOps Rangers feedbacks
Intro to Azure DevOps
Webinar: Continuous Deployment with MongoDB at Kitchensurfing
Introduction to Continuous Integration with Jenkins
Devops journey chefpopup-2016.04.26-v2
Serverless
Infrastructure as Code (BBWorld/DevCon13)
WinOps Conf 2016 - Jeffrey Snover - The DevOpsification of Windows Server
CD with spinnaker
Jenkins CI
Jenkins Introduction
Azure cli-azure devops
Standardizing Jenkins with CloudBees Jenkins Team
WinOps Conf 2016 - Michael Greene - Release Pipelines
Azure DevOps
Introduction to Puppet Enterprise 2016.4
WinOps Conf 2016 - Ed Wilson - Configuration Management with Azure DSC
Ad

Viewers also liked (6)

PDF
Puppet Camp Paris 2014: Test Driven Development
PDF
Containerized End-2-End-Testing - ContainerConf Mannheim
PDF
Container Orchestrator Smackdown @ContinousLifecycle
PDF
Test-Driven Infrastructure with CloudFormation and Cucumber.
PPTX
Test-Driven Infrastructure with Puppet, Test Kitchen, Serverspec and RSpec
PDF
14 Banking Facts to Help You Master the New Digital Economy
Puppet Camp Paris 2014: Test Driven Development
Containerized End-2-End-Testing - ContainerConf Mannheim
Container Orchestrator Smackdown @ContinousLifecycle
Test-Driven Infrastructure with CloudFormation and Cucumber.
Test-Driven Infrastructure with Puppet, Test Kitchen, Serverspec and RSpec
14 Banking Facts to Help You Master the New Digital Economy
Ad

Similar to HandsOn TestDriven Infrastructure As Code Development (20)

PPTX
Perforce on Tour 2015 - Optimising the Developer Pipeline: Deliver Faster & ...
PDF
Chris Northwood Camp Digital 21015 - Continuous delivery
PDF
Modernizing Testing as Apps Re-Architect
PDF
Continuous Delivery - Voxxed Days Cluj-Napoca 2017
PDF
CI and CD with Spinnaker
PDF
Ibm innovate ci for system z
PPTX
Webinar: Automate Your Environment Provisioning for Mobile App Development
PDF
Webcast urbancodemobiltomainframe
PPTX
Continous integration and delivery for single page applications
PDF
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
PPTX
Keys to continuous testing for faster delivery euro star webinar
PPTX
The DevOps Journey
PDF
PCF: Platform for a New Era - Kubernetes for the Enterprise - London
PDF
Handling Asynchronous Workloads With OpenShift and Iron.io
PPTX
DevOps for AI Apps
PDF
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
PDF
Monolithic to Microservices + Docker = SDLC on Steroids!
PPTX
Azure DevOps työkalut - Roundtable 14.3.2019
PDF
Achieving a Serverless Development Experience
Perforce on Tour 2015 - Optimising the Developer Pipeline: Deliver Faster & ...
Chris Northwood Camp Digital 21015 - Continuous delivery
Modernizing Testing as Apps Re-Architect
Continuous Delivery - Voxxed Days Cluj-Napoca 2017
CI and CD with Spinnaker
Ibm innovate ci for system z
Webinar: Automate Your Environment Provisioning for Mobile App Development
Webcast urbancodemobiltomainframe
Continous integration and delivery for single page applications
Pivoting Spring XD to Spring Cloud Data Flow with Sabby Anandan
Keys to continuous testing for faster delivery euro star webinar
The DevOps Journey
PCF: Platform for a New Era - Kubernetes for the Enterprise - London
Handling Asynchronous Workloads With OpenShift and Iron.io
DevOps for AI Apps
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Monolithic to Microservices + Docker = SDLC on Steroids!
Azure DevOps työkalut - Roundtable 14.3.2019
Achieving a Serverless Development Experience

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
KodekX | Application Modernization Development
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
Teaching material agriculture food technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
A Presentation on Artificial Intelligence
PDF
Empathic Computing: Creating Shared Understanding
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Approach and Philosophy of On baking technology
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Digital-Transformation-Roadmap-for-Companies.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
KodekX | Application Modernization Development
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Unlocking AI with Model Context Protocol (MCP)
Teaching material agriculture food technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
A Presentation on Artificial Intelligence
Empathic Computing: Creating Shared Understanding
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
cuic standard and advanced reporting.pdf
NewMind AI Monthly Chronicles - July 2025
Approach and Philosophy of On baking technology

HandsOn TestDriven Infrastructure As Code Development