I use a private AMI in a cloudformation template, which also assigns a Route53 record to the new instance. Every time I connect to that hostname I get the "remote host identification has changed" and need to remove the offending key.
It seems that the host key is changed when the instance is launched, but since the AMI is only accessible by me, I'd like to setup the instance creation in a way that would allow the host key to stay the same (and get rid of that warning).
Is that possible?