SlideShare a Scribd company logo
DevOps: What is it and why is it important? 
Mark Stillwell 
September 28, 2014
Traditional Development/Deployment best practices 
I source code only in vcs 
I static release as versioned archive 
I unit testing of code in development environment 
I
nal product not installed on developer machine 
I deployment instructions via howto or interactive application 
I time consuming 
I dicult to replicate
Similar Work
ows 
I Collaborating on a paper by emailing Word .doc
les 
I Developing software without vcs, periodically creating 
versioned/dated zip
le in a backup/ directory
Issues With These Approaches 
I Coordination, Communication, Documentation: 
I I'll edit the document and email you when I'm done. 
I I had to tinker with /etc/foo to get things working. 
I Handling of con
icts 
I No automating of merges 
I Lack of one true authoritative latest version. 
I Culture of Fear 
I I know generally what needs to be done, but I'm afraid to try 
because I might break it and not be able to get things working 
again.
Software Speci
c Issues 
I Diculty verifying complicated interaction between multiple 
parts. 
I Brittle deployment: It works, mostly, but don't touch it! 
I Experts-Only install discourages end-users, results in lower 
adoption/mindshare.
DevOps 
I deployment as code in vcs 
I continuously tested 
I test environment similar to deployment environment 
I enabled by virtual machines and containers 
I regular deployments to production 
I industry standard practice! 
I NetFlix, Etsy, Twitter, etc tear down infrastructure and 
redeploy multiple times per day. . . 
I culture of fearless development
Enabling Technologies 
I ansible 
I vagrant 
I docker
Ansible 
I tool for managing distributed software deployments 
I similar tools: puppet, chef, salt, cfengine 
I free software (for command line, commercial web-based 
management interface) 
I written in python 
I con
guration as list of idempotent tasks in yaml based 
con

More Related Content

PDF
Using Puppet in Small Infrastructures
PDF
Boxen: How to Manage an Army of Laptops and Live to Talk About It
 
PPS
A Presentation about Puppet that I've made at the OSSPAC conference
KEY
Getting Started with HTML 5 Web workers
 
PDF
Virtualisation - Vagrant and Docker
PDF
Web workers
PDF
Drupal + selenium
PDF
Vagrant+Puppet = #WIN
Using Puppet in Small Infrastructures
Boxen: How to Manage an Army of Laptops and Live to Talk About It
 
A Presentation about Puppet that I've made at the OSSPAC conference
Getting Started with HTML 5 Web workers
 
Virtualisation - Vagrant and Docker
Web workers
Drupal + selenium
Vagrant+Puppet = #WIN

What's hot (19)

PDF
Web pack and friends
PDF
CoffeeScript in 5mins
PPT
Coffee script throwdown
PDF
ăƒ—ăƒ­ă‚°ăƒ©ăƒžäž‰ć€§çŸŽćŸłă‚’ćźŸçŸă™ă‚‹ăƒ‡ăƒ—ăƒ­ă‚€ăƒ•ăƒ­ăƒŒă‚’ç›źæŒ‡ă—ăŠ
PDF
2016 may-31 dockercon2016–cool-hackssubmission
PDF
MeCab in docker action(OpenWhisk)
PDF
Introduction to Vagrant
PDF
Drupal VM for Drupal 8 Dev - MidCamp 2017
PDF
macos installation automation
PDF
Drupal VM for Drupal 8 Dev - Drupal Camp STL 2017
PDF
Docker slides
PDF
Docker
PPTX
Unified Infra for Dev/Test and Jenkins Integration Testing (Docker/Vagrant)
PPT
HTML5 Multithreading
PPTX
Selenium meetup docker
PDF
Managing windows with Puppet and Chocolatey
PDF
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
PDF
SEP DevOps Ignite Talk - Packer
PDF
EC2 AMI Factory with Chef, Berkshelf, and Packer
Web pack and friends
CoffeeScript in 5mins
Coffee script throwdown
ăƒ—ăƒ­ă‚°ăƒ©ăƒžäž‰ć€§çŸŽćŸłă‚’ćźŸçŸă™ă‚‹ăƒ‡ăƒ—ăƒ­ă‚€ăƒ•ăƒ­ăƒŒă‚’ç›źæŒ‡ă—ăŠ
2016 may-31 dockercon2016–cool-hackssubmission
MeCab in docker action(OpenWhisk)
Introduction to Vagrant
Drupal VM for Drupal 8 Dev - MidCamp 2017
macos installation automation
Drupal VM for Drupal 8 Dev - Drupal Camp STL 2017
Docker slides
Docker
Unified Infra for Dev/Test and Jenkins Integration Testing (Docker/Vagrant)
HTML5 Multithreading
Selenium meetup docker
Managing windows with Puppet and Chocolatey
EmacsConf 2019: Interactive Remote Debugging and Development with TRAMP Mode
SEP DevOps Ignite Talk - Packer
EC2 AMI Factory with Chef, Berkshelf, and Packer
Ad

