SlideShare a Scribd company logo
{{ Dev with Ops in MindDev with Ops in Mind }} :: Building
Consistent Environment with
Vagrant and Chef
Gerald Z. Villorente
Senior Drupal Developer | DevOps Engineer | Proud Dad
About MeAbout Me
 Open-source advocateOpen-source advocate
 Learned how to power on and operate a PC in 2005Learned how to power on and operate a PC in 2005
 Became system administrator in 2007Became system administrator in 2007
 Became web developer in 2009Became web developer in 2009
 Drupalista since 2011Drupalista since 2011
 Drupal Developer at CNN Travel | KiteSystems 2011-2013Drupal Developer at CNN Travel | KiteSystems 2011-2013
 DevOps Engineer at BodogNation | Novenix Corp. 2013-2014DevOps Engineer at BodogNation | Novenix Corp. 2013-2014
About MeAbout Me
 Started to learn how to use computer in 2005Started to learn how to use computer in 2005
 I became a computer technician in 2007I became a computer technician in 2007
 I became a Web Developer in 2009I became a Web Developer in 2009
 Drupalista since 2011Drupalista since 2011
 Drupal Developer at CNN Travel | KiteSystems 2011-2013Drupal Developer at CNN Travel | KiteSystems 2011-2013
 DevOps Engineer at BodogNation 2013-2014DevOps Engineer at BodogNation 2013-2014
 Drupal Engineer and Mutant at X-Team 2014-presentDrupal Engineer and Mutant at X-Team 2014-present
About MeAbout Me
 Started to learn how to use computer in 2005Started to learn how to use computer in 2005
 I became a computer technician in 2007I became a computer technician in 2007
 I became a Web Developer in 2009I became a Web Developer in 2009
 Drupalista since 2011Drupalista since 2011
 Drupal Developer at CNN Travel | KiteSystems 2011-2013Drupal Developer at CNN Travel | KiteSystems 2011-2013
 DevOps Engineer at BodogNation 2013-2014DevOps Engineer at BodogNation 2013-2014
 Drupal Engineer and Mutant at X-Team 2014-presentDrupal Engineer and Mutant at X-Team 2014-present
Drupal Engineer and Mutant atDrupal Engineer and Mutant at X-TeamX-Team 2014-present2014-present
(A global development team of 100+ carefully chosen specialists. )(A global development team of 100+ carefully chosen specialists. )
About YouAbout You
 Dev EngineerDev Engineer
 Ops EngineerOps Engineer
 DevOps EngineerDevOps Engineer
 Web ArchitectWeb Architect
 Not a Graphic Designer (do you really care?)Not a Graphic Designer (do you really care?)
Dev Setup (traditional)Dev Setup (traditional)
Agenda:
Bullet Proof SetupBullet Proof Setup
Agenda:
VagrantVagrant
Agenda:
Agenda:
Why Vagrant?Why Vagrant?
Dev with Ops in MindDev with Ops in Mind
Agenda:
Agenda:
Agenda:
Why Chef?Why Chef?
Consistent Development Environment with Vagrant and Chef
Dev SetupDev SetupDev SetupDev Setup
Inconsistent OS between Prod, Dev, Staging, and Local
Inconsistent Web Server between Prod, Dev, Staging, and Local
IIS
Apache
NginX
Lighttpd
Inconsistent version of libraries, server, and database.
PHP 5.3
PHP 5.4
PHP 5.5
Apache 2.2
Apache 2.4
Drush 4.x
Drush 5.x
Varnish 3.x
Varnish 4.x
MySQL 5.1
MySQL 5.5
Inconsistent settings/configurations.
memory_limit = 256M
max_allowed_packet = 16M
set beresp.http.cache-control = "max-age = 300";
upload_max_filesize = 2M
key_buffer = 16M
max_file_uploads = 20
query_cache_limit = 1M
Different libraries and extensions (Ex. GD vs. Imagemagick)Different libraries and extensions (Ex. GD vs. Imagemagick)Different libraries and extensions (Ex. GD vs. Imagemagick)Different libraries and extensions (Ex. GD vs. Imagemagick)
Consistent Development Environment with Vagrant and Chef
Unfortunately, most ofUnfortunately, most of
the time ...the time ...
Unfortunately, most ofUnfortunately, most of
the time ...the time ...
Consistent Development Environment with Vagrant and Chef
Consistent Development Environment with Vagrant and Chef
Consistent Development Environment with Vagrant and Chef
Bullet Proof SetupBullet Proof SetupBullet Proof SetupBullet Proof Setup
Prod = Stage = Dev = LocalProd = Stage = Dev = LocalProd = Stage = Dev = LocalProd = Stage = Dev = Local
Virtualized EnvironmentsVirtualized EnvironmentsVirtualized EnvironmentsVirtualized Environments
 Consistent operating systems and libraries and extentions.Consistent operating systems and libraries and extentions.
 New comers can get going with the development right away. NoNew comers can get going with the development right away. No
more painful setups.more painful setups.
 Redistributable in case of hardware failure.Redistributable in case of hardware failure.
 Consistent operating systems and libraries and extentions.Consistent operating systems and libraries and extentions.
 New comers can get going with the development right away. NoNew comers can get going with the development right away. No
more painful setups.more painful setups.
 Redistributable in case of hardware failure.Redistributable in case of hardware failure.
Reasons why we should:
 Can never get the networking between host and guest OS.Can never get the networking between host and guest OS.
 Scared of the command line.Scared of the command line.
 Massive overhead keeping the VM up to date.Massive overhead keeping the VM up to date.
 Can never get the networking between host and guest OS.Can never get the networking between host and guest OS.
 Scared of the command line.Scared of the command line.
 Massive overhead keeping the VM up to date.Massive overhead keeping the VM up to date.
Reasons why we don't:
VagrantVagrantVagrantVagrant
A tool for building andA tool for building and
distributing virtualizeddistributing virtualized
environments.environments.
A tool for building andA tool for building and
distributing virtualizeddistributing virtualized
environments.environments.
Why Vagrant?Why Vagrant?Why Vagrant?Why Vagrant?
IsolationIsolationIsolationIsolation
Mirror ProductionMirror ProductionMirror ProductionMirror Production
Test Ops scriptsTest Ops scripts
with a free serverwith a free server
Test Ops scriptsTest Ops scripts
with a free serverwith a free server
Designers and QADesigners and QA
can setup their environmentcan setup their environment
easilyeasily
Designers and QADesigners and QA
can setup their environmentcan setup their environment
easilyeasily
Faster OnboardingFaster OnboardingFaster OnboardingFaster Onboarding
DemoDemoDemoDemo
Getting StartedGetting Started
 Install Virtualbox | VMwareInstall Virtualbox | VMware
 Install VagrantInstall Vagrant
 Import your base OS (Import your base OS ($ vagrant box add [BASE_NAME] [PATH.box]$ vagrant box add [BASE_NAME] [PATH.box]))
 Generate Vagrantfile config (Generate Vagrantfile config ($ vagrant init [BASE_NAME]$ vagrant init [BASE_NAME]))
 Boot your guest machine (Boot your guest machine ($ vagrant up$ vagrant up))
Getting StartedGetting Started
 Install Virtualbox | VMwareInstall Virtualbox | VMware
 Install VagrantInstall Vagrant
 Import your base OS (Import your base OS ($ vagrant box add [BASE_NAME] [PATH.box]$ vagrant box add [BASE_NAME] [PATH.box]))
 Generate Vagrantfile config (Generate Vagrantfile config ($ vagrant init [BASE_NAME]$ vagrant init [BASE_NAME]))
 Boot your guest machine (Boot your guest machine ($ vagrant up$ vagrant up))
DistributionDistribution
$ vagrant package --base VM_ID --output BOX_NAME.box
DistributionDistribution
$ vagrant package --base VM_ID --output BOX_NAME.box
Dev withDev with
Ops in MindOps in Mind
Dev withDev with
Ops in MindOps in Mind
The Goal: Develop CookbooksThe Goal: Develop Cookbooks
and Modules to run in aand Modules to run in a
VM and ProductionVM and Production
The Goal: Develop CookbooksThe Goal: Develop Cookbooks
and Modules to run in aand Modules to run in a
VM and ProductionVM and Production
Little Extra EffortLittle Extra Effort
Big GainBig Gain
Good PracticesGood Practices
Little Extra EffortLittle Extra Effort
Big GainBig Gain
Good PracticesGood Practices
Vagrant and DevOps:
ChefChef
A tool for automating the provisioning and management of serversA tool for automating the provisioning and management of servers
ChefChef
A tool for automating the provisioning and management of serversA tool for automating the provisioning and management of servers
A Good ExampleA Good ExampleA Good ExampleA Good Example
Why Chef?Why Chef?Why Chef?Why Chef?
Less documentationLess documentationLess documentationLess documentation
Bash doesn't scale. Seriously.Bash doesn't scale. Seriously.
Bash is a wonderful thing, but like all UNIX tools, it is fundamentallyBash is a wonderful thing, but like all UNIX tools, it is fundamentally
limited by design. Bash doesn't have a code reuse mechanism morelimited by design. Bash doesn't have a code reuse mechanism more
powerful than functions.powerful than functions.
Bash doesn't scale. Seriously.Bash doesn't scale. Seriously.
Bash is a wonderful thing, but like all UNIX tools, it is fundamentallyBash is a wonderful thing, but like all UNIX tools, it is fundamentally
limited by design. Bash doesn't have a code reuse mechanism morelimited by design. Bash doesn't have a code reuse mechanism more
powerful than functions.powerful than functions.
Maybe you can do this using “sed”. But hey are you sick?Maybe you can do this using “sed”. But hey are you sick?Maybe you can do this using “sed”. But hey are you sick?Maybe you can do this using “sed”. But hey are you sick?
Technical Awesomeness.Technical Awesomeness.Technical Awesomeness.Technical Awesomeness.
NOSQL FTWNOSQL FTW
One of the virtues that many *nix tools share is that they store theirOne of the virtues that many *nix tools share is that they store their
configurations in text files rather than binary formats or in aconfigurations in text files rather than binary formats or in a
database.database.
Chef stores your system configurations in textChef stores your system configurations in text
and in a database. It accomplishes this by using the document-and in a database. It accomplishes this by using the document-
oriented database, CouchDB.oriented database, CouchDB.
NOSQL FTWNOSQL FTW
One of the virtues that many *nix tools share is that they store theirOne of the virtues that many *nix tools share is that they store their
configurations in text files rather than binary formats or in aconfigurations in text files rather than binary formats or in a
database.database.
Chef stores your system configurations in textChef stores your system configurations in text
and in a database. It accomplishes this by using the document-and in a database. It accomplishes this by using the document-
oriented database, CouchDB.oriented database, CouchDB.
Knowing is Half the BattleKnowing is Half the Battle
CChef uses Ohai to collect data about your system. Your recipes canhef uses Ohai to collect data about your system. Your recipes can
access these attributes and make decisions based on them.access these attributes and make decisions based on them.
Ex: node['platform_version'] vs. cat | grep | awkEx: node['platform_version'] vs. cat | grep | awk
Knowing is Half the BattleKnowing is Half the Battle
CChef uses Ohai to collect data about your system. Your recipes canhef uses Ohai to collect data about your system. Your recipes can
access these attributes and make decisions based on them.access these attributes and make decisions based on them.
Ex: node['platform_version'] vs. cat | grep | awkEx: node['platform_version'] vs. cat | grep | awk
SearchSearch
Search is a feature in Chef Server that allows you to query theSearch is a feature in Chef Server that allows you to query the
configuration information of all other servers and of globally-definedconfiguration information of all other servers and of globally-defined
databags (global variable). This allows you to do things like configuredatabags (global variable). This allows you to do things like configure
clusters where a member of cluster needs to know not only about itsclusters where a member of cluster needs to know not only about its
own configuration but about the configurations of the otherown configuration but about the configurations of the other
members of the cluster.members of the cluster.
SearchSearch
Search is a feature in Chef Server that allows you to query theSearch is a feature in Chef Server that allows you to query the
configuration information of all other servers and of globally-definedconfiguration information of all other servers and of globally-defined
databags (global variable). This allows you to do things like configuredatabags (global variable). This allows you to do things like configure
clusters where a member of cluster needs to know not only about itsclusters where a member of cluster needs to know not only about its
own configuration but about the configurations of the otherown configuration but about the configurations of the other
members of the cluster.members of the cluster.
KnifeKnife
Knife is one of the truly great command line tools. It is your primaryKnife is one of the truly great command line tools. It is your primary
mechanism for interacting with the chef-server. Knife shares manymechanism for interacting with the chef-server. Knife shares many
usage patterns with git. If you love git, you'll love knife.usage patterns with git. If you love git, you'll love knife.
KnifeKnife
Knife is one of the truly great command line tools. It is your primaryKnife is one of the truly great command line tools. It is your primary
mechanism for interacting with the chef-server. Knife shares manymechanism for interacting with the chef-server. Knife shares many
usage patterns with git. If you love git, you'll love knife.usage patterns with git. If you love git, you'll love knife.
ShefShef
Shef works the way you work, in an iterative manner. Most of usShef works the way you work, in an iterative manner. Most of us
system administrators are self-taught and we learn best by doing.system administrators are self-taught and we learn best by doing.
Fire up shef and you can on the fly play with attributes and createFire up shef and you can on the fly play with attributes and create
recipes. Further, you can connect to your server and download therecipes. Further, you can connect to your server and download the
cookbooks.cookbooks.
ShefShef
Shef works the way you work, in an iterative manner. Most of usShef works the way you work, in an iterative manner. Most of us
system administrators are self-taught and we learn best by doing.system administrators are self-taught and we learn best by doing.
Fire up shef and you can on the fly play with attributes and createFire up shef and you can on the fly play with attributes and create
recipes. Further, you can connect to your server and download therecipes. Further, you can connect to your server and download the
cookbooks.cookbooks.
You can stopYou can stop
reinventing the wheel.reinventing the wheel.
Until Chef, we sysadmins did not have a truly modular way toUntil Chef, we sysadmins did not have a truly modular way to
abstract and share our system configurations.abstract and share our system configurations.
You can stopYou can stop
reinventing the wheel.reinventing the wheel.
Until Chef, we sysadmins did not have a truly modular way toUntil Chef, we sysadmins did not have a truly modular way to
abstract and share our system configurations.abstract and share our system configurations.
DemoDemo
Zero Ruby knowledge?Zero Ruby knowledge?Zero Ruby knowledge?Zero Ruby knowledge?
rove.iorove.io
PuPHPetPuPHPet
Questions?Questions?Questions?Questions?
1. http://www.scoop.it/1. http://www.scoop.it/
2. http://devopsanywhere.blogspot.com/2. http://devopsanywhere.blogspot.com/
3.3. http://www.vagrantup.com/http://www.vagrantup.com/
4.4. https://puphpet.com/https://puphpet.com/
5.5. http://rove.io/http://rove.io/
6.6. http://www.getchef.com/http://www.getchef.com/
7.7. http://puppetlabs.com/http://puppetlabs.com/
8.8. http://www.vagrantbox.es/http://www.vagrantbox.es/
9. http://virtualboxes.org/9. http://virtualboxes.org/
References:
1. Mitchell Hashimoto1. Mitchell Hashimoto
Founder of HashiCorp, Creator of Vagrant and PackerFounder of HashiCorp, Creator of Vagrant and Packer
2. Opscode2. Opscode
Creator of ChefCreator of Chef
3. Puppet Labs3. Puppet Labs
Creator of PuppetCreator of Puppet
Credits:
Thank You!!Salamat!Salamat!
Ad

