When creating an Amazon AWS EC2 HVM AMI (TLA!!!!), how do you include your own software, when on the same partition as the root volume, but not necessarily in /usr
? (in this way more efficiently use disk space)
Turns out this is the default behavior!
This document specifies a crazy amount of manual/scripted work that need be done, but the standard "Create Image" popup from the AWS Console's
EC2 --> Instances --> <instance> -->
(right click popup) --> Image --> Create Image
dialog is enough to do the trick.
Just make sure to select the correct volume type to match the needs of instances that will use this AMI image (General Purpose, Provisioned IOPS, "magnetic").
(This question was originally asking why this didn't work. Some form of pilot error was likely involved)