Hi there – after deleting a server from EC2, I would like to run some API calls in NewRelic on the server object. AWS delivers me some data about terminated instances, but NOT the hostname. The best key to the data I get from AWS notifications is the instance-id. Is there a nice way to take an instance-id and figure out what NewRelic server it belongs to? I can’t go back to the server itself, as it has been deleted.
I’m using an AMI so I don’t edit the NewRelic configuration file by hand or use configuration management in this particular case, and I also don’t want to store a mapping in a third datastore just to do this one lookup. Surely NewRelic has enough AWS users that storing the instance-id is something the agent will do?