private static List launchInstances()

in infrastructure/src/main/java/org/apache/geode/infrastructure/aws/LaunchCluster.java [123:136]


  private static List<String> launchInstances(final String benchmarkTag, final int count,
      final List<Tag> tags, final int ec2Timeout)
      throws InterruptedException {
    switch (tenancy) {
      case HOST:
        final List<String> hostIds = allocateHosts(tags, count, ec2Timeout);
        return launchInstances(benchmarkTag, tags, hostIds);
      case DEDICATED:
      case DEFAULT:
        return launchInstances(benchmarkTag, tags, count);
      default:
        throw new IllegalArgumentException(format("Unsupported tenancy mode: %s", tenancy));
    }
  }