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

已提问 2 年前548 查看次数
2 回答
0

No, this is not possible.

profile pictureAWS
专家
已回答 2 年前
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
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则