Exploiting cloud utility models for profit and ruin