|
|
@ -41,8 +41,6 @@ def create_instances(config, ec2_client, region_number, number_of_instances, tag |
|
|
|
available_zone = utils.get_one_availability_zone(ec2_client) |
|
|
|
available_zone = utils.get_one_availability_zone(ec2_client) |
|
|
|
LOGGER.info("Looking at zone %s to create instances." % available_zone) |
|
|
|
LOGGER.info("Looking at zone %s to create instances." % available_zone) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LOGGER.info("USER_DATA: \n%s" % utils.USER_DATA) |
|
|
|
|
|
|
|
time.sleep(2) |
|
|
|
time.sleep(2) |
|
|
|
ec2_client.run_instances( |
|
|
|
ec2_client.run_instances( |
|
|
|
MinCount=number_of_instances, |
|
|
|
MinCount=number_of_instances, |
|
|
|