SlideShare a Scribd company logo
WordPress & Vagrant
What is Vagrant?
– docs.vagrantup.com
“Vagrant provides easy to configure,
reproducible, and portable work environments
built on top of industry-standard technology
and controlled by a single consistent workflow
to help maximize the productivity and flexibility
of you and your team.
WordPress & Vagrant
Vagrant makes
sandboxes
we play in them
What does that mean?
+ self-contained, isolated environments
+ reproducible and disposable
+ matches production environment
+ clean
+ fast
+ dependable
basic terminal commands
+ cd
+ vagrant up
+ vagrant destroy
bonus terminal commands
+ ls
+ mv
+ cp
+ vagrant halt
+ man
Developing WordPress
sites with Vagrant
$
WordPress
codebase
WordPress
codebase
Vagrant Workflow
vagrant virtual machine
$ vagrant up
WordPress
codebase
WordPress
codebase
Vagrant Workflow
$
WordPress
codebase
vagrant destroy
Vagrant Workflow
WordPress Vagrant Projects
+ VVV (Varying Vagrant Vagrants)
+ Trellis (a part of the roots.io project)
+ Salty-WordPress
+ VCCW
+ and plenty more
Common pitfalls
+ Full provisioning
+ Long wait on vagrant up
+ Precious
+ Lots of idiosyncratic upfront configuration
+ Most can’t run multiple simultaneous VMs
+ Lousy with managed hosting
Managed WordPress Hosting
+ WordPress hosting is a solved problem
+ Small teams can do more
+ peace of mind
Development Environment
Design Goals
+ Fast to set up
+ Always install the latest WordPress release
+ Pre-bake common components into a
standard base box
+ Apache and mods
+ PHP
+ PHP error reporting
+ MySQL
+ Setup user accounts
+ Configure server
+ define default sites
+ etc.
basic-wordpress-box basic-wordpresss-vagrant
+ Apache and mods
+ PHP
+ PHP error reporting
+ MySQL
+ Setup user accounts
+ Configure server
+ define default sites
+ etc.
+ Install & configure
WordPress
+ Load Database
basic-wordpress-box basic-wordpresss-vagrant
Advantages of
basic-wordpresss-vagrant
+ Very, very fast to spin up
+ Virtually no configuration
+ Low technical barrier to entry
+ Multiple simultaneous VMs work great
+ Lightweight, VM saves disk space
How fast?
V V V
vagrant up
23 minutes 10 seconds
Trellis (Roots.io)
vagrant up
10 minutes 40 seconds
Elapsed time from “cold boot”
How fast?
V V V
vagrant up
23 minutes 10 seconds
Trellis (Roots.io)
vagrant up
10 minutes 40 seconds
basic-wordpress-vagrant
vagrant up
51 seconds
Elapsed time from “cold boot”
DEMO
GitHub
/ideasonpurpose/basic-wordpress-vagrant
/joemaller
joe@joemaller.com

More Related Content

PDF
VCCW - Vagrant based WordPress development environment
PDF
Multi-provider Vagrant and Chef: AWS, VMware, and more
PPTX
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
PPTX
Infrastructure development on windows ldn cd meetup
PDF
Intro 2 docker
PDF
Locking Down CF Servers
PDF
Can you contain the future - Docker, Container Technologies, The Future, and You
PDF
Wocker @WordBench Osaka No.41
VCCW - Vagrant based WordPress development environment
Multi-provider Vagrant and Chef: AWS, VMware, and more
Devops Boise - Israel Shirk - Pragmatic Migration to Infrastructure As Code
Infrastructure development on windows ldn cd meetup
Intro 2 docker
Locking Down CF Servers
Can you contain the future - Docker, Container Technologies, The Future, and You
Wocker @WordBench Osaka No.41

What's hot (20)

