BitTorrent Sync (BT Sync) is a tool that can be used to synchronize files between devices using peer-to-peer (P2P), technology. Using this method means that no server is storing the files between your devices. Think of it as a theoretically more secure Dropbox. I say theoretically because BT Sync is not open source, so we don't really know what it is doing beneath the covers.
I've been trying out BT Sync for a little while now and I think it is pretty good. The recent update to version 2.0 was much needed. I have it setup on my phone and my home computer. The one thing I miss is the ability to shutdown my home computer but still be able to sync files. Since BT Sync has a linux version I decided to give installing it on Amazon Web Services (AWS) a try. It turned out to be fairly easy. Below are some rough steps to get it setup. I'm not going to include anything to walk you through the setup of an EC2 instance, but I used the Ubuntu Server quick start option and set the instance type to t2.micro. All you are doing is running Bt Sync, you don't need much power. A Raspberry Pi B+ can run it without issue, trust me I did it. I will assume you used the Ubuntu quick start and have logged in to your instance via SSH. Be sure to keep the EC2 Management Console up as well, we will need to open a few ports.
tar -xvvzf BitTorrent-Sync_x64.tar.gzand press enter.
./btsync. This starts BT Sync in the background
http://ec2-00-00-00-00.us-west.compute.amazonaws.com:8888. You should see the BT Sync interface and it should help you get everything setup.
sudo mv btsync /usr/local/bin/btsync
sudo chown root:root /usr/local/bin/btsync
sudo chmod 755 /usr/local/bin/btsync
wget [PASTE URL HERE]to download the file.
sudo mv btsync /etc/init.d/btsync
sudo chown root:root /etc/init.d/btsync
sudo chmod +x /etc/init.d/btsync
btsync --dump-sample-config > /home/ubuntu/.sync/config.json
"device_name": "My Sync Device",
"listening_port" : 0, // 0 - randomize port
/* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in the directory where binary is located. otherwise user-defined directory will be used */
// "storage_path" : "/home/user/.sync",
//before the storage_path line and change
/home/ubuntu/.sync. Save the file and the config is done.
sudo update-rc.d btsync defaultsto make sure everything runs on startup.
sudo /etc/init.d/btsync startto start the daemon. It should say Starting BTSync for ubuntu. Go to the URL you used in step 7 to make sure it is running
That's all there is to it.