Picture of Personal ARM Cloud Server
Facebook servers.jpg
Ever wonder how cloud services like iCloud, Amazon EC2, Rackspace, or Dropbox actually work?  Each of these major corporate programs rely upon thousands of computer servers to host their services.  Although companies try to hide it, each one relies upon thousands of servers that are always on, constantly drawing excessive amounts of energy and requiring numerous hardware replacements just to carry out their daily functions.

This project will show you how to build your own cloud server to gain more power and flexibility with your computer and teach you a bit about how computer networking (if you don't already know).  I used a CuBox  (~3 watts of power) with a  LaCie HDD (~24 watts of power) for my own setup, but you can use whatever you'd like.  All together, my cloud server uses less than half the power of an average light bulb!  No more Google Drive, Dropbox, or anything else.

-You'll need to buy some new hardware (an ARM computer and probably an HDD)
-Although this is energy efficient it does use a tiny bit of energy that wouldn't otherwise be used
-Read the service agreement from your ISP before doing this!  Passing lots of large files over WAN will slow down their network and could lead to the ISP throttling your bandwidth or worse (they don't like large upload usage), so read your service agreement and use your head before setting this up!  You should have no problem with a business account or fiber internet. I am not responsible for any problems that you create.

-Free access to all the files on your server
-Similar to Dropbox, Rackspace, or Google Drive except you own it and can modify it to your needs (for example: giving it as much storage space as you want)!
-Works well as a web server (for low traffic sites) and the website can be configured and monitored remotely
-An encrypted proxy server for insecure, pubic networks
-VPN for access to your home network (or wherever your server is)
-grid computing, virtual server hosting, more?
-Having fun learning about some of the basics of servers and the internet!

-ARM computer (not actually *required* but it's what makes this project so low energy and awesome)
-at least one HDD or SDD for storage
-some patience and sticktoitiveness (I'll try my best to keep things minimally geeky but be prepared to google around, soak up some wiki articles, and jump into the unknown)

Just bought a pogoplug v2 for under twenty dollars. Scoping out a linux install for it.
greenyouse (author)  Computothought2 years ago
Awesome, that's really cheap! I know that Arch has a pretty good support for the pogoplug v2. Good luck with getting everything set up!
Definitely a lot of piecemeal information in the instructable. Would not use samba though, it is too much of a challenge to manage. SSHFS (availble for MSWinfows) is what we use for network file access. Most routers do not filter above port 1000. So you really do not need to use port 22 only for ssh and etc. You get around opening ports for that. Most hackers look at those ports first anyway. You can also set up your web server to use those higher port numbers, end user just has to know the port number and add it to the url after a colon. i.e. www.somesite.com:8080 where 8080 is the port the webserver uses instead of port 80. As for ssh tunnels. there is a bit more to it. More to securing ssh than just using it.

Would not recommend Arch for a novice user unless they know the drill. I like mint for new users, but they do not have an arm version yet. At this point ubuntu, debian, and arch are probably the most stable for arm. (correct me if I am wrong.) We use Debian on the arm based Nslu2. pretty much just like using it on an intel box. (http://www.instructables.com/id/Give-your-Cisco-Linksys-NSLU2-some-muscle-part-1/) If I get a pogoplug for my birthday, I will do a version for it.  Also run Debian on the insignia infocast (aka chumby) which is arm based.

Yet to get an opportunity to own an rpi. Looking at other plat forms.  For what it is worth you can run a slimmed down atom or x86 as a not half bad setup either. Working on a solar powered intel p1. Hope I can get it running by this weekend. Seeing if it will run the latest DSL linux on compact flash.
greenyouse (author)  Computothought3 years ago
Good idea using SSHFS! I, honestly, was getting really frustrated with Samba+SSH so I kinda tried everything until it worked. This allows multiple computers to mount the server but it is way more of a pain to use/set up. I also missed the hardening ssh section, you're right. Sorry if the instructions for this project were kinda all over the place :p

Do public networks usually block connections over port 1000? I'm going to try installing some software on a new phone with wifi in a couple days to use it as a client. I was thinking to mostly use 80 or 443 since they kind of have to be open.

Your Nslu2 project looks really neat btw. Using the chumby insignia infocast with a solar powered server sounds like an awesome idea too! Does the chumby/solar powered computer combo work well?
solar powered Chumby is no different than using it otherwise. Yes you probably still may have to port forward, but it will not be as small of a target to examine. As for ports, every isp is differen in what they might allow. I do not like my isp as it blocks the traditional mail port. Can not lave a mail server without doing some real shenanigans.