I have a single EC2 instance and a single Elastic IP. After the instance is stoped and then re-started, the association between the instance and the IP is lost and I have to manually re-associate.
Is there a way either through the AWS Management Console or programatically from within the instance to do the re-association?