api._create_ec2_instance: handling exception on ec2 instance creation