PPTX
My Database Skills Killed the Server
PDF
Realtime with-websockets-2015
PDF
Multiple django applications on a single server with nginx
PDF
Using WebSockets with ColdFusion
PDF
Frasco: Jekyll Starter Project
ODP
Continuous delivery of Windows micro services in the cloud
PDF
Local development with vvv jon trujillo
PDF
Dockerize WordPress on Mac/Windows
PPTX
Package Management on Windows with Chocolatey
PPTX
PDF
Node4J: Running Node.js in a JavaWorld
PDF
WordPress Security - 12 WordPress Security Fundamentals
PDF
Unsafe SSL webinar
PDF
Improving WordPress performance (xdebug and profiling)
PDF
WASM! WASI! WAGI! WAT?
PPTX
Getting started with node.js
PDF
Automate All the Things with Grunt
PDF
Hacking on WildFly 9
KEY
NDC 2011 - Let me introduce my Moncai
PDF
Webconf nodejs-production-architecture
My Database Skills Killed the Server
Realtime with-websockets-2015
Multiple django applications on a single server with nginx
Using WebSockets with ColdFusion
Frasco: Jekyll Starter Project
Continuous delivery of Windows micro services in the cloud
Local development with vvv jon trujillo
Dockerize WordPress on Mac/Windows
Package Management on Windows with Chocolatey
Node4J: Running Node.js in a JavaWorld
WordPress Security - 12 WordPress Security Fundamentals
Unsafe SSL webinar
Improving WordPress performance (xdebug and profiling)
WASM! WASI! WAGI! WAT?
Getting started with node.js
Automate All the Things with Grunt
Hacking on WildFly 9
NDC 2011 - Let me introduce my Moncai
Webconf nodejs-production-architecture
Ad

Viewers also liked (12)

PPT
Fa glass
PPTX
DAS BAUSYMPOSIUM 13 DBS
PPTX
Nvc kickoff nogiveaway
PDF
BMC 2013 Y Housing
PPTX
TPP Preparation - Automation for Analysis and Compliance
PDF
Brilliant commodity tips
PDF
Sterrenwijs_in_Grazia
PPT
Google Adwords Introduction
PDF
Projektverzögerungen - Welche Verteidigungsstrategien gibt es gegen Verzugver...
PPTX
Tabel penghitung indeks standar pencemaran udara (ispu)
PDF
26 02-08 preocupa a gobernadores deportaciones a prioridad de eu - milenio
PPTX
Ingeniería genética
Fa glass
DAS BAUSYMPOSIUM 13 DBS
Nvc kickoff nogiveaway
BMC 2013 Y Housing
TPP Preparation - Automation for Analysis and Compliance
Brilliant commodity tips
Sterrenwijs_in_Grazia
Google Adwords Introduction
Projektverzögerungen - Welche Verteidigungsstrategien gibt es gegen Verzugver...
Tabel penghitung indeks standar pencemaran udara (ispu)
26 02-08 preocupa a gobernadores deportaciones a prioridad de eu - milenio
Ingeniería genética
Ad

Similar to WordPress & Vagrant (20)

PDF
Docker Introduction
PDF
Virtualize and automate your development environment for fun and profit
PDF
WordPress + Docker - Reusable WordPress development environments
PDF
Word press, the automated way
PDF
Dockerize Our Development Machine
PDF
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
PDF
Docker Introduction
PDF
DevOps: Using Vagrant to Enhance Your Day to Day Development
PDF
Vagrant For DevOps
PDF
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
PPTX
Docker intro
PDF
Cassandra and Docker Lessons Learned
PDF
Making Developers Productive with Vagrant, VirtualBox, and Docker
PDF
321 codeincontainer brewbox
PPTX
Docker and containers - For Boston Docker Meetup Workshop in March 2015
PDF
Improve your Java Environment with Docker
PDF
Developing web apps
PDF
Modern tooling to assist with developing applications on FreeBSD
PDF
Docker fundamentals
PDF
Docker module 1
Docker Introduction
Virtualize and automate your development environment for fun and profit
WordPress + Docker - Reusable WordPress development environments
Word press, the automated way
Dockerize Our Development Machine
DevOps Camp 2017 NYC Local Development using Vagrant by Anthony Alvarez
Docker Introduction
DevOps: Using Vagrant to Enhance Your Day to Day Development
Vagrant For DevOps
PHPIDOL#80: Kubernetes 101 for PHP Developer. Yusuf Hadiwinata - VP Operation...
Docker intro
Cassandra and Docker Lessons Learned
Making Developers Productive with Vagrant, VirtualBox, and Docker
321 codeincontainer brewbox
Docker and containers - For Boston Docker Meetup Workshop in March 2015
Improve your Java Environment with Docker
Developing web apps
Modern tooling to assist with developing applications on FreeBSD
Docker fundamentals
Docker module 1

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation theory and applications.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
cuic standard and advanced reporting.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Machine learning based COVID-19 study performance prediction
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Unlocking AI with Model Context Protocol (MCP)
MYSQL Presentation for SQL database connectivity
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation theory and applications.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Weekly Chronicles - August'25 Week I
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The AUB Centre for AI in Media Proposal.docx
Review of recent advances in non-invasive hemoglobin estimation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
cuic standard and advanced reporting.pdf

WordPress & Vagrant