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.

gefragt vor 8 Monaten438 Aufrufe
1 Antwort
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
SUPPORT-TECHNIKER
beantwortet vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen