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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