More Related Content

What's hot (17)

Cloud State of the Union for Java Developers
Cloud State of the Union for Java DevelopersCloud State of the Union for Java Developers
Cloud State of the Union for Java Developers
Burr Sutter
 
Deploying 3 times a day without a downtime @ Rocket Tech Summit in Berlin
Deploying 3 times a day without a downtime @ Rocket Tech Summit in BerlinDeploying 3 times a day without a downtime @ Rocket Tech Summit in Berlin
Deploying 3 times a day without a downtime @ Rocket Tech Summit in Berlin
Alessandro Nadalin
 
How Heroku uses Heroku to build Heroku
How Heroku uses Heroku to build HerokuHow Heroku uses Heroku to build Heroku
How Heroku uses Heroku to build Heroku
Craig Kerstiens
 
Django dev-env-my-way
Django dev-env-my-wayDjango dev-env-my-way
Django dev-env-my-way
Robert Lujo
 
Bamboo - an introduction
Bamboo - an introductionBamboo - an introduction
Bamboo - an introduction
Sven Peters
 
How to integrate front end tool via gruntjs
How to integrate front end tool via gruntjsHow to integrate front end tool via gruntjs
How to integrate front end tool via gruntjs
Bo-Yi Wu
 
The story of language development
The story of language developmentThe story of language development
The story of language development
Hiroshi SHIBATA
 
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
Burr Sutter
 
Test driven infrastructure development (2 - puppetconf 2013 edition)
Test driven infrastructure development (2 - puppetconf 2013 edition)Test driven infrastructure development (2 - puppetconf 2013 edition)
Test driven infrastructure development (2 - puppetconf 2013 edition)
Tomas Doran
 
Kraken js at paypal
Kraken js at paypalKraken js at paypal
Kraken js at paypal
Lenny Markus
 
Linux, Virtualisation, and Clouds
Linux, Virtualisation, and CloudsLinux, Virtualisation, and Clouds
Linux, Virtualisation, and Clouds
Robert Sutor
 
Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps ApproachAutomating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps Approach
Akshaya Mahapatra
 
JFrog container registry - DevOps extravaganza
JFrog container registry - DevOps extravaganza JFrog container registry - DevOps extravaganza
JFrog container registry - DevOps extravaganza
Batel Zohar Tova
 
Migrating to a Bazel-based CI System: 6 Learnings - Or Shachar
Migrating to a Bazel-based CI System: 6 Learnings - Or ShacharMigrating to a Bazel-based CI System: 6 Learnings - Or Shachar
Migrating to a Bazel-based CI System: 6 Learnings - Or Shachar
Wix Engineering
 
ZendCon 2015 - Laravel Forge: Hello World to Hello Production
ZendCon 2015 - Laravel Forge: Hello World to Hello ProductionZendCon 2015 - Laravel Forge: Hello World to Hello Production
ZendCon 2015 - Laravel Forge: Hello World to Hello Production
Joe Ferguson
 
Web Leaps Forward
Web Leaps ForwardWeb Leaps Forward
Web Leaps Forward
Moh Haghighat
 
Migrating to a bazel based CI system: 6 learnings
Migrating to a bazel based CI system: 6 learnings Migrating to a bazel based CI system: 6 learnings
Migrating to a bazel based CI system: 6 learnings
Or Shachar
 
Cloud State of the Union for Java Developers
Cloud State of the Union for Java DevelopersCloud State of the Union for Java Developers
Cloud State of the Union for Java Developers
Burr Sutter
 
Deploying 3 times a day without a downtime @ Rocket Tech Summit in Berlin
Deploying 3 times a day without a downtime @ Rocket Tech Summit in BerlinDeploying 3 times a day without a downtime @ Rocket Tech Summit in Berlin
Deploying 3 times a day without a downtime @ Rocket Tech Summit in Berlin
Alessandro Nadalin
 
How Heroku uses Heroku to build Heroku
How Heroku uses Heroku to build HerokuHow Heroku uses Heroku to build Heroku
How Heroku uses Heroku to build Heroku
Craig Kerstiens
 
Django dev-env-my-way
Django dev-env-my-wayDjango dev-env-my-way
Django dev-env-my-way
Robert Lujo
 
Bamboo - an introduction
Bamboo - an introductionBamboo - an introduction
Bamboo - an introduction
Sven Peters
 
How to integrate front end tool via gruntjs
How to integrate front end tool via gruntjsHow to integrate front end tool via gruntjs
How to integrate front end tool via gruntjs
Bo-Yi Wu
 
