code: public static InstanceType constructFromDescription(String description) {
  
  		final Matcher m = INSTANCE_TYPE_PATTERN.matcher(description);
  		if (!m.matches()) {
  			LOG.error("Cannot extract instance type from string " + description);
  			return null;
  		}
  
  		final String identifier = m.group(1);
  		final int numComputeUnits = Integer.parseInt(m.group(2));
  		final int numCores = Integer.parseInt(m.group(3));
  		final int memorySize = Integer.parseInt(m.group(4));
  		final int diskCapacity = Integer.parseInt(m.group(5));
  		final int pricePerHour = Integer.parseInt(m.group(6));
  
  		return new InstanceType(identifier, numComputeUnits, numCores, memorySize, diskCapacity, pricePerHour);
  	}
docs: Constructs an {@link InstanceType} object by parsing a hardware description string.
  
  @param description
  the hardware description reflected by this instance type
  @return an instance type reflecting the given hardware description or <code>null</code> if the description cannot
  be parsed