Installing CouchDB in AWS EC2 Free Tier

The apache team put together this quick script that installs CouchDB (thanks @_jhs for build-couchdb!) on an Amazon Linux AMI:

https://gist.github.com/1171217

If you are using cloudinit + the EC2 command line tools, simply use ec2-run-instances with --user-data-file (you will need some mods to the script to save the password or locally generate one) and voila'. Relaxing FTW.

Worked like a charm for me!


Enable the EPEL repository first and then install it with yum install couchdb

You can enable EPEL using the instructions here.

EDIT:

More information at http://wiki.apache.org/couchdb/Installing_on_RHEL5. Keep in mind that the Linux EC2 AMI is a cut down version of CentOS and you can add custom repositories and install as you wish.