This project will show you how to build your own cloud server to save energy, gain more power and flexibility with your computer, and teach you a bit about how computer stuff works (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!
Cons:
-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.
Pros:
-Free access to all the files on your server (according to the UNIX doctrine everything is a file, so you'll have access to almost anything you can think of)
-Similar to Dropbox, Rackspace, or Google Drive except you own it and can modify it to your needs (such as giving it as much storage space as you want)!
-Works well as a web server (for lower 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!
Requirements:
-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)
Remove these ads by
Signing UpStep 1: Internet Background
If you're reading this on the Instructables site right now, then you've opened up a port on your computer and home router to transmit internet traffic, sent a connection to a remote domain name that's attached to a WAN IP address, and connected through a port on a remote computer to a web server application that's hosting the instructables.com web page files. If any part of this didn't make sense try looking at the picture above (yay, ASCII art!).
A domain name is the URL address aka the name of the website (instructables.com in this case). This is bound to a WAN IP address (74.50.63.27, WAN = Wide Area Network) which is what computers use to state their location on the internet to other computers (so others can connect to you and you can record who you're connected to). When you pass your connection through the internet to a web server, you'll be bouncing your connection through many intermediary computers that relay your signal forward (there's no way that one cable could connect you directly to Melbourne, Australia if you are positioned in Tajikistan, for instance). Then, your home router translates this WAN IP to a LAN IP (192.168.0.1 --> 192.168.0.3, LAN = Local Area Network) using a technique called Network Address Translation (NAT). Try typing $ traceroute instructables.com into your command line to see what hops you're using for your connection right now.
For any of the traffic to pass through the computers, a port must be open. The default port is 80 for HTTP (normal internet) and 443 for HTTPS (secure internet, used when making online purchases etc.) but there are thousands of different ports that allow various applications to communicate over the internet with other computers. Samba, for example, uses 445, SSH uses 22, and FTP uses 20&21.
To recap, your web browser (an application) passes a signal through an open port over LAN to the router. The router receives the signal on a port, uses NAT to alter the transmission, and pushes the connection through a port on the other side to send it over WAN. After bouncing back and forth across the world, your signal finally hits the Instructables server. The web server application on the Instructables server receives your signal through the port, transmits the web page info, and sends it all back.
It's really more complicated than this but this is probably enough to grok everything we'll do in this project :p
Here's some more info:
Quick Internet Video tutorial!
Google's 20 Things I learned













































![HLDS Counter Strike 1.6 [Linux]](http://www.instructables.com/files/deriv/F2D/Z30W/GFA43CBB/F2DZ30WGFA43CBB.SQUARE.jpg)


Visit Our Store »
Go Pro Today »




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.
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?