I am trying to install MySQL on an EBS backed AMI.
An EBS backed AMI means, an AMI which is stored in EBS and not in S3.
I pick an existing EBS-backed Ubuntu AMI offered by Amazon/Ubuntu, I launch it, customize it and create a new AMI which is specific to my needs. What process should be used to create this new AMI ? Should I be careful about any Public Key and .SSH folder (I say this because I tried this and was unable to login)
Once I have a new AMI ID, a snapshot of the original EBS is added to the list of volumes, this is where the new customize AMI resides. From the list of AMIs, I can now launch this new AMI. When I launch my newly created AMI (customized), the snapshot size (root volume size) is the same as the original AMI's root size. I would like to increase this size to achieve more storage space. How do I do that ?
Once I have enough storage space, I would like to install MySQL on this AMI. After this, should I recreate another new AMI to save this new installation ? or will this be automatically persisted in the root EBS volume.