when dealing with ec2 check if machines has RUNNING status and use imageId while creating new node in order to improve performance