No matter what drive solution you pick, make sure you have adequate backups. You can get a NAS unit with multiple drives, but even with that you should have an external drive backup that is not connected to your computer or network, in case of a virus or ransomware attack. Another copy should be kept off-site or in the cloud.
I used JRiver to rip all my CDs to FLAC files. They are stored on my desktop PC, but also backed up to a single-drive Buffalo NAS drive. All my streamers (Bluesound) are pointed to the NAS drive. I also have a copy on an external HD (disconnected from anything) and a copy in a cloud backup service.