Resource Allocator in Python
Give the input in command line
Call get_costs
method with the following arguments
ResourceAllocator.get_costs(zdict,hours,cores,price)
- Instances - Zone information in dict format
- hours - Number of hours
- cpus - Minimum number of CPUs
- price - Maximum price user is able to pay