Given the regular questions appearing on the forum about using Debianwith EC2 I thought it might be a useful exercise to post a complete HOWTO should people wish to roll their own AMI rather than use my public one.
Read the howto here
I suspect that these instructions will work for Ubuntu as well although I've not actually tested this.
To start with we need to construct a simple Debian installation on a host machine. I'm using my local Etch at home but this should also work fine on the EC2 public Etch instances.