Developing and deploying drupal virtually from local dev to the cloud
1. www.bstonetech.com
Presented by Dan Katz and Nneka Hector
CapitalCampDC 2012
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012
2. Overview
2
What You’ll Learn
How to leverage cross-platform tools for managing
and deploying virtual machines from local
development to the AWS Cloud
Who Are We?
Dan Katz, Architect (@mtndan),
dkatz@bstonetech.com
Nneka Hector, Developer (@nneka),
nhector@bstonetech.com
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012
3. Common Pain Points
3
We’re stuck using
Windows laptops
Our development, test,
staging and production
environments don’t match
We don’t have time to
train up the new guy/gal
We want to use our
favorite IDE’s / Editors
We need a simple way to
deploy our application to
the cloud
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012
4. Enter…..Vagrant (pretty cool)
4
Vagrant helps manage
virtual machines
Vagrant is FOSS
Vagrant keeps everyone
working in the same
environment, no matter
what kind of
development machine
they use
It’s easy peasy – here’s a
simple demo!
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012
5. Basic Vagrant Demo
5
Standing up a VM
Guest/Host concept
Boxes
VagrantFile
PortForwarding
Vagrant SSH
Shared Folder
But we need more!
LAMP stack
Thingslike Drush
The Drupal app we are working on
Blackstone Technology Group Proprietary and Confidential 7/30/2012
6. +Github +Chef +AWS
(waaaaaaay cool!)
6
Chef = automated
server configuration
Github = simple source
code management
AWS = shared cloud
infrastructure
Combined, a way to
deploy environment
PLUS application from
local dev to the cloud
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012
7. Chef+Github+Vagrant+AWS Demo
7
Standing up Drupal Demo project VM
Storing application and environment config in
source control
Automating VM config with Chef Solo cookbooks
Deploying a VM to AWS
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012
8. Future Directions
8
CI – let a build tool like Jenkins kick off postinstall
Incorporate automated testing – security,
functional, performance
Features-based workflow
Public release of our scripts
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012
9. Questions?
9
TWITTER HASHTAG #VAGRANTCLOUD
Blackstone Technology Group Proprietary and Confidential 7/30/2012