Making money with clouds: Revenue optimization through automated policy decisions