Readit News logoReadit News
Posted by u/erulabs 4 years ago
PiBox: a tiny personal server for self-hostingpibox.io/order...
Heya HN! We've built a Raspberry PI CM4 based SSD NAS for home hosting. We built it as a part of KubeSail.com - which is a platform aimed at making self-hosting easy and at making the technical bits (tunneling, backups, updates, etc) as easy as possible.

You may have seen plans for this about 9 months ago on HN, but we're finally in full production! I'll be booking tickets to fly out and help assemble the 2nd batch in a few days - we're effectively a two person computer company, which is a lot of fun and a crazy amount of work. Our mission is to make home-hosting a website, an app, or just personal photos a reasonable alternative to SaaS products.

dusted · 4 years ago
Why would I pay 539 eurodollars for a pi when I could buy a reasonable consumer-grade PC for that money? or just go with an actual enterprise server, although used?
chillfox · 4 years ago
You shouldn't. A Pi (even the 8G one) is seriously under powered and lacks a hardware clock. I recently went through the exercise of setting up a Pi for a Minecraft server only have to replace it with an office desktop within the week because it couldn't handle it when my friends were on. Turned out to be an expensive lesson, the Pi is a toy for solo tinkering and nothing more.

edit: I even tried overclocking the Pi and dialing down the simulation distance in Minecraft.

doubled112 · 4 years ago
This argument has been going since the Pi came out. I'd agree most people shouldn't. They should just get a NUC and save themselves the headaches. If you know what you're getting into, though, and build to it's lack of strength you can go pretty far. Current inflated prices are a hard no from me.

Minecraft servers are likely the heaviest of the ~15 services I run at home. You chose a service that I wouldn't have expected to work.

My Pi 4 4GB runs an MPD server that outputs to a HiFiBerry DAC, Zabbix and Grafana. It's done so smoothly for about a year now.

At one time it acceptably ran Nextcloud, Gitea, Matrix Synapse, Vaultwarden and a file server in systemd containers.

At another time, it replaced an old AMD e350 machine I was using for backups - the Pi 4 was faster than that old desktop. The bottleneck was the CPU load when transferring data over SSH.

OptionX · 4 years ago
So you got a Pi and dumped an CPU-intensive, famously single-threaded game server and called it a useless toy when it didn't work.

It like trying to tow a trailer with a dirt bike and complaining when it doesn't move.

The PI as a server shines in running low-to-medium power services and having a low entry and upkeep costs.

I run a Plex server, Gitea server, samba filesharing and qbitorrent on a 4gb rpi4 and it just sit there and chugs along using like a tenth of the power a normal computer would, taking almost no space, making no noise and costing like a fifteenth something like a NUC would.

And as a bonus, if it ever does go kaput I can just get another rpi4 and the entire process of setting it all up again would take me 5 minutes max.

codazoda · 4 years ago
To be fair, Minecraft is heavy.

Doesn’t mean I’d spend this money on a pi, but I’m probably not the target.

dublin · 4 years ago
I call B.S.: I've used those "toys for solo tinkering" in production control, monitoring, and data collection/communications applications in industrial, energy, and manufacturing settings. Sounds like you just don't know how to set up and build non-obese software.

N.B.: An 8GB rPi 4/CM4 has more memory, more storage, more compute power, and faster networking and i/o than a Cray supercomputer had in the early 90s! It's a real computer. If you can't do most of the useful jobs on the planet with that level of performance, then you just suck at software. (Yes, I know most Linux distros are Jabba-level obese these days, but still...)

Full disclosure: I have a PiBox on order, and will be prototyping a prepackaged server with it, which may well turn into a product itself.

planb · 4 years ago
Wow really? That seems to be a minecraft problem. I run openhab (which is a quite resource heavy java app), home assistant, influxdb, grafana and a bunch of data loggings scripts off a 4GB Pi and for a while even had the unifi controller running on it. All the scripts still run instantly and interactive use is possible without problems. I found the main reason for high load or lags is when the SD card breaks - which happens approximately every two years under such heavy use. Yes, I know you can boot from USB, but you should have a working and tested backup strategy nevertheless and I always keep a spare one around.
Abishek_Muthian · 4 years ago
ARM servers on the cloud doesn't seem to be as performant as their x86 counterparts with similar specs and same workloads (I've tried AWS, Oracle, Hetzner, Scaleway- when it had one), I think it largely comes down to the software optimizations.

