Getting the Product Code from Within an Instance

Amazon Elastic Compute Cloud: 2008-12-01