Top
Best
New

Posted by xngbuilds 21 hours ago

Serving a website on a Raspberry Pi Zero running in RAM(btxx.org)
227 points | 89 commentspage 2
_stiofan 19 hours ago|
The pi zero's are great. I have a bunch of them. I used to use them as a tiny server for live webcams streaming to YouTube for customers, but YouTube now have a minimum sub count before you can go live, which sucks. These boards are pretty powerful.
bsoles 18 hours ago|
I have never been able to stream video from a raspberry pi zero's official camera. What tools/software were you using?
_stiofan 5 hours ago|||
Oh, it’s been a few years, if I remember right it was an iso, I burnt to the SD and simply changed the details in a config.txt, I would have to dig out my old laptop to get the details.
Multiplayer 17 hours ago|||
I'm using an 8MP camera from freenove on a pi zero 2 - it's great.
basilikum 17 hours ago||
The Pi Zero has 512MB RAM and a one GIGA Hertz CPU. It's a fucking super computer. Maybe not today, but not that long ago and back then people were running much more intensive things on them than hosting a website. It should be perfectly capable of handling TLS. AES might be a bit haeavy without hardware acceleration, but you can also do only ChaCha20 as the single supported server cipher. It would be easy to DDOS, but you should be able to mostly address that with firewall rules rate limiting connection attempts upstream.

I don't mean to shit on this, exploration is nice and putting perfectly fitting hardware to use instead of throwing abundant unnecessary hardware on every simple problem — just to bring it to crawl with loads of shitty bloates software — is good, but it's not particularly impressive.

backtogeek 16 hours ago||
Brilliant write up, just 1 correction, the TierHive VPS should only be $1.20 per year not $4 :)
doginasuit 18 hours ago||
For optimal moral support, have one of the spare Pis holding a sign, maybe "Pi is our guy"
ritcgab 9 hours ago||
People run websites on a VPS with 32MB RAM decades ago and it was fine. What is new about this?
coolThingsFirst 2 hours ago||
In which country does OP live where their ISP permits them to host a website?
Venn1 19 hours ago||
They are powerful little devices. I used a Pi Zero 2 with an ethernet adapter to host an x86 TrackMania² server using BOX64 and it never had a problem. Only swapped it out recently because I needed the Zero 2 for another project.
corvad 12 hours ago||
I mean yeah, but the Pi Zero can also do TLS and much more complex tasks so I really don't understand why this is such a big "feat." It's a linux pc just running a webserver. Am I missing something here?
slow_typist 17 hours ago||
Instead of having an open port in my router and sending data in plain text, I would use an ssh tunnel or a vpn. Or probably put the entire web site on the VPS.
orliesaurus 19 hours ago|
So what benchmarks did you run or what's the advantage? Might as well just run the site on the VPS at this point since you're paying for it?
More comments...