New updates have been released for the Ubuntu 8.04 Hardy AMIs (base install, desktop, and 64-bit base install) and the Ubuntu 7.10 Gutsy AMIs (base install, desktop, and 64-bit base install). I have combined and moved some of the documentation to this central page:
These are the first Hardy AMIs built using the ec2ubuntu-build-ami script. (The previous releases were built by following the official upgrade path from Gutsy as it took me a while to track down a bug with thread-local storage in Hardy on EC2.)
The ec2ubuntu-build-ami script has also been enhanced to support command line options. I felt that the environment variable approach was starting to get unwieldy, though the script should be backwards compatible for the foreseeable future.
The build script also includes a couple patches from Vincent Desjardins to support user-specified AMI sizes and also to support running external scripts during the AMI build process. This allows for further customization without having to modify the build script itself and is one of the more frequently requested features. Thanks!
If either of these options don’t work for you, you can blame my later modifications which I didn’t test extensively.
Read the comments at the top of the script for usage instructions and let me know if things need to be made clearer with some external documentation: