Vagrant virtual machine configuration for development environment.
This vagrant configuration can be used to provision a virtual machine locally (using Virtualbox) or remotely on AWS.
Provisioning a development environment.
- Make sure that vagrant is installed.
- Make sure that Virtualbox is installed.
- Run
vagrant up
to start the machine.
- Make sure that the vagrant-aws plugin is installed.
- Super secret AWS config is stored in
Vagrantfile-private-aws
. Update that file with your AWS config. - Use the aws provisioning script to provision the machine:
aws/provision
A sample Vagrant-private-aws
is checked into the repository. If you change Vagrant-private-aws
and run git status
, it'll show up as modified and unstaged. To suppress that (and stop yourself from accidentally checking in your supersecret AWS config into a public repository), you should run the following command to make git assume that the file is always unmodified:
git update-index --assume-unchanged Vagrantfile-private-aws
- log into your VM using
vagrant ssh
- fix bugs, write code, open pull request