Check whether the EC2 region name is valid