The story of language development
The story of language developmentThe story of language development
The story of language development
Hiroshi SHIBATA
 
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
Teaching Elephants to Dance (Federal Audience): A Developer's Journey to Digi...
Burr Sutter
 
Test driven infrastructure development (2 - puppetconf 2013 edition)
Test driven infrastructure development (2 - puppetconf 2013 edition)Test driven infrastructure development (2 - puppetconf 2013 edition)
Test driven infrastructure development (2 - puppetconf 2013 edition)
Tomas Doran
 
Kraken js at paypal
Kraken js at paypalKraken js at paypal
Kraken js at paypal
Lenny Markus
 
Linux, Virtualisation, and Clouds
Linux, Virtualisation, and CloudsLinux, Virtualisation, and Clouds
Linux, Virtualisation, and Clouds
Robert Sutor
 
Automating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps ApproachAutomating Software Development Life Cycle - A DevOps Approach
Automating Software Development Life Cycle - A DevOps Approach
Akshaya Mahapatra
 
JFrog container registry - DevOps extravaganza
JFrog container registry - DevOps extravaganza JFrog container registry - DevOps extravaganza
JFrog container registry - DevOps extravaganza
Batel Zohar Tova
 
Migrating to a Bazel-based CI System: 6 Learnings - Or Shachar
Migrating to a Bazel-based CI System: 6 Learnings - Or ShacharMigrating to a Bazel-based CI System: 6 Learnings - Or Shachar
Migrating to a Bazel-based CI System: 6 Learnings - Or Shachar
Wix Engineering
 
ZendCon 2015 - Laravel Forge: Hello World to Hello Production
ZendCon 2015 - Laravel Forge: Hello World to Hello ProductionZendCon 2015 - Laravel Forge: Hello World to Hello Production
ZendCon 2015 - Laravel Forge: Hello World to Hello Production
Joe Ferguson
 
Migrating to a bazel based CI system: 6 learnings
Migrating to a bazel based CI system: 6 learnings Migrating to a bazel based CI system: 6 learnings
Migrating to a bazel based CI system: 6 learnings
Or Shachar
 

Similar to Consistent Development Environment with Vagrant and Chef (20)

Virtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profitVirtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profit
Andreas Heim
 
Pipeline as code for your infrastructure as Code
Pipeline as code for your infrastructure as CodePipeline as code for your infrastructure as Code
Pipeline as code for your infrastructure as Code
Kris Buytaert
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOps
Boyd Hemphill
 
Virtualization and Cloud Computing with Elastic Server On Demand
Virtualization and Cloud Computing with Elastic Server On DemandVirtualization and Cloud Computing with Elastic Server On Demand
Virtualization and Cloud Computing with Elastic Server On Demand
Yan Pritzker
 
Virtualized development environments phpne - may 2012
Virtualized development environments   phpne - may 2012Virtualized development environments   phpne - may 2012
Virtualized development environments phpne - may 2012
ichilton
 
Drush Deployment Manager: Deployment Made Easy
Drush Deployment Manager: Deployment Made EasyDrush Deployment Manager: Deployment Made Easy
Drush Deployment Manager: Deployment Made Easy
Gerald Villorente
 
Continuous Delivery of (y)our infrastructure.
Continuous Delivery of (y)our infrastructure.Continuous Delivery of (y)our infrastructure.
Continuous Delivery of (y)our infrastructure.
Kris Buytaert
 
Docker Enables DevOps - Boston
Docker Enables DevOps - BostonDocker Enables DevOps - Boston
Docker Enables DevOps - Boston
Boyd Hemphill
 
Consistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and ChefConsistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and Chef
Gerald Villorente
 
Online gas booking project in java
Online gas booking project in javaOnline gas booking project in java
Online gas booking project in java
s4al_com
 
Building appliances
Building appliancesBuilding appliances
Building appliances
Kris Buytaert
 
WordCamp Atlanta - April 15 2018 - dev team workflow and processes with word...
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with word...WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with word...
WordCamp Atlanta - April 15 2018 - dev team workflow and processes with word...
Evan Mullins
 
create auto scale jboss cluster with openshift
create auto scale jboss cluster with openshiftcreate auto scale jboss cluster with openshift
create auto scale jboss cluster with openshift
Yusuf Hadiwinata Sutandar
 
How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?
Cloud 66
 
How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?
Katarzyna Hoffman
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Edureka!
 
Paris Web - Javascript as a programming language
Paris Web - Javascript as a programming languageParis Web - Javascript as a programming language
Paris Web - Javascript as a programming language
Marco Cedaro
 
David Nuescheler: Igniting CQ 5.3: What's New and Roadmap
David Nuescheler: Igniting CQ 5.3: What's New and RoadmapDavid Nuescheler: Igniting CQ 5.3: What's New and Roadmap
David Nuescheler: Igniting CQ 5.3: What's New and Roadmap
Day Software
 
Word press, the automated way
Word press, the automated wayWord press, the automated way
Word press, the automated way
Michaël Perrin
 
Making Sense out of Amazon ECS
Making Sense out of Amazon ECSMaking Sense out of Amazon ECS
Making Sense out of Amazon ECS
WhiteHedge Technologies Inc.
 
Virtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profitVirtualize and automate your development environment for fun and profit
Virtualize and automate your development environment for fun and profit
Andreas Heim
 
Pipeline as code for your infrastructure as Code
Pipeline as code for your infrastructure as CodePipeline as code for your infrastructure as Code
Pipeline as code for your infrastructure as Code
Kris Buytaert
 
Docker Enables DevOps
Docker Enables DevOpsDocker Enables DevOps
Docker Enables DevOps
Boyd Hemphill
 
Virtualization and Cloud Computing with Elastic Server On Demand
Virtualization and Cloud Computing with Elastic Server On DemandVirtualization and Cloud Computing with Elastic Server On Demand
Virtualization and Cloud Computing with Elastic Server On Demand
Yan Pritzker
 
Virtualized development environments phpne - may 2012
Virtualized development environments   phpne - may 2012Virtualized development environments   phpne - may 2012
Virtualized development environments phpne - may 2012
ichilton
 
Drush Deployment Manager: Deployment Made Easy
Drush Deployment Manager: Deployment Made EasyDrush Deployment Manager: Deployment Made Easy
Drush Deployment Manager: Deployment Made Easy
Gerald Villorente
 
Continuous Delivery of (y)our infrastructure.
Continuous Delivery of (y)our infrastructure.Continuous Delivery of (y)our infrastructure.
Continuous Delivery of (y)our infrastructure.
Kris Buytaert
 
Docker Enables DevOps - Boston
Docker Enables DevOps - BostonDocker Enables DevOps - Boston
Docker Enables DevOps - Boston
Boyd Hemphill
 
Consistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and ChefConsistent Development Environment using Vagrant and Chef
Consistent Development Environment using Vagrant and Chef
Gerald Villorente
 
Online gas booking project in java
Online gas booking project in javaOnline gas booking project in java
Online gas booking project in java
s4al_com
 
WordCamp Atlanta - April 15 2018 - dev team workflow and processes with word...
WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with word...WordCamp Atlanta -  April 15 2018 - dev team workflow and processes with word...
WordCamp Atlanta - April 15 2018 - dev team workflow and processes with word...
Evan Mullins
 
create auto scale jboss cluster with openshift
create auto scale jboss cluster with openshiftcreate auto scale jboss cluster with openshift
create auto scale jboss cluster with openshift
Yusuf Hadiwinata Sutandar
 
How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?
Cloud 66
 
How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?How the hell do I run my microservices in production, and will it scale?
How the hell do I run my microservices in production, and will it scale?
Katarzyna Hoffman
 
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Chef vs Puppet vs Ansible vs SaltStack | Configuration Management Tools Compa...
Edureka!
 
Paris Web - Javascript as a programming language
Paris Web - Javascript as a programming languageParis Web - Javascript as a programming language
Paris Web - Javascript as a programming language
Marco Cedaro
 
David Nuescheler: Igniting CQ 5.3: What's New and Roadmap
David Nuescheler: Igniting CQ 5.3: What's New and RoadmapDavid Nuescheler: Igniting CQ 5.3: What's New and Roadmap
David Nuescheler: Igniting CQ 5.3: What's New and Roadmap
Day Software
 
Word press, the automated way
Word press, the automated wayWord press, the automated way
Word press, the automated way
Michaël Perrin
 
Ad

More from Gerald Villorente (20)

Of Docker and Drupal
Of Docker and DrupalOf Docker and Drupal
Of Docker and Drupal
Gerald Villorente
 
Introduction to Kalabox
Introduction to KalaboxIntroduction to Kalabox
Introduction to Kalabox
Gerald Villorente
 
Drupal Development : Tools, Tips, and Tricks
Drupal Development : Tools, Tips, and TricksDrupal Development : Tools, Tips, and Tricks
Drupal Development : Tools, Tips, and Tricks
Gerald Villorente
 
Drupal 101 V-0.1
Drupal 101 V-0.1Drupal 101 V-0.1
Drupal 101 V-0.1
Gerald Villorente
 
BITS 2015: The Beauty of Drupal
BITS 2015: The Beauty of DrupalBITS 2015: The Beauty of Drupal
BITS 2015: The Beauty of Drupal
Gerald Villorente
 
Introduction to Drupal 7
Introduction to Drupal 7Introduction to Drupal 7
Introduction to Drupal 7
Gerald Villorente
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, Terminologies
Gerald Villorente
 
Why Drupal is Rockstar?
Why Drupal is Rockstar?Why Drupal is Rockstar?
Why Drupal is Rockstar?
Gerald Villorente
 
DevOps: Cooking Drupal Deployment
DevOps: Cooking Drupal DeploymentDevOps: Cooking Drupal Deployment
DevOps: Cooking Drupal Deployment
Gerald Villorente
 
Drupal Pilipinas Apprentice: LAMP Administration, CSS, and Vagrant
Drupal Pilipinas Apprentice: LAMP Administration, CSS, and VagrantDrupal Pilipinas Apprentice: LAMP Administration, CSS, and Vagrant
Drupal Pilipinas Apprentice: LAMP Administration, CSS, and Vagrant
Gerald Villorente
 
Drupal
DrupalDrupal
Drupal
Gerald Villorente
 
Best Practices: Drupal Development
Best Practices: Drupal DevelopmentBest Practices: Drupal Development
Best Practices: Drupal Development
Gerald Villorente
 
Drupal Deployment and Essential Development Tools - 2nd Edition
Drupal Deployment and Essential Development Tools - 2nd EditionDrupal Deployment and Essential Development Tools - 2nd Edition
Drupal Deployment and Essential Development Tools - 2nd Edition
Gerald Villorente
 
Drupal Deployment and Essential Development Tools
Drupal Deployment and Essential Development ToolsDrupal Deployment and Essential Development Tools
Drupal Deployment and Essential Development Tools
Gerald Villorente
 
Setting Up Cross-Browser Testing Environment (Debian-based System)
Setting Up Cross-Browser Testing Environment  (Debian-based System)Setting Up Cross-Browser Testing Environment  (Debian-based System)
Setting Up Cross-Browser Testing Environment (Debian-based System)
Gerald Villorente
 
Git: Git'ing the Basic
Git: Git'ing the BasicGit: Git'ing the Basic
Git: Git'ing the Basic
Gerald Villorente
 
Anatomy of Drupal
Anatomy of DrupalAnatomy of Drupal
Anatomy of Drupal
Gerald Villorente
 
Drupal Security Hardening
Drupal Security HardeningDrupal Security Hardening
Drupal Security Hardening
Gerald Villorente
 
Drupal Security Hardening
Drupal Security HardeningDrupal Security Hardening
Drupal Security Hardening
Gerald Villorente
 
Drupal Performance and Scaling
Drupal Performance and ScalingDrupal Performance and Scaling
Drupal Performance and Scaling
Gerald Villorente
 
Drupal Development : Tools, Tips, and Tricks
Drupal Development : Tools, Tips, and TricksDrupal Development : Tools, Tips, and Tricks
Drupal Development : Tools, Tips, and Tricks
Gerald Villorente
 
BITS 2015: The Beauty of Drupal
BITS 2015: The Beauty of DrupalBITS 2015: The Beauty of Drupal
BITS 2015: The Beauty of Drupal
Gerald Villorente
 
Introduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, TerminologiesIntroduction to Drupal - Installation, Anatomy, Terminologies
Introduction to Drupal - Installation, Anatomy, Terminologies
Gerald Villorente
 
DevOps: Cooking Drupal Deployment
DevOps: Cooking Drupal DeploymentDevOps: Cooking Drupal Deployment
DevOps: Cooking Drupal Deployment
Gerald Villorente
 
Drupal Pilipinas Apprentice: LAMP Administration, CSS, and Vagrant
Drupal Pilipinas Apprentice: LAMP Administration, CSS, and VagrantDrupal Pilipinas Apprentice: LAMP Administration, CSS, and Vagrant
Drupal Pilipinas Apprentice: LAMP Administration, CSS, and Vagrant
Gerald Villorente
 
Best Practices: Drupal Development
Best Practices: Drupal DevelopmentBest Practices: Drupal Development
Best Practices: Drupal Development
Gerald Villorente
 
