Issue when copy AMI owned by another account

2019-06-20 07:58发布

问题:

I'm trying to copy an AMI from one account A but owned by another account B. I have previously built this AMI. The account A has launch permissions on the AMI, but when I copy I got this error message : Images from AWS Marketplace cannot be copied to another AWS account.

So, I make a DescribeImage and I got this :


productCodes
 item
            productCode 7w73f3XXXXXXXXXXXXXX /productCode
            type marketplace /type
/item
/productCodes

I think that my issue come from the productCode & type. Therefore my question, how can I remove productCode and type please ?

Best regards,

回答1:

This is because the AMI in question is licensed from the marketplace; that is, the author doesn't want it simply given away / copied to anyone. Please visit the Marketplace and license the AMI.