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

From Amazon Elastic Compute Cloud: 2008-12-01