Wednesday, August 17, 2011

min requirements and env for ec2-api-tools

I started a mini Fedora EC2 instance on Amazon Web Services the other day. The instance had a slim set of installed programs. Here is the short list of dependencies to get the ec2-api-tools running:
  • yum install openssh-clients (for SCP)
  • yum install unzip (for the zipped ec2-api-tools install zip)
  • install latest jdk (latest 6_27 from Oracle's site)
As well, ec2-api-tools depends on a a few environment variables..the five lines at the bottom of this .bash_profile:
export PATH
export HADOOP_HOME=/usr/lib/hadoop-0.20
export HIVE_HOME=/usr/lib/hive
export MYBUCKET=frasestrendingtopics
export MYSERVER=localhost
export MAILTO=cacasododom@gmail.com
export JAVA_HOME=/usr/java/jdk1.6.0_24/
export EC2_HOME=/usr/bin/ec2-api-tools-1.4.4.0
export EC2_PRIVATE_KEY=~/doc/software/amazon/certs/pk-GEQDDYWBHKJKKUWNWAS.pem
export EC2_CERT=~/doc/software/amazon/certs/cert-DYWBHKJKKUWNWASYNF2YL.pem
export ACCESS_KEY_ID=8DSRMMTFQMQRER2
export SECRET_ACCESS_KEY=mAq9QzCVhmxzKpxhQxBoA5jOxZksq62jpO5mbD

Cheers..


No comments:

Post a Comment