Correct ec2 configuration