Setting Up MongoDB Replica Sets on Amazon EC2
Zachary Witte:
When you have the instance basically set, go back into the AWS control panel, right click the instance and choose Create Image. You can start up any number of these for the replica set, but you need to change the /etc/hostname and /etc/hosts file to reflect the individual IP address and hostname of the bot (db1, db2, db3, etc.)
Before you set up MongoDB on EC2 make sure you understand the various aspects of running MongoDB in the Amazon cloud:
Original title and link: Setting Up MongoDB Replica Sets on Amazon EC2 (©myNoSQL)
via: http://www.zacwitte.com/how-to-set-up-ubuntu-w-mongodb-replica-sets-on-amazon-ec2