Class CloudInstance


  • public class CloudInstance
    extends Object
    This class describes the configurations of a single VM instance. The idea is to use this class to represent instances of different cloud hypervisors - currently supporting only EC2 instances by AWS.
    • Constructor Detail

      • CloudInstance

        public CloudInstance​(String instanceName,
                             long memory,
                             int vCPUCores,
                             double gFlops,
                             double memorySpeed,
                             double diskSpeed,
                             double networkSpeed,
                             double pricePerHour)
    • Method Detail

      • getInstanceName

        public String getInstanceName()
      • getMemory

        public long getMemory()
        Returns:
        memory of the instance in B
      • getVCPUs

        public int getVCPUs()
        Returns:
        number of virtual CPU cores of the instance
      • getPrice

        public double getPrice()
        Returns:
        price per hour of the instance
      • getFLOPS

        public long getFLOPS()
        Returns:
        number of FLOPS of the instance
      • getMemorySpeed

        public double getMemorySpeed()
        Returns:
        memory speed/bandwidth of the instance in MB/s
      • getDiskSpeed

        public double getDiskSpeed()
        Returns:
        isk speed/bandwidth of the instance in MB/s
      • getNetworkSpeed

        public double getNetworkSpeed()
        Returns:
        network speed/bandwidth of the instance in MB/s