Getting the Product Code from Within an Instance

From Amazon Elastic Compute Cloud: 2008-12-01