I have multiple EC2 instances running in the same VPC (and thus same region). Is there a way that I can resolve those EC2 instances uniquely for SSH access? Let's assume that I am not using elastic IPs for these instances, so the assigned IP for each instance will change over time.
I was contemplating setting up a unique subdomain for each instance, but then I realize I would still need a permanent public IP in the A record unique to each instance.
ssh email@example.com ssh firstname.lastname@example.org ssh email@example.com
For a web server one could reference the same IP for each host, yet still internally direct the request to correct instance based on the DNS name. Is this possible with SSH also?
Is there a different way to get this working? AWS only gives us 5 elastic IPs per region.