turned on learning flag for ec2