be.ac.ua.broker.input.pricing
Class EC2Specifications
java.lang.Object
be.ac.ua.broker.input.pricing.EC2Specifications
public class EC2Specifications
- extends java.lang.Object
This class provides the EC2 instance types, geographical regions and
operating systems that are supported by our broker.
- Author:
- Vermeersch Kurt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EC2Specifications
public EC2Specifications()
init
public static void init()
- Initialize all the instance types, geographical regions and operating
systems mappings.
initInstances
public static void initInstances()
- Initialize the list of possible instance specifications. For the
cluster-compute and cluster-gpu instance types only the us-east linux
instances are added to this list.
getInstanceSpecifications
public static java.util.List<InstanceSpecification> getInstanceSpecifications()
- Returns:
- the list of possible instance specifications (note that not all
possibilities for the cluster-compute and cluster-gpu instance
types are included)
getOSMapping
public static java.util.Map<java.lang.String,java.lang.String> getOSMapping()
- Returns:
- the operating system mapping
getRegionMapping
public static java.util.Map<java.lang.String,java.lang.String> getRegionMapping()
- Returns:
- the geographical region mapping
getInstanceTypeMapping
public static java.util.Map<java.lang.String,java.lang.String> getInstanceTypeMapping()
- Returns:
- the instance type mapping