Confirming an Instance Is Running an AMI Associated with a Product Code

From Amazon Elastic Compute Cloud: 2009-03-01