Cloudwatch mon-put-instance-data not reporting on AMI-cloned instance

Figured it out thanks to strace. The current instance id is cached in /var/tmp/aws-mon and that incorrect cache was preserved via the AMI process.

The solution:

# mv /var/tmp/aws-mon /var/tmp/aws-mon.bak