Thomas James Just a geek.

Technology, Gadgetry, Photography and Software Development

Vagrant AWS & rsync on windows


I’ve been using vagrant & vagrant-aws quite a bit lately, it’s great to be able to fire up a VM to test something out then fire it up on an EC2 instance to try it out in the cloud. Easy as hell when running on linux/osx but less than obvious when doing it on Windows. Everything vagrant-aws works out of the box, except rsync.

There are two issues: * Not all the AMIs have rsync installed by default * Windows doesn’t have rsync

The first issue can be overcome by adding a small user_data script that installs rsync on startup while the answer to the second is less obvious. There are a couple of rsync options available for windows.

I found the cwRsync Free Edition to work quite well.

Grab the installer (not the server installer), install and then add it to your path. After that as long as you’re using an AMI with rsync available you should be good to go.

comments powered by Disqus
  • profile for Thomas James on Stack Exchange, a network of free, community-driven Q&A sites

4g android appharbor apple atrix aws barcamp beer blog brew-smith coding conferencing deployfu docpad ec2 fusion-garage grid10 homebrew hp-mini information insertdatahere ipad joojoo kernel knowroaming linux macbook-air moncai mono n900 ndc netduino netmf open-source opinion pcengines-apu poor-experience professional public-speaking rant ravendb reflection router singapore talks travel ubuntu unconference vagrant vps wifi windows yubikey