Algorithms to determine the least expensive resource configurations for executing data-intensive workloads in the Amazon clouds. The algorithms use cost and performance models, which are also in the code.