Is it possible to patch latest AMI without updating the AMI Id

-1

Is it possible to patch latest AMI without updating the AMI Id

已提問 1 年前檢視次數 340 次
2 個答案
0

No, this is not possible.

profile pictureAWS
專家
kentrad
已回答 1 年前
0

The binary content of AMIs (meaning the disk content) is inherently immutable. You can't modify it bitwise; any changes require replacing the entire object which would also change the AMI ID. S3 also has built-in mechanisms that consistently verify the integrity of AMIs, across the many copies that are stored in S3.

So once the AMI is created then that content can't be changed: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-ami.html

A limited set of attributes of an AMI can be changed after it is created - see the API docs for ModifyImageAttribute for details: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ModifyImageAttribute.html

AWS
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南