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,
It's not possible to transfer existing instances or AMIs between AWS accounts. Instead, you can manually migrate an EC2 image from one AWS account to another.
The copy process will result in a separate and new AMI in the destination region which will have a unique AMI ID. The copy process will update the Amazon RAM Image and Amazon Kernel Image references to point to equivalent images in the destination region. You can copy the same AMI to multiple regions simultaneously.
You can deregister an AMI when you have finished using it. After you deregister an AMI, you can't use it to launch new instances. When you deregister an AMI, it doesn't affect any instances that you've already launched from the AMI or any snapshots created during the AMI creation process.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With