Where as, I continue to use several ARM home servers consisting of Pi's and Jetson with smaller workloads and applications made for them.

ghgr · 4 years ago
With the current electricity prices in Germany you'd be paying around 30 €/month for a 100 W always-on server. And enterprise servers idle at around 200-250 W, so there's that.

Compare that to a RPi that idles at ~5 W.

feet · 4 years ago
The markup is massive though, aren't raspi something like 40 USD? Are you really getting another 500 worth of value from this?
gruez · 4 years ago
>With the current electricity prices in Germany you'd be paying around 30 €/month for a 100 W always-on server. And enterprise servers idle at around 200-250 W, so there's that.

Where are you getting these measurements from? A "consumer-grade PC" idles at a few watts[1]. "enterprise servers" might idle a bit higher but nowhere near 200-250W.

[1] https://www.notebookcheck.net/Lenovo-ThinkCentre-M90n-Nano-D...

gambiting · 4 years ago
You wouldn't, it's just a "cool" little project. The only advantage this has over a normal server that I can think of is size and power consumption.
loxias · 4 years ago
And even the thin mini PCs have fairly low power consumption these days. I got one with dual gig ethernet for $150, x86_64, works great. Similar ones for $100 you could easily hang a few large drives off of.

Install a base OS, then docker compose a few services. Or buy a half dozen and deploy k8s.

Boom, "A cheap tiny personal server self hosting" (with COTS parts).

pi-rat · 4 years ago
Another option is to buy a used "thin client". 1/10th the price, very similar power usage, small size. Some of them got room for a drive or even a quad intel nic (via pcie)
ianai · 4 years ago
Turn-key. Buy this and use it, if I understand what they're offering correctly. Hopefully with more privacy than is likely with current offerings. If you're capable of implementing this with cheaper hardware it's probably not for you, but maybe someone you know?
ycombinete · 4 years ago
What is a eurodollar? I thought the prices on the website were in Euros?
oakesm9 · 4 years ago
Not OP, but I think the joke is that 1€ ~= $1 now so they can be thought of as a single currency.
ThinkBeat · 4 years ago
I dont think the saynig it knows this but Eurodollar is a real concept

https://www.investopedia.com/terms/e/eurodollar.asp#:~:text=....

type0 · 4 years ago
a-saleh · 4 years ago
If you need low power? If you don't care about power consumption, being fanless, small, then yeah, you will find better bang for buck.
chazeon · 4 years ago
Recently Raspberry Pi got so expensive. I'd rather buy second-hand Thin Desktops off ebays. I ordered Lenovo ThinkCentre m720q in spring and they serve me well. $300 with x86. I can add however much RAM or hard drive I'd like (32G RAM + 2*1T SSD).
xedeon · 4 years ago
I too was thinking of building a Pi4 cluster but I just couldn't justify the inflated price. I just ended up buying several HP Elitedesk from eBay that had NVME storage, OOB management and plenty of ram.

There's a whole movement on these 1L pcs: https://www.servethehome.com/introducing-project-tinyminimic...

spockz · 4 years ago
I’m always at a loss at home. At work we treat everything as cattle. Nodes get provisioned at boot, we have gazillions of them, and they are all managed. (On a different physical lan, mind you.) redundancy of state is provided on the software level by the database (s).

At home getting a similarly redundant setup is time, space, and energy consuming. Moreover, most of the home tooling does not have distributed data built in so we need to have a distributed fs or nfs. This brings a whole next level of maintenance and heartache that I simply do not want at home.

Consequently, I run one machine and make backups of the config and hope I can restore it when things go south.

Does anyone have better ideas?

