创建由实例存储而不是 EBS 支持的黄金映像
我有一个由 EBS 卷支持的黄金映像管道运行没有问题,但尝试为实例存储支持的 ami 创建相同的管道似乎总是会产生相同的错误。问题是 imagebuilder 管道不断尝试标记不存在的 EBS 卷,因此失败;
失败原因: 如果请求未创建任何 EBS 卷,则无法为 EBS 卷指定标签。
基础映像为 ami-08d82c356d670cf9c
,其根设备类型为 INSTANCE -STORE
,并且管道中的任何地方都没有应用标签(不在配置、分发、配方或基础设施中)。关于使用实例存储的黄金映像的文档很少,任何创建黄金映像的尝试都会导致同样的失败。
有谁知道在这个过程中标签的应用是在哪里发生的以避免它?
谢谢
I have a golden image pipeline running without problem backed by an EBS volume, but trying to create the same for an instance store backed ami seems to always produce the same error. The issue is that the imagebuilder pipeline continuously attempts to tag a non-existent EBS volume and therefore fails;
Reason for failure:You cannot specify tags for EBS volumes if there are no EBS volumes being created by the request.
The base image is ami-08d82c356d670cf9c
which has the root device type INSTANCE-STORE
, and there are no tags applied anywhere in the pipeline (not in the configuration, distribution, recipe or infrastructure). There is little documentation regarding a golden image using instance storage and any attempt to create one results in the same failure.
Does anyone have an idea on where this application of tags is taking place in the process in order to avoid it?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
与 AWS 确认 Image Builder 不支持使用由实例存储支持的 AMI,因为它们使用不支持的 ec2:CreateImage,并且还需要关闭实例才能创建映像。
Confirmed with AWS that Image Builder does not support the use of AMIs backed by instance store, as they use
ec2:CreateImage
which does not support it, and also requires the instance to be shut down to create an image.