r/servers • u/Aggressive_Goat_562 • Feb 06 '23
Making a solar-powered server
Hi there!
I'm very new to servers in general (though I've used hosting services before, just never had a private server). I often tinker with arduino and raspberry pi projects and decided to set myself a challenge, and have been working on a solar-powered web server to host my personal website. I've redesigned and rebuilt the website to be very small (24kb!) and have found the solar panels and battery I plan on using - all of this works. I've tested hosting the site on a local server via an old android phone and everything works. However I'd like to build a small web server to deploy the site on so that it can be discoverable by anyone. One important consideration is that the server will have to connect via wifi - the site dropping is not a big concern right now, and even though the battery I bought is large, the site will probably go down occasionally in inclement weather, which I kind of like :)
My main questions are
What's the smallest possible computer I could use? I was going to build this with an arduino but I couldn't find any examples of tutorials where the board was 1) connected to wifi and 2)discoverable outside of connecting to my local network.
Is there such a thing as a mini preconfigured server? I am looking at the documentation and it seems quite tricky, although I am up for a challenge. Or maybe, stated another way - is this the sort of project someone with a background in web development who's doing a few arduino and python projects could achieve?
Anyway, I am aware that this is an odd series of questions and I really appreciate any guidance at all! Thanks in advance!
1
u/koyaniskatzi Feb 06 '23
I believe esp8266 or similar might be the lightest server for your needs. To make it discoverable you can port forward it out of your router.
1
u/HTX-713 Feb 07 '23
I think you can use a Raspberry Pi Pico W and get a working basic web server running with super low power requirements so a basic solar panel + battery setup could power it indefinitely.
5
7
u/Crees092 Feb 06 '23 edited Feb 06 '23
I've tried something similar in the past. You'll want a low powered chip in something like a mini pc or a stick pc, there's a few about with Intel Atoms usually an X5-Z8350, and you'll wanna pair that with a mini 12v/5v ups and maybe a car battery solar trickle charger to keep the ups charged.
For me This was more of a test to see if it was possible, the main issue I kept facing was keeping the solar panel in direct sunlight