Starting a Hadoop cluster with the new AMI is simple and straightforward. This recipe will list steps to start up a Hadoop cluster with the new AMI.
Before getting started, we assume that you have registered with AWS and have successfully created a new AMI with Hadoop properly configured.
Use the following steps to configure a Hadoop cluster with EC2:
ec2-describe-instances | grep running | egrep -o 'ip.*?internal' | sed -e 's/.ec2.internal//g' > nodes.txt
nodes.txt file ...