add ebs_optimized flag to ec2 module