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 com.nakivo.nbr.controller.aws.execution.AwsActionException: Amazon generic error Caused by: com.amazonaws.services.ec2.model.AmazonEC2Exception: In order to use this AWS Marketplace product you need to accept terms and subscribe.
To do so please visit http://aws.amazon.com/marketplace/pp?sku=2sicodp2tjinebxlwpk4xb5l5 (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:
Go to the link provided in the generic error message.
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.
Run your replication job again.
Alternatively, make sure that your AWS IAM permissions include the following: