Take a look to the EC2 Amazon resources. There are many tutorials to learn how to use it
They rent you many different instances, that is, type of computers that fit your needs with different cores and memory and power.
You don't have to be worried about maintaining your computers, to purchase expensive equipment that will become outdated in short time, and with pre-payment, is pretty cheap. You pay for what you use