The error hints at the reason, that the IP of the server name you gave (ip-10-185-211-254.ec2.internal
) couldn't be resolved by your local DNS resolver. This is probably because you tried to use the internal hostname and IP of your EC2 VM which is not accessible from outside of the EC2 internal network.
You should use the external IP and hostname instead.