I have created an EC2 Security Group that allows incoming traffic from a private ip address in the same account.
It is my understanding that a private ip address for a classic instance can change after reboot. So this rule could be invalid after a reboot.
( https://stackoverflow.com/questions/10733244/solution-for-local-ip-changes-of-aws-ec2-instances )
I really just want to use a dns name as the source, but that does not seem to be possible. I can't reference the other instance by it's security group because it's not the right group and amazon doesn't allow changing security groups...
What are my options to allow local trafic to one instance from a specific ip address in the same account in a robust way ?