On Thu, Nov 11, 2010 at 10:37:05AM -0600, Garrett Holmstrom wrote:
Is there anything else I need to have setup beyond EC2_CERT and EC2_PRIVATE_KEY?
Euca2ools programs don't hard-code things like URIs, so you typically need to specify more in the environment to get them to work with AWS.
I recommend setting everything of importance up in your shell's rc file. For instance, my .zshrc file contains something similar to this:
export S3_URL=https://s3.amazonaws.com:443 export EC2_URL=https://ec2.amazonaws.com:443 export EC2_PRIVATE_KEY=~/ec2/euca2-gholms-00000000-pk.pem export EC2_CERT=~/ec2/euca2-gholms-00000000-cert.pem export EC2_ACCESS_KEY='00000000000000000000' export EC2_SECRET_KEY='0000000000000000000000000000000000000000'
...where the '0's are replaced with account-specific numbers and things.
At the moment you need all six of these variables, though the *_KEY variables may not be necessary in future releases.
Ahh. I don't have the EC2_(ACCESS|SECRET)_KEY's, I just use the certificate access (SOAP?) with ec2-api-tools.