Allowing ec2 cors requests