How to use a RaspberryPi as a home server instead of A hosted VPS like Amazon EC2. A mini guide.
- Install the Pi, enable ssh, lock down ssh to key-only login. Install web server.
- In your home router configure the Pi to have a static local ip and enable port forwarding.
- In your ISP make sure you dont have CG-NAT or any port blocking. Now you should be able to access the server over your public ip.
- In your router configure dynamic dns. Because my ISP doesnt give me a static ip. Asus provides ddns for free.
And that it. Happy hacking.
I have a few small personal projects Im moving off AWS. For the same size server the Pi will have paid for itself in about 6 months.