Keeping Costs Under Control When Processing Big Data in the Cloud