When I create a new EC2 instance, and I give it a public IPv4 address, it assigns a "Public IPv4 DNS" that looks something like "ec2-55-55-55-55.region.amazonaws.com".
Is there a way to customize the automatically assigned addresses?
For example, when new EC2 instances are launched, I want it to assign something like "ec2-55-55-55-55.region.aws.example.com".
I was thinking this would be useful for things such as .ssh/config
where I can match based on the hostname
Hostname *.aws.example.com
SSH_OPTIONS
I am sure I can make this work by writing a bunch of logic triggered by EC2 actions, but was hoping there was something more or less provided by AWS (Route 53 integration?) that would let you do it.
Thanks.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…