changed from inventory hostname to ec2_id