Regarding the hardware, I would not recommend to use a raspberry pi, not only are they hard to get and expensive but as another comment states the RPi rely on SD cards which are prone to corruption. I think it's better to rely on second hand enterprise hardware if you're looking for something cheap.