I'm launching an EC2 instance, by invoking ec2-run-instances from simple a bash script, and want to perform further operations on that instance (e.g. associate elastic IP), for which I need the instance id.
The command is something like ec2-run-instances ami-dd8ea5a9 -K pk.pem -C cert.pem --region eu-west-1 -t c1.medium -n 1, and its o...
I wanted to backup my EC2 instance to S3. I downloaded EC2 tools from: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351.
I set up environment variables to:
EC2_HOME=<EC2 tools directory>
EC2_PRIVATE_KEY=<path to private key generated after I created new X.509 certificate>
EC2_CERT=<path to certificate I created ...
I would like to download a public Amazon EC2 AMI, such as this one (Ubuntu Lucid), so that I can programmatically extract its contents.
How do I do this? I suspect there is an S3 address somewhere? This blog post looks like it once described this process, but the link seems to no longer work.
So far I can only find explanations of ho...
Has anyone gotten amazon's elastic load balancing command: elb-create-lb-listeners to work?
Is this the right site for ec2 questions: would serverfault be better? Amazon's forums seem slow...
I get:
PROMPT:~ acct$ elb-create-lb-listeners <MYLBNAME> --listener "protocol=http,lb-port=80,instance-port=80"
Unable to find a $JAVA_HOME at "...