Questions tagged [ec2-api-tools]

Command-line scripting tools for interfacing with Amazon's EC2 computing platform.

The API tools serve as the client interface to the Amazon EC2 web service. Use these tools to register and launch instances, manipulate security groups, and more.

http://aws.amazon.com/developertools/351

111 questions
0
votes
1 answer

Error: Signature matches only once in EC2 API request

I will show you my signing…
Smokey
  • 1,857
  • 6
  • 33
  • 63
0
votes
0 answers

How to access ejabberd which is deployed on aws?

I am new to AWS. I have deployed ejabberd server on AWS ec2 ubuntu 12.04 instance correctly. I have open up the ports 5222, 5280, 5269 using aws-api-tools . Now i am unable to access ejabberd using its IP address and port 5222. I even can't access…
0
votes
1 answer

How do I know which AMIs are created from instance id i-xxxxxxx

I can describeImages and describeInstances via PHPSDK2. But, How can I find an AMI which was created from any given instance-id? The description of AMIs doesn't point back to the original instance. Also the description of an instance doesn't have…
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
0
votes
2 answers

Specify specific columns in ec2-describe-instance-status command

ec2-describe-instance-status always returns all columns specified in documentation I need a way to know just the state name and state code of the instance of instance. Is there a way to do so ?
Learn More
  • 1,535
  • 4
  • 29
  • 51
0
votes
0 answers

Can't tag snapshot in AWS::EC2 with ruby SDK

I'm using the AWS SDK and I not able to tag an existing snapshot. It says the snapshot does not exits even though you can see that my test object is an AWS::EC2::Snapshot. Whats up ?!?! irb(main):017:0> test =>
Zach
  • 885
  • 2
  • 8
  • 27
0
votes
1 answer

EC2 automate backup requires volumeid parameter and already provided

I downloaded this EC2 automate backup tool and upload it on ec2-user folder. I used SSH to execute it /home/ec2-user/ec2-automate-backup/ec2-automate-backup.sh -v "vol-XXXXXXXX" and returned: The selection method "volumeid" (which is…
Jorge
  • 5,610
  • 18
  • 47
  • 67
0
votes
1 answer

ELB command line tools not working

I have downloaded the elb packarge from the AWS site and set the required environment variables but I am unable to use the commands. Can anyone tell me why I am getting this error: elb-describe-lbs --aws-credential-file…
Prats
  • 1,515
  • 6
  • 16
  • 30
0
votes
0 answers

Can I swap EC2 IPs by PHP or any other script

I have two EC2 instances for Ethernet interface. If one instance fail other should come up. Can I swap EC2 IPs by using any script. Please give any idea.
user1829627
  • 325
  • 2
  • 3
  • 13
0
votes
1 answer

How to export EC2 EBS volume attached to an instance without mouting it

I am trying to export EBS volume. It is possible to do it by mounting it to an instance. but I want to export it without mounting. i.e direct export from EBS. Is it possible? How can I do it.
0
votes
1 answer

Play Framework errors out when an attempt to create an aws ec2 Client is made

I am trying to make a simple play framework application which monitors my aws ec2 instances. I have been following this guide to get started. This is the method I am having trouble with. public static AmazonEC2Client createClient(){ String…
0
votes
1 answer

Adding recovered volume to an AWS instance

So, the story is a bit long... but in a nutshell: I had a ec2 microinstance and I lost the connection with it by doing, installing and running whereami (silly me). Then I took a snapshot of the instance and created a volume from it. Then I created a…
Watchmaker
  • 4,908
  • 1
  • 37
  • 38
0
votes
1 answer

How to map the Instances with the user who created it

This is what I am trying to do: We have IAM in place and each user logs in to the AWS console with his/her respective email address and create the EC2 instance. I being the Administrator, when I login to AWS console, I see a whole bunch of Instance…
slayedbylucifer
  • 22,878
  • 16
  • 94
  • 123
0
votes
1 answer

not able to connect to ubuntu instance t1.micro after ec2-authorize

I installed an application jetty on ubuntu 12.04 instance t1.micro PUBLIC_DNS = ec2-54-225-24-215.compute-1.amazonaws.com I can do: ssh ec2-54-225-24-215.compute-1.amazonaws.com From within the instance, I can do: curl localhost:8080 --…
GJain
  • 5,025
  • 6
  • 48
  • 82
0
votes
2 answers

Using Java SDK (AWS) to programmatically connect S3 to EC2 as a filesystem

I am trying to use java sdk to create a local filesystem on an EC2 machine which would actually be a S3 resource I have already written code to start EC2 machine, create security groups, keys etc but now want to mount a S3 on top of that EC2 machine…
Scooby
  • 3,371
  • 8
  • 44
  • 84
0
votes
2 answers

EC2 instances connected via port?

I got two EC2 instances, A and B A is an Apache PHP (LAMP) and B is a Apache Solr Both instances shares same Security Group How to make it so that instance B is accessible via localhost in instance A, e.g: localhost:8985 is instance B in A Ideas…