Getting the Product Code from Within an Instance

From Amazon Elastic Compute Cloud: 2009-03-01