Actually, the only way I could access my AWS server is with the IPv4 DNS hostname:
ssh -i '~/.ssh/id_rsa.pub' something.compute.amazonaws.com
I would like to access it with the IPv4 Public IP, but I did not succeed in doing that so far. I tried using the simple command ssh my_ip
, but nothing happened.
What do I have to modify on the configuration so that I can use the IP address to access the server.