Viewers also liked (11)

PPTX
Hacking Virtual Appliances
PPTX
Vagrant and Docker
PDF
CI and CD Across the Enterprise with Jenkins (devops.com Nov 2014)
PDF
Vagrant and docker
PDF
Vagrant + Ansible + Docker
PPTX
DevOps, A brief introduction to Vagrant & Ansible
PDF
Vagrant, Ansible and Docker - How they fit together for productive flexible d...
PDF
An Introduction to Vagrant and Docker
PDF
Ansible docker
PDF
Beaker: Automated, Cloud-Based Acceptance Testing - PuppetConf 2014
 
PDF
Vagrant + Docker provider [+Puppet]
Hacking Virtual Appliances
Vagrant and Docker
CI and CD Across the Enterprise with Jenkins (devops.com Nov 2014)
Vagrant and docker
Vagrant + Ansible + Docker
DevOps, A brief introduction to Vagrant & Ansible
Vagrant, Ansible and Docker - How they fit together for productive flexible d...
An Introduction to Vagrant and Docker
Ansible docker
Beaker: Automated, Cloud-Based Acceptance Testing - PuppetConf 2014
 
Vagrant + Docker provider [+Puppet]
Ad

Similar to DevOps introduction with ansible, vagrant, and docker (20)

PDF
Vagrant for Effective DevOps Culture
PDF
Rise of the machines: Continuous Delivery at SEEK - YOW! Night Summary Slides
 
ODP
Devops for drupal
PPTX
Harmonious Development: Standardizing The Deployment Process via Vagrant and ...
 
PDF
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
PDF
Virtualization with Vagrant (ua.pycon 2011)
PDF
Vagrant Workshop
PDF
Midwest PHP 2017 DevOps For Small team
KEY
From Dev to DevOps - ApacheCON NA 2011
PDF
From Dev to DevOps
PPTX
SDLC Using Docker for Fun and Profit
PDF
Instant LAMP Stack with Vagrant and Puppet
PPTX
Vagrant to-aws-flow
ODP
Vagrant and puppet: Deployment made easy
PDF
Vagrant For DevOps
PDF
DevOps, Common use cases, Architectures, Best Practices
PPTX
Industrialization, be fast be furious!
PDF
Vagrant - Version control your dev environment
PDF
Slide DevSecOps Microservices
PDF
Devops -Engineer-Training-Courses-Online
Vagrant for Effective DevOps Culture
Rise of the machines: Continuous Delivery at SEEK - YOW! Night Summary Slides
 
Devops for drupal
Harmonious Development: Standardizing The Deployment Process via Vagrant and ...
 
Adopt DevOps philosophy on your Symfony projects (Symfony Live 2011)
Virtualization with Vagrant (ua.pycon 2011)
Vagrant Workshop
Midwest PHP 2017 DevOps For Small team
From Dev to DevOps - ApacheCON NA 2011
From Dev to DevOps
SDLC Using Docker for Fun and Profit
Instant LAMP Stack with Vagrant and Puppet
Vagrant to-aws-flow
Vagrant and puppet: Deployment made easy
Vagrant For DevOps
DevOps, Common use cases, Architectures, Best Practices
Industrialization, be fast be furious!
Vagrant - Version control your dev environment
Slide DevSecOps Microservices
Devops -Engineer-Training-Courses-Online

More from Mark Stillwell (7)

PPTX
HARNESS project Demo
PDF
DevOps introduction with ansible, vagrant, and docker
PDF
PDF
Dynamic Fractional Resource Scheduling Practical Issues and Future Directions...
PDF
Dynamic Fractional Resource Scheduling -- 2010, ARCS
PDF
Dynamic Fractional Resource Scheduling For HPC Workloads -- 2009, Lyon
PDF
Resource Allocation using Virtual Clusters
HARNESS project Demo
DevOps introduction with ansible, vagrant, and docker
Dynamic Fractional Resource Scheduling Practical Issues and Future Directions...
Dynamic Fractional Resource Scheduling -- 2010, ARCS
Dynamic Fractional Resource Scheduling For HPC Workloads -- 2009, Lyon
Resource Allocation using Virtual Clusters

