HOWTO Use Amazon Cloud Drive for host storage (Ubuntu)
-
A free year of Amazon's Unlimited Everything cloud drive (regular price $59.99/yr) is included when you buy a device/table at Amazon. Seemed like a good idea to put that unlimited storage to some good use :-)
The instructions below use
acd_cli(GitHub) to configure a FUSE mount point on your local file system, to which the/hostfolder is then symlinked.I have not yet fully tested this. Initial tests suggests it may be a bit slow. I'll let this run for a while and share my experiences.
Set up acd_cli
See: https://github.com/yadayada/acd_cli/blob/master/docs/setup.rstsudo apt-get install python3-pip
sudo pip3 install --upgrade git+https://github.com/yadayada/acd_cli.gitAuthorize acd_cli to access your Amazon account.
See: https://github.com/yadayada/acd_cli/blob/master/docs/authorization.rstacd_cli -v initand follow in-terminal instructions.
Synchronize local database
acd_cli syncMount Amazon drive in a local directory
mkdir ~/Amazon
acd_cli mount ~/AmazonReplace /host directory with a symlink to Amazon drive
cd ~/Sia(location where yoursiacis located)
mv host/ host.ori
mkdir ~/Amazon/siahost
ln -s ~/Amazon/siahost host
cp host.ori/settings.json ./host/That's it :-)
-
Does this effect the network negatively or is this just as fine as a regular dedicated host (if not better due to more reliable uptime?)
If you don't have unlimited bandwidth with amazon you should be careful, the reason I want to switch my hosting to here from there is the $80/month for about 35gb bandwidth...
-
It won't improve the uptime since Sia is still running on your own computer. You would only use the Amazon cloud drive for storage of hosted files.