EC2 Image Builder create an LVM AMI

0

Reading about Image Builder it sounded like I could take an image like arn:aws:imagebuilder:us-east-1:aws:image/rocky-linux-8-aarch64-official-f10f/x.x.x which is using normal partitions and has all the space allocated to / and build an AMI that uses LVM and even change the partitions to match STIG or CIS.

But how do you do that exactly? I ran through a simple build in Image Builder but did not see options to allow me to do those massive changes.

質問済み 8ヶ月前439ビュー
1回答
0

Hello, AWS Image Builder uses an existing base image (AMI) of a supporting operating system and then you can customize that base image to prepare your custom image. As base image includes the root volume which already has a partition layout either LVM or non LVM, so we cannot change that layout using Image Builder.

You can refer below AWS blogs to create STIG or CIS compliant images using Image builder.

Additionally you can refer below documentation, to get an idea how EC2 Image builder works :

https://docs.aws.amazon.com/imagebuilder/latest/userguide/how-image-builder-works.html

AWS
サポートエンジニア
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