} else {
amazonASClient.resumeProcesses(new ResumeProcessesRequest().withAutoScalingGroupName(asGroupName));
amazonEC2Client.startInstances(new StartInstancesRequest().withInstanceIds(instances));
awsPollingService.pollWithTimeout(
new AwsInstanceStatusCheckerTask(),
new AwsInstances(stack, amazonEC2Client, new ArrayList(instances), "Running"),
AmbariClusterConnector.POLLING_INTERVAL,
AmbariClusterConnector.MAX_ATTEMPTS_FOR_AMBARI_OPS);
updateInstanceMetadata(stack, amazonEC2Client, instanceMetaData, instances);
}
} catch (Exception e) {