Creating Production like environments
I have been using Vagrant at work to spin production like VMs for testing during our continuous integration cycle. This reduces a lot of overhead on our Infrastructure team and I do not have to ask them for a test environment every time we do a deploy in our CI cycle.
Here is a link for a set of pre-configured vagrant boxes. No more complaints from developers about bugs related to environments now.
Here is a snippet of Vagrantfile
Vagrant::Config.run do |config|
config.vm.box = ‘test-vm’
config.vm.box_url = ‘http://developer.nrel.gov/downloads/vagrant-boxes/CentOS-6.4-i386-v20130731.box’
config.vm.forward_port 80, 4567
end
Recent Comments