Amazon Cross-Account Replication for Marketplace VM Fails with Amazon Generic Error

Product version: 9.3

Last modified: 25 February 2020


If you are using multiple AWS accounts and start an Amazon EC2 replication job for a source VM created from an AWS Marketplace image with a destination on an EC2 region under another AWS account, the replication job fails with the following Amazon generic error:

ActionException Amazon generic error Caused by: In order to use this AWS Marketplace product you need to accept terms and subscribe.

To do so please visit (Service: AmazonEC2; Status Code: 401; Error Code: OptInRequired; Request ID: f05d0d99-afe3-49fd-ad75-2dd49f856265)


The target AWS image under the other AWS account lacks registration on the AWS Marketplace.


Proceed as follows:

  1. Go to the link provided in the generic error message.

  2. A Marketplace page under the target AWS account opens for the same image as the source VM. Create an instance from the Marketplace image on the target account. Note that the target instance parameters can differ from the source image.

  3. Run your replication job again.

Alternatively, make sure that your AWS IAM permissions include the following: