How do I share an AMI that I purchased from the AWS Marketplace with another account or organization?
I want to share the Amazon Machine Image (AMI) that I purchased from the AWS Marketplace with another AWS account or organization.
Resolution
Share an AWS Marketplace AMI with an AWS account outside of your organization
To share your AMIs with other accounts, specify the destination account IDs. AMIs that you create in AWS Marketplace have a unique product code. The AMI's product code allows only subscribed accounts to use the AMI. The destination account doesn't inherit the AWS Marketplace subscription automatically. The destination account must subscribe to the original AWS Marketplace product before it can launch instances from the shared AMI.
After the destination account subscribes and launches its own Amazon Elastic Compute Cloud (Amazon EC2) instances, the source account can cancel its AWS Marketplace subscription. The cancellation doesn't affect the shared AMI or the destination account's instances. Stop the source account's running instances before you cancel the subscription. For more information, see Manage your AWS Marketplace subscriptions.
If you encrypted the AMI with an AWS managed key, then complete the following cross-account re-encryption steps for the AMI from AWS Marketplace:
- Copy the AMI and encrypt the new AMI with a customer managed key.
- Share the AMI with the destination account.
- Update the key policy to allow the destination account to use the customer managed key.
- Specify an AWS Key Management Service (AWS KMS) key that the destination account owns. This key encrypts your Amazon Elastic Block Store (Amazon EBS) volumes.
For more information, see How do I share encrypted AMIs or snapshots across accounts to launch encrypted Amazon EC2 instances?
Share an AWS Marketplace AMI with other accounts in an organization
You can share AWS Marketplace AMI licenses with organizations or organizational units (OUs) in AWS Organizations.
Note: Before you can share licenses, you must set up license sharing for your organization. For more information, see Using roles to share entitlements for AWS Marketplace.
To share an AMI's license, complete the following steps:
- Open the AWS Marketplace console, and then choose Manage subscriptions.
- Select the product that you want to view, and then choose Manage.
- Under Subscription, choose Actions, View license.
- Choose Create grant. Then, enter the Grant name and Target AWS Account ID.
- Choose Create grant.
- Open the AWS License Manager console on the destination account.
- Choose Granted licenses, and then select the license ID that you created.
- Choose View.
- Choose Accept and activate license.
- It might take a few minutes for the grant status to change from Processing to Active.
Note: You might see the following message, "License grants can be activated only when both the license administrator and the grant recipient have enabled the AWS Marketplace Service Linked Role, or trusted access is enabled for AWS Marketplace in the management account of your organization."
To turn on the AWS Marketplace service-linked role, open the AWS Marketplace console. Then, choose Configure permissions to create an AWS Marketplace license management service-linked role.
You can now use the AMI license subscription from the AWS Marketplace console to launch an EC2 instance.
Note: You can view all granted licenses for the accounts in your organization. For more information, see Granted licenses in License Manager.
- Argomenti
- Compute
- Lingua
- English

Contenuto pertinente
AWS UFFICIALEAggiornata 2 anni fa