

# AMI products with contract pricing in AWS Marketplace
<a name="buyer-ami-contracts"></a>

Some sellers offer public Amazon Machine Image (AMI)-based software products with a contract pricing model. In that model, you agree to make a one-time upfront payment for discrete quantities of licenses to access the software product for a duration of your choice. You're billed, in advance, through your AWS account. For example, you might purchase 10 user access licenses and 5 administrative licenses for a year. You can choose to automatically renew the licenses.

In addition, some companies offer private AMI-based software products with a contract pricing model. A private offer typically has a fixed duration which you can't change.

You can purchase an AMI -based software product contract using the product’s detail page on AWS Marketplace. If this option is available, **AMI with contract pricing** appears for **Delivery Method** on the product’s detail page. When you make the purchase, you will be directed to the product’s website for account setup and conﬁguration. The usage charges will then appear on your regular AWS account billing report.

# Subscribing to an AMI product with contract pricing
<a name="sub-public-AMI-contract"></a>

Sellers offer public or private contracts for Amazon Machine Image (AMI)-based software products. You agree to make a one-time upfront payment for discrete quantities of licenses to access the software product.

If the contract is a public offer, you can choose the duration of the contract and whether to automatically renew the licenses.

Private offers typically have a fixed duration that you can't change.

**To subscribe to a public offer AMI-based product with a contract pricing model**

1. Sign in to AWS Marketplace and find a container-based software product with a contract pricing model.

1. On the **Procurement** page, view the **Pricing Information**.

   You can see the **Units** and the rate for each duration (in months).

1. Choose **Continue to Subscribe** to start the subscription. 

   To save this product without subscribing, choose **Save to List**.

1. Create an agreement by reviewing the pricing information and configuring the terms for the software product. 

   1. Choose the duration of the contract: **1 month**, **12 months**, **24 months**, or **36 months** 

   1. Under **Renewal Settings**, choose whether to automatically renew the contract.

   1. Under **Contract options**, choose a quantity for each unit.

   The total contract price is displayed under **Pricing details.**

1. After you have made your selections, choose **Create Contract**.

The **Total contract price** is charged to your AWS account. A license is generated in AWS License Manager.

**Note**  
It can take up to 10 minutes for the subscription to process and a license to be generated in your AWS License Manager account for the software product.

**To subscribe to a private offer AMI-based product with a contract pricing model**

1. Sign in to AWS Marketplace with your Buyer account.

1. View the private offer. 

1. On the **Procurement** page, view the **Pricing Information**.

    You can see the **Units** and the rate for each duration (in months). 

1. Choose **Continue to Subscribe** to start the subscription. 

1. Create an agreement by reviewing the pricing information and configuring the terms for the software product. 

   The duration of the contract is already set by the Seller and can't be modified. 

1. Under **Contract options**, choose a quantity for each unit.

1. View the total contract price under **Pricing details**.

   You can also see the public offer by choosing **View Offer** under **Other Available Offers**.

1. After you have made your selections, choose **Create Contract**.

**Note**  
It can take up to 10 minutes for the subscription to process and a license to be generated in your AWS License Manager account for the software product.

# Accessing AMI-based software
<a name="access-ami-software"></a>

Once you purchase an Amazon Machine Image (AMI)-based software product with contract pricing, you will be directed to the product’s website for account setup and conﬁguration. The usage charges will then appear on your regular AWS account billing report.

**To access the AMI-based software product**

1. On the AWS Marketplace console, navigate to **View Subscription** and view the license for the software product. 

1. On the **Procurement** page:

   1. Choose **Manage License** to view, grant access, and track usage of your entitlements in AWS License Manager.

   1. Choose **Continue to Configuration**. 

1. On the **Launch** page, review your configuration and choose how you want to launch the software under **Choose Action**.

1. On the **Choose an Instance Type**, choose an Amazon Elastic Compute Cloud (Amazon EC2) instance, and then choose **Next: Configure Instance Details**.

1. On the **Configure Instance Details** page, for **IAM role,** choose an existing AWS Identity and Access Management (IAM) role from your AWS account. 

   If you don't have an IAM role, choose the **Create new IAM role manually** link and follow the instructions.
**Note**  
When you purchase a product with contract pricing, a license is created by AWS Marketplace on the AWS account that your software can check using the License Manager API. You will need an IAM role to launch an instance of the AMI-based product.  
The following IAM permissions are required in the IAM policy.  

****  

   ```
   {
      "Version":"2012-10-17",		 	 	 
      "Statement":[
         {
            "Sid":"VisualEditorO",
            "Effect":"Allow",
            "Action":[
               "license-manager:CheckoutLicense",
               "license-manager:GetLicense",
               "license-manager:CheckInLicense",
               "license-manager:ExtendLicenseConsumption",
               "license-manager:ListReceivedLicenses"
            ],
            "Resource":"*"
         }
      ]
   }
   ```

1. After the instance details are configured, choose **Review and Launch**.

1. On the **Review Instance Launch** page, select an existing key pair or create a new key pair, and then choose **Launch Instances**.

   The **Initiating Instance Launches** progress window appears.

1. After the instance is initiated, go to the EC2 dashboard, and under **Instances**, see that the **Instance state** displays **Running**.

# Viewing a generated license
<a name="view-generated-license"></a>

After you subscribe to an AMI-based product, a license is generated in AWS License Manager. You can review the details of the license including the **Issuer** (AWS/Marketplace) and the **Entitlements** (the units that the license grants the right to use, access, or consume an application or resource).

**To view a generated license**

1. Sign in to AWS License Manager with your AWS account.

1. Under **Granted licenses**, view all of your granted licenses.

1. Search licenses by entering a product SKU, recipient, or status in the **Search** bar.

1. Choose the **License ID** and view the **License details**. 

# Modifying an existing contract
<a name="modify-existing-contract"></a>

If they have an existing upfront commitment for an AMI product, AWS Marketplace buyers can modify some aspects of a contract. An AMI contract is supported through contract terms based offers as opposed to hourly or annual flexible consumption pricing (FCP) offers. This feature is available only to applications that are integrated with AWS License Manager. Buyers can purchase additional licenses within the entitlement of the same offer in the current contract. However, buyers can't reduce the entitlement counts purchased in the contract. Buyers can also cancel the automatic subscription renewal if the option is enabled by the Seller. 

**Note**  
An installment plan's contract offer can't be modified. There are no entitlement changes available to the buyer for an installment plan's purchased contract. An entitlement is a right to use, access, or consume an application or resource. Installment plan offers are not changeable.

**Manage your subscription**

1. On the AWS Marketplace console, navigate to **View Subscription** and view the license for the software product. 

1. On the **Procurement** page, select **Manage License**.

1. From the list, select **View Terms**.

1. In the **Contract options** section, increase your entitlements by using the arrows. You can't reduce the entitlement counts below the entitlements purchased.

1. The contract details and total price displays in the **Pricing details** section.



**To cancel your automatic subscription renewal**

1. On the AWS Marketplace console, navigate to **View Subscription** and view the license for the software product. 

1. On the **Procurement** page, select **Manage License**.

1. On the **Subscription** page, locate the **Renewal Settings** section.

1. Ensure you understand the terms and conditions with cancellation.

1. Select the check box to cancel the automatic renewal.