Reducing Cloud Costs with Scaling Groups and Spot Instances