According to AWS you could only afford 10 instances each with 976GB of RAM for that salary (500k). If you were to do nothing but just buy the raw RAM it would cost you 50k. But you also need servers [0] to actually put the ram into. So it's probably closer to 70k. RAM isn't as cheap as you think.
[0] and a network and network admins and server admins and and and
I mean just think about how many VMs you can buy for $200k-$500k/yr (total cost to the company of a senior engineer).