How to create custom image?
Created by: shatgupt
Sorry for this naive question but I couldn't figure out how to modify some parameters and generate my own image.
I just want to run a python script and hence I want to make an image as small as possible, which can be 1GB per EBS limits.
I figured out there are volume_size
configs for input instance and ami_root in alpine-ami.yaml
which I can reduce to 1GB. Am I correct? If yes, then do I have to run simply make
or the make_ami.sh
script?
Also, what are the pre-requisites apart from packer and make?
PS: Is there a reason you chose 5GB as volume size? I think Alpine would easily fit in 1GB.