Jolter · 4 years ago
I couldn’t use one of those in my home, they’re simply too noisy.
erulabs · 4 years ago
Our platform started as a "Bring your own computer!" - and AMD64 was much more popular then than ARM64 (for our users). Unfortunately, just saying "bring your own computer" is a technical barrier for lots of people (even sysadmins who just don't feel like doing work at home) - which is why we built a sort of "all-in-one" box
em-bee · 4 years ago
i certainly appreciate that a suitable hardware model is available for sale, but i would want to be able to run the system on my own hardware too. booting from USB and running install is not to much work.

the problem for me would be to spend the time to find a suitable device to run this on. if i happen to have one, great, but if not i'd probably rather buy yours than so my own research.

personally, what i am looking for is a portable version of this, that runs on a battery so i can use it tethered through my phone, or even with its own sim card.

for home use i would prefer the ability to put at least two regular 2.5" disks because those SSDs are still expensive at large sizes

chazeon · 4 years ago
I see, kubesail right? Interesting. I’ll look into that.
numpad0 · 4 years ago
Is there some tips or example Bash script that you should to cut down power usage? I have an ITX board with mobile i5 that is perfect for this purpose, but the power draw seems a bit high for something that only have to be fast as a Pi, though reliability wise the thing do seem better.
jahewson · 4 years ago
This is because of the chip shortage. It’s really a shame.
jayknight · 4 years ago
https://rpilocator.com/ will show you where rpis are for sale, I was able to get one from adafruit a few days ago by following their Twitter account because when they come available they go fast
tallanvor · 4 years ago
It's been impossible to reliably identify a person's location based on their IP address for years, so why do companies insist on trying?

Tell me where you ship to and what the costs are. If you're going to make me jump through hoops to figure this out, well, your product is probably not good enough that I'll bother to do so!

hansel_der · 4 years ago
> It's been impossible to reliably identify a person's location based on their IP address for years, so why do companies insist on trying?

from a technical viewpoint, yes, it's totally nuts.

from a business viewpoint, it solves a hole lot of problems very cheap. i.e. good enough

egorfine · 4 years ago
Agreed.

I have opened and I am met with "We can't ship to %MY_COUNTRY% yet, but we are expanding quickly".

I also wonder why some sites claim they can't ship into here. Virtually all of the post services of the world do ship into this country for years and years yet some sites specifically exclude it.

pastudan · 4 years ago
We did this because we want to guarantee an excellent experience. While the Kickstarter was open to every country, kickstarter backers know to expect long lead times and needing to pay their own import duties. We have agreements with a distributor for all countries in the EU, and are very close to having ones in Canada and the UK.

Postal rates vary by country, and we've experienced more lost packages in some countries than others. Along with 30-45 day shipping times for most international packages.

Having a distributor lets us guarantee inexpensive 2 or 3 day shipping, paperwork free VAT, and easy returns for a much smoother experience overall.

Hope this makes sense!

Boltgolt · 4 years ago
The costs of shipping? Import taxes or tariffs? High rates of DOA or returns?
tallanvor · 4 years ago
I can understand not shipping everywhere, at least initially. Most power supplies work everywhere these days, but you have to ship the proper power cable. You also have to worry about customers getting sticker shock if you're not able to explain the customs fees (let alone shipping costs).
nine_k · 4 years ago
There's no need to correctly identify any specific person's location. It suffices to determine location of your hundreds of thousands of users with, say, 80% accuracy, to reap the business benefits.
calsy · 4 years ago
Identifying the country a person lives in would be reasonably accurate. ISPs are generally country specific and have a known range of public IPs.

It's been well known since the creation of www that users attention spans are non-existent and they will leave a page if they don't see the information that interests them within seconds.

kornhole · 4 years ago
Great job! HW preconfigured for less technical users is a great need. The auto backup and tunneling solution fill the gaps still existing in other solutions. I don't know how you managed to wrangle the RPI supply. I will recommend this to one of my friends.
daenz · 4 years ago
I built a Pi server not too long ago, and had it host my personal knowledge wiki for things that I needed to remember. I was very proud of it.

Eventually though, I realized that having a screen and a keyboard is critical for how I was using it. I may not always have a machine on the network that can SSH into the Pi server. So I eventually settled on using an old laptop instead. Much more performant, and if the network goes down, I can still access the information easily.

vineyardmike · 4 years ago
Congrats to KubeSail team!

I tried the software product a while ago and it wasn’t quite what I was looking for, but it was pretty cool. I could totally see myself recommending it to people (admittedly it’s somewhat niche so the opportunity hasn’t come up). The hardware is a little pricy for someone who is pretty competent with electronics, but seems great for people who want someone all in one. That said, it looks so well done that if CM4s become easier to get I might still purchase one.

Their goal of “personal server” is something I eagerly wish was mainstream, and I always try out products that try to actualize it if the price is right. I had a small issue getting it set up on a random pi I had lying around, and erulabs/others were super helpful in discord! They have extensive docs for getting set up with your own hardware, which was great. The reason i stopped using the product was two fold: k8 seems like too much for personal use- writing my own KubeSail templates was just too verbose. The other issue is that I wasn’t a fan of their cloud hosting and cloud gateway solution - it works well enough but a personal server that needs a cloud server just wasn’t what I wanted. If I needed to rely on an outside server (you do unless you wanna open ports) I’d rather vpn to the box with eg. Tailscale than rely on the gateway. Which may be more secure too(?).

Getting a web gui for a self hosted cluster was really nice, and the templates they put together really lowers the entry bar to start self hosting. I’m really impressed with the selections they chose, since a huge chunk of them I saw and went “ooh I should try that out”. Kudos to the team for putting it together. A feature suggestion: some sort of identity/auth integration which can help with household stuff (eg a hosted app that KubeSail injects your identity into). Could be useful for families and SMB clients.

Ps. I had a good time reading through their non-documentation blog posts too.

rubatuga · 4 years ago
For those who want to host their own servers and aren’t afraid to manage their own networking, we provide a tunnel service called Hoppy Network. It allows you to self host anything from mail servers to web servers, by assigning you a static IP address over a WireGuard tunnel. We forward all packets, including IPv6 and ICMP. We have great uptime (>99.9%) and great IP address reputation.

https://hoppy.network

loxias · 4 years ago
Cool service! I've been wondering about something like this.

The pricing seems a bit high though, considering $8/month could also buy a cheap VPS with more than 1TB bandwidth (Contabo VPS, for example, offers a whopping 32TB outgoing traffic at $7/month.)

Perhaps I'm not the use case or target market, but something like this does appeal to me -- I just don't see why I'd pay for a wireguard endpoint, when I could get a VPS with a public IP and run the tunnel myself.

Sorry if too critical, I was metaphorically "reaching for my credit card" when I read "static IP over wireguard tunnel", before attempting to sanity check the prices.

pbronez · 4 years ago
How does this solution compare to Dynamic DNS services like DuckDNS? How about overlay networks like Tailscale?

My initial impression is that it solves a similar problem to DuckDNS (“how can I get a static, public IP for a machine on my residential LAN?”) using technology similar to Tailscale (WireGuard tunnels as a service).

Perhaps egress/public routing is the big advantage over Tailscale? Tailscale focuses on creating a trusted perimeter so all your devices can talk to each other securely. It doesn’t have an external gateway for other people to access specific devices within that perimeter. I think their business model / architecture may actually preclude this feature… they use their hosted service primarily for peer discovery, most traffic is routed P2P.

MasterYoda · 4 years ago
Half OT, but... I want to have a backup on another site, at an family member. Like the 3-2-1 rule, 3 copies, on 2 different medium and 1 off site.

For the off site backup, I want a cheap solution and was thinking of an rasberryPi with an connected usb-hdd and then the rPi connected to a family members wifi-router that I could connect to over the internet and do my backups to.

My question are: 1 - What solutions are there to make encrypted backups to a rasberryPi from windows? I don't want to encrypt all files with encrypted 7z files and transfer them (it is an mess), but just to have a solution so I can choose the unencrypted files and folders and then the software encrypts them on the fly and transfer them over to the rPi.

2 - The optimal solution would be to have the rPi usb-hdd mapped as an network drive or similar in explorer. But would that be possible with the first requirement that all files must be encrypted on the fly? 1 is more important than 2.

3 - I have read that a rPi not can handle a connected usb-hdd because it will take to much power than the rPi can deliver. Does there exist an dongle or something that you could connect one or two usb-hhd to the rPi and the dongle is connected to the powergrid and gives the usb-hdd the power they need and then the dongle is connected to the rPi but only transfer data? Or is there any other solutions?

Sorry for maybe stupid questions. But I have no clues here, what to search/look for or even if it is possible. Thanks in advance for any feedback.

prettyStandard · 4 years ago
Like the sibling comment: I also have a raspberry pi and 3.5" USB external drive with it's own power supply.

I tried a 5TB 2.5" SMR HDD powering it off the raspberry pi for a while and it worked for maybe a year and a half. Then all of a sudden starting the Sync Process for Resilio sync would cause the drive to drop out. So I upgraded to the 8TB 3.5.

Resilio sync may meet or requirements but not exactly. Resilio syncs the folders between two computers, but you don't have to sync everything. Things that don't get synced get placeholders. So it's the best of both worlds. Fast for what you use because it's local, takes zero space for what you don't. Similar to Google Drives new streaming feature, but manual and not transparent. Also for the encryption you will want the "untrusted folder setup".

Syncthing has a similar product, haven't played around with it though.

Like the other sibling comment Tailscale is great so you don't have to fiddle with your friends router. But be careful tailscale will need to occasionally be reauthenticated.

I do not recommend SMR drives for anything other than archiving. Cheap but very slow. I think it took a week to back up my 500GB MacBook.

chriswep · 4 years ago
i'm basically running that setup: rpi, external usb, encrypted backup.

- i'd recommend attaching an external 3,5 disk that comes with its own power supply, that way you don't have to worry about power, it's cheaper and you have more storage.

- For backup i am using borgbackup. it does encryption and deduplication. you can also backup several machines to the same repository if you want to. i'm using it for several use cases, it's rock solid, never had a problem.

- you can safely use borgbackup over ssh if you want to do remote backup. just forward the ssh port on your friends router and use dyndns if they don't have a static ip.

ephbit · 4 years ago
3 .. power HDD

You can use a powered USB hub.

Also. Remember the old 2,5” external USB HDD y-style cables that had an extra USB 2 plug (connected with a thinner cable with just 2 wires for the power and not data) that you could plug into a second USB sockets so the disk draws power from 2 ports? Maybe such thing still exists for current USB disks.

You can then plug the second plug into a standard USB charger for smartphones or similar.

dublin · 4 years ago
Well, if you do buy the PiBox, it supports two 2.5" SSDs, which should do you unless you need a LOT of backup. I've found Duplicati works quite well across mixed Windows/Linux backup scenarios, and it can also push your backups to cheap S3 compatible storage either locally or out on the Net.
PufPufPuf · 4 years ago
I recommend using Tailscale to connect to the box securely. Your usage should fall comfortably within free tier limits. (It has 20 devices iirc.)
aborsy · 4 years ago
A problem with small form factor NAS boxes is that, you have to use SSDs or 2.5” HDDs that have limited storage capacity (~ 2 TB). The SSDs limit bulk storage and increase the price.

From pricing perspective, a two bay synology NAS is $300. You can add a lot of good cheap NAS storage.

vladvasiliu · 4 years ago
> 2.5” HDDs that have limited storage capacity (~ 2 TB)

Bonus points for those usually being SMR, which is atrocious if you want to run ZFS and need to resilver the pool.

https://arstechnica.com/gadgets/2020/06/western-digitals-smr...

aborsy · 4 years ago
Exactly. I searched a lot for a small form factor ZFS backup server. The vast majority of mini PCs don’t expose a PCIe or eSATA expansion slot. You can connect HDDs with USB, but USB connection is not preferred with ZFS.

The mini PCs can contain dual SSD, but, as noted, the storage is limited and the price is high.

The closest options I found are: RockPro64, Odroid HC4, AsRock Deskmini X300, ZimaBoard, RPI CM4, each having own problems. One may build one from an mITX motherboard, but frankly that may also cost about a TrueNAS mini (which is quite large). Synology boxes are nice, but I want ZFS!

If someone knows a small low power system for a ZFS backup server (like a passively cooled SBC or PC with sata port that can be used to connect HDDs placed outside box due to size limitation, or at least something that is portable), including a DIY build, I would love to take a look.