Compared to (RAM vs persistent storage)
I recently bought a trio of reconditioned Supermicro boxes with enough flash to do a Ceph cluster of 80TB with 2/3 redundancy ie "RAID 5" as well as run the rest of Proxmox. I had to dial back the RAM to a mere 128GB each node to get the cost under £15,000. I also slapped a double QSFP28 NIC in each (100GB/s) and a pair of 10GB copper NICs.
Storage, CPU, and network are relatively cheap compared to RAM.