Recently uploaded (20)

PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PPTX
history of c programming in notes for students .pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
ai tools demonstartion for schools and inter college
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
top salesforce developer skills in 2025.pdf
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
L1 - Introduction to python Backend.pptx
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
PTS Company Brochure 2025 (1).pdf.......
Design an Analysis of Algorithms II-SECS-1021-03
Wondershare Filmora 15 Crack With Activation Key [2025
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
history of c programming in notes for students .pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Operating system designcfffgfgggggggvggggggggg
ai tools demonstartion for schools and inter college
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
How Creative Agencies Leverage Project Management Software.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
top salesforce developer skills in 2025.pdf
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
L1 - Introduction to python Backend.pptx
ManageIQ - Sprint 268 Review - Slide Deck
PTS Company Brochure 2025 (1).pdf.......

DevOps introduction with ansible, vagrant, and docker

  • 1. DevOps: What is it and why is it important? Mark Stillwell September 28, 2014
  • 2. Traditional Development/Deployment best practices I source code only in vcs I static release as versioned archive I unit testing of code in development environment I
  • 3. nal product not installed on developer machine I deployment instructions via howto or interactive application I time consuming I dicult to replicate
  • 4. Similar Work ows I Collaborating on a paper by emailing Word .doc
  • 5. les I Developing software without vcs, periodically creating versioned/dated zip
  • 6. le in a backup/ directory
  • 7. Issues With These Approaches I Coordination, Communication, Documentation: I I'll edit the document and email you when I'm done. I I had to tinker with /etc/foo to get things working. I Handling of con icts I No automating of merges I Lack of one true authoritative latest version. I Culture of Fear I I know generally what needs to be done, but I'm afraid to try because I might break it and not be able to get things working again.
  • 9. c Issues I Diculty verifying complicated interaction between multiple parts. I Brittle deployment: It works, mostly, but don't touch it! I Experts-Only install discourages end-users, results in lower adoption/mindshare.
  • 10. DevOps I deployment as code in vcs I continuously tested I test environment similar to deployment environment I enabled by virtual machines and containers I regular deployments to production I industry standard practice! I NetFlix, Etsy, Twitter, etc tear down infrastructure and redeploy multiple times per day. . . I culture of fearless development
  • 11. Enabling Technologies I ansible I vagrant I docker
  • 12. Ansible I tool for managing distributed software deployments I similar tools: puppet, chef, salt, cfengine I free software (for command line, commercial web-based management interface) I written in python I con
  • 13. guration as list of idempotent tasks in yaml based con
  • 14. guration I really only pseudo-idempotent I push model that only requires administrator's computer have ansible software and client machines have sshd and python I all other require some kind of bootstrapping process on clients I some (e.g., puppet) require server setup
  • 15. Example Playbook - hosts: all sudo: True tasks: - name: ensure sysctl is configured sysctl: name: vm.swappiness value: 10 state: present - name: ensure latest version is installed apt: pkg: etckeeper state: latest
  • 16. Vagrant I command line wrapper to virtualisation tools like virtualbox/kvm I sets up disks / networking etc. I all con
  • 17. guration in text Vagrant
  • 18. le I can bring up and network multiple vms with dierent operating systems I can invoke provisioning tools like ansible, or shell scripts I user just needs to cd to right directory, type vagrant up
  • 20. le Vagrant.configure(2) do |config| config.vm.box = ubuntu/trusty config.vm.network forwarded_port, guest: 80, host: 80 config.vm.provider virtualbox do |v| v.memory = 1280 end config.vm.provision ansible do |ansible| ansible.playbook = site.yml end end
  • 21. Docker I interface for managing container based deployments I light-weight environment virtualisation that makes use of linux-kernel features I like chroot on steroids I currently uses lxc, but this may change in the future I also manages layered
  • 22. le sytems using aufs copy-on-write I disk-space ecient I docker.io has a repository of of layers, e.g. docker pull ubuntu I can be used to provide lightweight linux virtual machines, but this isn't the most ecient approach I no need to run multiple copies of system services I preference is one process per container, single responsibility principle I inter-process communication enabled by mapping directories / ports between containers and/or host
  • 23. Websites I http://ansible.com I http://vagrantup.com I http://docker.io