An AMI is basically a Linux (or Windows, if you must) virtual machine. You can pick a kernel version, etc. from many available preconfigured AMIs (both from Amazon and from third parties), install whatever other software you want, then save it as your own custom AMI. You do have to pay some (minor) storage charges even when it's not running. You also need to be comfortable with running all aspects of your server (upgrades, software installation, and so on). It's more demanding than just using a shared account that someone else has set up and administers.