Paying for AMIs
This section describes how to discover paid AMIs, launch paid AMIs, and launch instances with support product codes.
The ec2-describe-images command lists product codes associated with the AMI. You can learn more about the product and the AMI in the Amazon EC2 resource center and forums. You will need to sign up for the product before you can launch instances of the AMI.
$
ec2-describe-images ami-5bae4b32
IMAGE ami-5bae4b32 awesome-ami/webserver.manifest.xml 495219933132 available private 774F4FF8
Launching a paid AMI is the same as launching any other AMI. No additional parameters are required. The instance will be charged according to the rates set by the owner of the AMI which should be more than the base Amazon EC2 rate.
$
ec2-run-instances ami-5bae4b32
INSTANCE i-10a64379 ami-5bae4b32 pending
Note | |
---|---|
The owner of a product will be able to see the instance and owner IDs of instances that were launched with their product codes. |
Developers that wish to offer support for instances can register support products. A user can then sign up for the support product and associate the issued product code with their own AMI.
Note | |
---|---|
Although we differentiate between products and support products in this document, the difference is only conceptual and they will be treated identically by Amazon EC2. |
PROMPT>
ec2-modify-image-attribute ami-5bae4b32 --product-code 774F4FF8
productCodes ami-5bae4b32 productCode 774F4FF8
No extra parameters are required for the run instances call. The instance will be charged according to the rates set by the owner of the product.
$
ec2-run-instances ami-5bae4b32
INSTANCE i-10a64379 ami-5bae4b32 pending
A paid instance is any instance that has been launched with a product code. A product owner can confirm that an instance qualifies for support by calling ec2-confirm-product-instance. This command returns a list of all running instances associated with the product, regardless of who launched the instance. You must own the product codes passed to the ec2-confirm-product-instance command.
PROMPT>
ec2-confirm-product-instance 6883959E -i i-10a64379
6883959E i-10a64379 true 495219933132