Drupal Deployment and Essential Development Tools - 2nd Edition
Drupal Deployment and Essential Development Tools - 2nd EditionDrupal Deployment and Essential Development Tools - 2nd Edition
Drupal Deployment and Essential Development Tools - 2nd Edition
Gerald Villorente
 
Drupal Deployment and Essential Development Tools
Drupal Deployment and Essential Development ToolsDrupal Deployment and Essential Development Tools
Drupal Deployment and Essential Development Tools
Gerald Villorente
 
Setting Up Cross-Browser Testing Environment (Debian-based System)
Setting Up Cross-Browser Testing Environment  (Debian-based System)Setting Up Cross-Browser Testing Environment  (Debian-based System)
Setting Up Cross-Browser Testing Environment (Debian-based System)
Gerald Villorente
 
Drupal Performance and Scaling
Drupal Performance and ScalingDrupal Performance and Scaling
Drupal Performance and Scaling
Gerald Villorente
 
Ad

Recently uploaded (19)

DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)
APNIC
 
White and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptxWhite and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptx
canumatown
 
Understanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep WebUnderstanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep Web
nabilajabin35
 
Computers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers NetworksComputers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers Networks
Tito208863
 
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingTop Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
steve198109
 
project_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptxproject_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptx
redzuriel13
 
Determining Glass is mechanical textile
Determining  Glass is mechanical textileDetermining  Glass is mechanical textile
Determining Glass is mechanical textile
Azizul Hakim
 
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC
 
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 SupportReliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
steve198109
 
OSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description fOSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description f
cbr49917
 
(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security
aluacharya169
 
Best web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you businessBest web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you business
steve198109
 
IT Services Workflow From Request to Resolution
IT Services Workflow From Request to ResolutionIT Services Workflow From Request to Resolution
IT Services Workflow From Request to Resolution
mzmziiskd
 
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
DataProvider1
 
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation TemplateSmart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
yojeari421237
 
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry SweetserAPNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC
 
Perguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolhaPerguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolha
socaslev
 
highend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptxhighend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptx
elhadjcheikhdiop
 
5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx
andani26
 
DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)DNS Resolvers and Nameservers (in New Zealand)
DNS Resolvers and Nameservers (in New Zealand)
APNIC
 
White and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptxWhite and Red Clean Car Business Pitch Presentation.pptx
White and Red Clean Car Business Pitch Presentation.pptx
canumatown
 
Understanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep WebUnderstanding the Tor Network and Exploring the Deep Web
Understanding the Tor Network and Exploring the Deep Web
nabilajabin35
 
Computers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers NetworksComputers Networks Computers Networks Computers Networks
Computers Networks Computers Networks Computers Networks
Tito208863
 
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHostingTop Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
Top Vancouver Green Business Ideas for 2025 Powered by 4GoodHosting
steve198109
 
project_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptxproject_based_laaaaaaaaaaearning,kelompok 10.pptx
project_based_laaaaaaaaaaearning,kelompok 10.pptx
redzuriel13
 
Determining Glass is mechanical textile
Determining  Glass is mechanical textileDetermining  Glass is mechanical textile
Determining Glass is mechanical textile
Azizul Hakim
 
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC -Policy Development Process, presented at Local APIGA Taiwan 2025
APNIC
 
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 SupportReliable Vancouver Web Hosting with Local Servers & 24/7 Support
Reliable Vancouver Web Hosting with Local Servers & 24/7 Support
steve198109
 
OSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description fOSI TCP IP Protocol Layers description f
OSI TCP IP Protocol Layers description f
cbr49917
 
