How to Preserve Shared AMIs in the Target Account While Deleting it from the Source Account

0

i created the ami in the source account, and i shared to target acc... i need to do cleanup the source acc but i need the ami in the target acc.. when i deleted in source acc.. it got deleted in target acc as well.. how to resolve this?

sandy
asked 6 months ago258 views
1 Answer
1
Accepted Answer

Hello.

If you delete the AMI in the sharing source account, you will no longer be able to view it in the sharing destination account.
Therefore, after sharing the AMI, please copy the AMI in the sharing destination account.
By doing so, even if you delete the AMI in the sharing source account, the AMI will be available in the sharing destination account.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/CopyingAMIs.html

profile picture
EXPERT
answered 6 months ago
profile pictureAWS
EXPERT
reviewed 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions