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.

demandé il y a 8 mois439 vues
1 réponse
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 8 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions