s3fs is a FUSE filesystem that allows you to mount an Amazon S3 bucket as a local filesystem. It stores files natively and transparently in S3 (i.e., you can use other programs to access the same files).
The following instructions detail the steps to install the program s3fs on an Amazon EC2 running Debian 5.0.5.
First, you need to install the package libfuse manually as the one provided via apt-get is too old (s3fs needs a version greater than or equal to 2.8.4).
tar xzf fuse-2.8.7.tar.gz
You can simply install the package provided by apt-get:
apt-get install libxml2-dev
Because of a problem between fuse and mount, you need to upgrade the version of mount:
tar xzf util-linux-2.21-rc1.tar.gz
./configure --prefix=/usr --without-ncurses