Score:0

How to recover deregistered AMI and keep ID?

ธง tw

I had deregistered some AMIs in a region I believed was not being used anywhere in the current account, and indeed AWS gave me no warning that the AMI IDs were referred to anywhere.

Unfortunately I didn't realize they'd actually been shared into another AWS User Id/account where they were being used. I found out the hard way when the auto-scaler failed to start a new instance.

I've worked out how to restore them from another region, but now the AMI IDs are different, which would presumably mean I need to update CloudFormation scripts etc. to use the new IDs.

One of the machines using one of those AMI IDs holds persistent data on it, and I certainly don't want it replaced the next time the CloudFormation stack is updated.

What can I do to tell CloudFormation to leave that server alone - termination protection? But will it allow the rest of the stack to be updated? Is there anyway at all of recovering an AMI so it has the same ID as it did before?

I will say the whole concept of AMIs being shared between what I thought were entirely separate AWS accounts threw me completely. What's the best way of copying an AMI from one account to another so that is not "shared"? I can't see a way to download/upload a snapshot from the console.

Oscar De León avatar
la flag
ฉันไม่คิดว่าคุณจะกู้คืน AMI ID ได้ แต่ ณ จุดนี้ ฉันคิดว่าทางออกที่ดีที่สุดของคุณคือติดต่อฝ่ายสนับสนุนของ AWS

โพสต์คำตอบ

คนส่วนใหญ่ไม่เข้าใจว่าการถามคำถามมากมายจะปลดล็อกการเรียนรู้และปรับปรุงความสัมพันธ์ระหว่างบุคคล ตัวอย่างเช่น ในการศึกษาของ Alison แม้ว่าผู้คนจะจำได้อย่างแม่นยำว่ามีคำถามกี่ข้อที่ถูกถามในการสนทนา แต่พวกเขาไม่เข้าใจความเชื่อมโยงระหว่างคำถามและความชอบ จากการศึกษาทั้ง 4 เรื่องที่ผู้เข้าร่วมมีส่วนร่วมในการสนทนาด้วยตนเองหรืออ่านบันทึกการสนทนาของผู้อื่น ผู้คนมักไม่ตระหนักว่าการถามคำถามจะมีอิทธิพลหรือมีอิทธิพลต่อระดับมิตรภาพระหว่างผู้สนทนา