(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security(Hosting PHising Sites) for Cryptography and network security
(Hosting PHising Sites) for Cryptography and network security
aluacharya169
 
Best web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you businessBest web hosting Vancouver 2025 for you business
Best web hosting Vancouver 2025 for you business
steve198109
 
IT Services Workflow From Request to Resolution
IT Services Workflow From Request to ResolutionIT Services Workflow From Request to Resolution
IT Services Workflow From Request to Resolution
mzmziiskd
 
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...Mobile database for your company telemarketing or sms marketing campaigns. Fr...
Mobile database for your company telemarketing or sms marketing campaigns. Fr...
DataProvider1
 
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation TemplateSmart Mobile App Pitch Deck丨AI Travel App Presentation Template
Smart Mobile App Pitch Deck丨AI Travel App Presentation Template
yojeari421237
 
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry SweetserAPNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC Update, presented at NZNOG 2025 by Terry Sweetser
APNIC
 
Perguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolhaPerguntas dos animais - Slides ilustrados de múltipla escolha
Perguntas dos animais - Slides ilustrados de múltipla escolha
socaslev
 
highend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptxhighend-srxseries-services-gateways-customer-presentation.pptx
highend-srxseries-services-gateways-customer-presentation.pptx
elhadjcheikhdiop
 
5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx5-Proses-proses Akuisisi Citra Digital.pptx
5-Proses-proses Akuisisi Citra Digital.pptx
andani26
 

Consistent Development Environment with Vagrant and Chef

  • 1. {{ Dev with Ops in MindDev with Ops in Mind }} :: Building Consistent Environment with Vagrant and Chef Gerald Z. Villorente Senior Drupal Developer | DevOps Engineer | Proud Dad
  • 2. About MeAbout Me  Open-source advocateOpen-source advocate  Learned how to power on and operate a PC in 2005Learned how to power on and operate a PC in 2005  Became system administrator in 2007Became system administrator in 2007  Became web developer in 2009Became web developer in 2009  Drupalista since 2011Drupalista since 2011  Drupal Developer at CNN Travel | KiteSystems 2011-2013Drupal Developer at CNN Travel | KiteSystems 2011-2013  DevOps Engineer at BodogNation | Novenix Corp. 2013-2014DevOps Engineer at BodogNation | Novenix Corp. 2013-2014
  • 3. About MeAbout Me  Started to learn how to use computer in 2005Started to learn how to use computer in 2005  I became a computer technician in 2007I became a computer technician in 2007  I became a Web Developer in 2009I became a Web Developer in 2009  Drupalista since 2011Drupalista since 2011  Drupal Developer at CNN Travel | KiteSystems 2011-2013Drupal Developer at CNN Travel | KiteSystems 2011-2013  DevOps Engineer at BodogNation 2013-2014DevOps Engineer at BodogNation 2013-2014  Drupal Engineer and Mutant at X-Team 2014-presentDrupal Engineer and Mutant at X-Team 2014-present About MeAbout Me  Started to learn how to use computer in 2005Started to learn how to use computer in 2005  I became a computer technician in 2007I became a computer technician in 2007  I became a Web Developer in 2009I became a Web Developer in 2009  Drupalista since 2011Drupalista since 2011  Drupal Developer at CNN Travel | KiteSystems 2011-2013Drupal Developer at CNN Travel | KiteSystems 2011-2013  DevOps Engineer at BodogNation 2013-2014DevOps Engineer at BodogNation 2013-2014  Drupal Engineer and Mutant at X-Team 2014-presentDrupal Engineer and Mutant at X-Team 2014-present Drupal Engineer and Mutant atDrupal Engineer and Mutant at X-TeamX-Team 2014-present2014-present (A global development team of 100+ carefully chosen specialists. )(A global development team of 100+ carefully chosen specialists. )
  • 4. About YouAbout You  Dev EngineerDev Engineer  Ops EngineerOps Engineer  DevOps EngineerDevOps Engineer  Web ArchitectWeb Architect  Not a Graphic Designer (do you really care?)Not a Graphic Designer (do you really care?)
  • 5. Dev Setup (traditional)Dev Setup (traditional) Agenda:
  • 6. Bullet Proof SetupBullet Proof Setup Agenda:
  • 9. Dev with Ops in MindDev with Ops in Mind Agenda:
  • 13. Dev SetupDev SetupDev SetupDev Setup
  • 14. Inconsistent OS between Prod, Dev, Staging, and Local
  • 15. Inconsistent Web Server between Prod, Dev, Staging, and Local IIS Apache NginX Lighttpd
  • 16. Inconsistent version of libraries, server, and database. PHP 5.3 PHP 5.4 PHP 5.5 Apache 2.2 Apache 2.4 Drush 4.x Drush 5.x Varnish 3.x Varnish 4.x MySQL 5.1 MySQL 5.5
  • 17. Inconsistent settings/configurations. memory_limit = 256M max_allowed_packet = 16M set beresp.http.cache-control = "max-age = 300"; upload_max_filesize = 2M key_buffer = 16M max_file_uploads = 20 query_cache_limit = 1M
  • 18. Different libraries and extensions (Ex. GD vs. Imagemagick)Different libraries and extensions (Ex. GD vs. Imagemagick)Different libraries and extensions (Ex. GD vs. Imagemagick)Different libraries and extensions (Ex. GD vs. Imagemagick)
  • 20. Unfortunately, most ofUnfortunately, most of the time ...the time ... Unfortunately, most ofUnfortunately, most of the time ...the time ...
  • 24. Bullet Proof SetupBullet Proof SetupBullet Proof SetupBullet Proof Setup
  • 25. Prod = Stage = Dev = LocalProd = Stage = Dev = LocalProd = Stage = Dev = LocalProd = Stage = Dev = Local
  • 26. Virtualized EnvironmentsVirtualized EnvironmentsVirtualized EnvironmentsVirtualized Environments
  • 27.  Consistent operating systems and libraries and extentions.Consistent operating systems and libraries and extentions.  New comers can get going with the development right away. NoNew comers can get going with the development right away. No more painful setups.more painful setups.  Redistributable in case of hardware failure.Redistributable in case of hardware failure.  Consistent operating systems and libraries and extentions.Consistent operating systems and libraries and extentions.  New comers can get going with the development right away. NoNew comers can get going with the development right away. No more painful setups.more painful setups.  Redistributable in case of hardware failure.Redistributable in case of hardware failure. Reasons why we should:
  • 28.  Can never get the networking between host and guest OS.Can never get the networking between host and guest OS.  Scared of the command line.Scared of the command line.  Massive overhead keeping the VM up to date.Massive overhead keeping the VM up to date.  Can never get the networking between host and guest OS.Can never get the networking between host and guest OS.  Scared of the command line.Scared of the command line.  Massive overhead keeping the VM up to date.Massive overhead keeping the VM up to date. Reasons why we don't:
  • 30. A tool for building andA tool for building and distributing virtualizeddistributing virtualized environments.environments. A tool for building andA tool for building and distributing virtualizeddistributing virtualized environments.environments.
  • 31. Why Vagrant?Why Vagrant?Why Vagrant?Why Vagrant?
  • 33. Mirror ProductionMirror ProductionMirror ProductionMirror Production
  • 34. Test Ops scriptsTest Ops scripts with a free serverwith a free server Test Ops scriptsTest Ops scripts with a free serverwith a free server
  • 35. Designers and QADesigners and QA can setup their environmentcan setup their environment easilyeasily Designers and QADesigners and QA can setup their environmentcan setup their environment easilyeasily
  • 36. Faster OnboardingFaster OnboardingFaster OnboardingFaster Onboarding
  • 38. Getting StartedGetting Started  Install Virtualbox | VMwareInstall Virtualbox | VMware  Install VagrantInstall Vagrant  Import your base OS (Import your base OS ($ vagrant box add [BASE_NAME] [PATH.box]$ vagrant box add [BASE_NAME] [PATH.box]))  Generate Vagrantfile config (Generate Vagrantfile config ($ vagrant init [BASE_NAME]$ vagrant init [BASE_NAME]))  Boot your guest machine (Boot your guest machine ($ vagrant up$ vagrant up)) Getting StartedGetting Started  Install Virtualbox | VMwareInstall Virtualbox | VMware  Install VagrantInstall Vagrant  Import your base OS (Import your base OS ($ vagrant box add [BASE_NAME] [PATH.box]$ vagrant box add [BASE_NAME] [PATH.box]))  Generate Vagrantfile config (Generate Vagrantfile config ($ vagrant init [BASE_NAME]$ vagrant init [BASE_NAME]))  Boot your guest machine (Boot your guest machine ($ vagrant up$ vagrant up))
  • 39. DistributionDistribution $ vagrant package --base VM_ID --output BOX_NAME.box DistributionDistribution $ vagrant package --base VM_ID --output BOX_NAME.box
  • 40. Dev withDev with Ops in MindOps in Mind Dev withDev with Ops in MindOps in Mind
  • 41. The Goal: Develop CookbooksThe Goal: Develop Cookbooks and Modules to run in aand Modules to run in a VM and ProductionVM and Production The Goal: Develop CookbooksThe Goal: Develop Cookbooks and Modules to run in aand Modules to run in a VM and ProductionVM and Production
  • 42. Little Extra EffortLittle Extra Effort Big GainBig Gain Good PracticesGood Practices Little Extra EffortLittle Extra Effort Big GainBig Gain Good PracticesGood Practices Vagrant and DevOps:
  • 43. ChefChef A tool for automating the provisioning and management of serversA tool for automating the provisioning and management of servers ChefChef A tool for automating the provisioning and management of serversA tool for automating the provisioning and management of servers
  • 44. A Good ExampleA Good ExampleA Good ExampleA Good Example
  • 45. Why Chef?Why Chef?Why Chef?Why Chef?
  • 46. Less documentationLess documentationLess documentationLess documentation
  • 47. Bash doesn't scale. Seriously.Bash doesn't scale. Seriously. Bash is a wonderful thing, but like all UNIX tools, it is fundamentallyBash is a wonderful thing, but like all UNIX tools, it is fundamentally limited by design. Bash doesn't have a code reuse mechanism morelimited by design. Bash doesn't have a code reuse mechanism more powerful than functions.powerful than functions. Bash doesn't scale. Seriously.Bash doesn't scale. Seriously. Bash is a wonderful thing, but like all UNIX tools, it is fundamentallyBash is a wonderful thing, but like all UNIX tools, it is fundamentally limited by design. Bash doesn't have a code reuse mechanism morelimited by design. Bash doesn't have a code reuse mechanism more powerful than functions.powerful than functions.
  • 48. Maybe you can do this using “sed”. But hey are you sick?Maybe you can do this using “sed”. But hey are you sick?Maybe you can do this using “sed”. But hey are you sick?Maybe you can do this using “sed”. But hey are you sick?
  • 49. Technical Awesomeness.Technical Awesomeness.Technical Awesomeness.Technical Awesomeness.
  • 50. NOSQL FTWNOSQL FTW One of the virtues that many *nix tools share is that they store theirOne of the virtues that many *nix tools share is that they store their configurations in text files rather than binary formats or in aconfigurations in text files rather than binary formats or in a database.database. Chef stores your system configurations in textChef stores your system configurations in text and in a database. It accomplishes this by using the document-and in a database. It accomplishes this by using the document- oriented database, CouchDB.oriented database, CouchDB. NOSQL FTWNOSQL FTW One of the virtues that many *nix tools share is that they store theirOne of the virtues that many *nix tools share is that they store their configurations in text files rather than binary formats or in aconfigurations in text files rather than binary formats or in a database.database. Chef stores your system configurations in textChef stores your system configurations in text and in a database. It accomplishes this by using the document-and in a database. It accomplishes this by using the document- oriented database, CouchDB.oriented database, CouchDB.
  • 51. Knowing is Half the BattleKnowing is Half the Battle CChef uses Ohai to collect data about your system. Your recipes canhef uses Ohai to collect data about your system. Your recipes can access these attributes and make decisions based on them.access these attributes and make decisions based on them. Ex: node['platform_version'] vs. cat | grep | awkEx: node['platform_version'] vs. cat | grep | awk Knowing is Half the BattleKnowing is Half the Battle CChef uses Ohai to collect data about your system. Your recipes canhef uses Ohai to collect data about your system. Your recipes can access these attributes and make decisions based on them.access these attributes and make decisions based on them. Ex: node['platform_version'] vs. cat | grep | awkEx: node['platform_version'] vs. cat | grep | awk
  • 52. SearchSearch Search is a feature in Chef Server that allows you to query theSearch is a feature in Chef Server that allows you to query the configuration information of all other servers and of globally-definedconfiguration information of all other servers and of globally-defined databags (global variable). This allows you to do things like configuredatabags (global variable). This allows you to do things like configure clusters where a member of cluster needs to know not only about itsclusters where a member of cluster needs to know not only about its own configuration but about the configurations of the otherown configuration but about the configurations of the other members of the cluster.members of the cluster. SearchSearch Search is a feature in Chef Server that allows you to query theSearch is a feature in Chef Server that allows you to query the configuration information of all other servers and of globally-definedconfiguration information of all other servers and of globally-defined databags (global variable). This allows you to do things like configuredatabags (global variable). This allows you to do things like configure clusters where a member of cluster needs to know not only about itsclusters where a member of cluster needs to know not only about its own configuration but about the configurations of the otherown configuration but about the configurations of the other members of the cluster.members of the cluster.
  • 53. KnifeKnife Knife is one of the truly great command line tools. It is your primaryKnife is one of the truly great command line tools. It is your primary mechanism for interacting with the chef-server. Knife shares manymechanism for interacting with the chef-server. Knife shares many usage patterns with git. If you love git, you'll love knife.usage patterns with git. If you love git, you'll love knife. KnifeKnife Knife is one of the truly great command line tools. It is your primaryKnife is one of the truly great command line tools. It is your primary mechanism for interacting with the chef-server. Knife shares manymechanism for interacting with the chef-server. Knife shares many usage patterns with git. If you love git, you'll love knife.usage patterns with git. If you love git, you'll love knife.
  • 54. ShefShef Shef works the way you work, in an iterative manner. Most of usShef works the way you work, in an iterative manner. Most of us system administrators are self-taught and we learn best by doing.system administrators are self-taught and we learn best by doing. Fire up shef and you can on the fly play with attributes and createFire up shef and you can on the fly play with attributes and create recipes. Further, you can connect to your server and download therecipes. Further, you can connect to your server and download the cookbooks.cookbooks. ShefShef Shef works the way you work, in an iterative manner. Most of usShef works the way you work, in an iterative manner. Most of us system administrators are self-taught and we learn best by doing.system administrators are self-taught and we learn best by doing. Fire up shef and you can on the fly play with attributes and createFire up shef and you can on the fly play with attributes and create recipes. Further, you can connect to your server and download therecipes. Further, you can connect to your server and download the cookbooks.cookbooks.
  • 55. You can stopYou can stop reinventing the wheel.reinventing the wheel. Until Chef, we sysadmins did not have a truly modular way toUntil Chef, we sysadmins did not have a truly modular way to abstract and share our system configurations.abstract and share our system configurations. You can stopYou can stop reinventing the wheel.reinventing the wheel. Until Chef, we sysadmins did not have a truly modular way toUntil Chef, we sysadmins did not have a truly modular way to abstract and share our system configurations.abstract and share our system configurations.
  • 57. Zero Ruby knowledge?Zero Ruby knowledge?Zero Ruby knowledge?Zero Ruby knowledge?
  • 61. 1. http://www.scoop.it/1. http://www.scoop.it/ 2. http://devopsanywhere.blogspot.com/2. http://devopsanywhere.blogspot.com/ 3.3. http://www.vagrantup.com/http://www.vagrantup.com/ 4.4. https://puphpet.com/https://puphpet.com/ 5.5. http://rove.io/http://rove.io/ 6.6. http://www.getchef.com/http://www.getchef.com/ 7.7. http://puppetlabs.com/http://puppetlabs.com/ 8.8. http://www.vagrantbox.es/http://www.vagrantbox.es/ 9. http://virtualboxes.org/9. http://virtualboxes.org/ References:
  • 62. 1. Mitchell Hashimoto1. Mitchell Hashimoto Founder of HashiCorp, Creator of Vagrant and PackerFounder of HashiCorp, Creator of Vagrant and Packer 2. Opscode2. Opscode Creator of ChefCreator of Chef 3. Puppet Labs3. Puppet Labs Creator of PuppetCreator of Puppet Credits: