It needn't be all that expensive (just the RAM....) My Asrock AB350M Pro4 and Ryzen 7 1700 were less than 200 Euro's together.
Fortunately RAM prices are dropping. The amount of money I spent for RAM in my A12-9800E system now gets twice the RAM (32GB now vs 16GB then)