I agree but now the cost climbs. I am not saying AWS is cheap. Just that you need to look at all the services and components that support a server in a rack.
There is no calculus that makes aws cheaper unless you need extreme variability or some of their managed services and even then, you can usually use those services in conjunction with your rented bare metals.