What are the hardware requirements for a tezos node? I have a 2 core cpu with 16 gigs of ram for my baker. I'm trying to decide on what type of single-board computer to buy to run my node.
8GB RAM is recommended1 for a node. Kiln recommends 10GB of RAM for example. The mainnet node in my Ubuntu 18.04 Baker/Node doesn't use up a lot of resources from the CPU. However, using an SSD is highly recommended. I at least have been getting a lot of "timed out" errors on the second node I run on an HDD. The mainnet node running on an SSD runs smooth.
I forgot to mention that running on RAID0 with 3 HDDs or RAID10 with 4 HDDs should also work fine. Nowadays the memory usage is really low, so 8GB should suffice.
We run our node on Digital Ocean. Our nodes are 2vCPU/2GB RAM/60GB SSD with 4GB swap. We have been running this configuration for 6+ months with no issues. We used to run with 1vCPU, but had lots of iowait. A second vCPU solved that. SSD is almost a must-have. Anything over >4GB RAM or >2 CPUs/Cores is just overkill at this time. Maybe in 1-2+ years when there are more smart contracts running you'll need the additional CPU capacity.