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
1
vote
0 answers

How to get dynamic cost of an AWS instance?

I am working to get the cost of an EC2 instance attached with EBS volumes of different sizes, For this, I am currently getting the values from AWS calculator, but every time the values will change, so I have to change them. So is there any Java SDK…
1
vote
2 answers

EC2 - Create AMI - Cannot connect to new instance

I am experiencing difficulty trying to launch a AMI from an EBS volume. I am basically trying to launch another instance of a Linux (i386) based AMI that I have already configured the way I want. I have followed many guides for the past week. So…
David Gill
  • 8,411
  • 5
  • 19
  • 21
1
vote
1 answer

How do I access the AWS PHP SDK on EC2?

I have gotten to know that the AWS SDK comes with the default operating system installed on AWS EC2 when provisioned via Elastic Beanstalk. I would like to know if I can access the PHP version of the SDK. Or does it need to be installed…
Salocin.TEN
  • 474
  • 1
  • 6
  • 18
1
vote
2 answers

Amazon EC2 - how to get list of process running on instances via AWS API?

How to get a list of process running on Amazon EC2 instances via the AWS API?
Vijay Pendse
  • 111
  • 4
  • 8
1
vote
1 answer

Integration of Google Calendar with amazon EC2

I am using Google calendar and based on calendar booking i want to start AWS EC2 instances. Is there a way to achieve this interaction?
Deep
  • 528
  • 3
  • 12
  • 27
1
vote
1 answer

Deleting EC2 Instance Causes Amazon to Magically Restart New One

I have an Amazon AWS account with several instances. One of these instances I thought I deleted. However, I just checked my dashboard and it's still there. When I go to the dashboard and successfully terminate the instance, Amazon AWS automatically…
1
vote
1 answer

EC2 hourly usage alarm

I couldn't find a CloudWatch metric that was based on instance running time. Are there any readily available controls for AWS EC2 that could for example send me an email if an instance of type C3.4xlarge is on for more than 1.5 hours?
egekhter
  • 2,067
  • 2
  • 23
  • 32
1
vote
1 answer

AWS Instance creation error

i am getting the below error while creating an instance in AWS through eclipse. exception in thread "main" com.amazonaws.AmazonClientException: Unable to load AWS credentials from any provider in the chain at…
1
vote
1 answer

AWS new generation (m3.x) Intstance configuration not suppported

I am using java sdk to create ec2 instances. Till now I was using m1.medium, m1.large, m1.xlarge configuration to create ec2 instance and it was successfully creating the ec2 instance. But when i changed the instance type to new generation…
Naveen
  • 25
  • 4
1
vote
1 answer

How to use AWS(Amazon Web Services) EC2 DescribeInstanceStatus API Request in RestClient (Chrome Extention)

I am new to AWS and working on an application in which I have to display different Metrics about my AWS EC2 instance Health Like CPU usage and Memory and Running Processes info. I am trying to perform the Get Request from a REST client (Chrome…
jawad bin zafar
  • 163
  • 1
  • 14
1
vote
1 answer

ec2-import-instance throws ERROR: File uses unsupported compression algorithm 0 when importing vmdk

Trying to import a vmdk to AWS and I keep on getting this error. Not sure why? I checked everything in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html but nothing works. Not sure what I am doing wrong. Any help would…
prc
  • 41
  • 3
1
vote
1 answer

User creation with Cloud-init

I have the following cloud-init script that I'm loading with my vm: #cloud-config # Add groups to the system # The following example adds the ubuntu group with members foo and bar and # the group cloud-users. groups: - ugroup # Add users to the…
VicoMan
  • 289
  • 2
  • 13
1
vote
1 answer

permission error to SSH EC2 instance

I want to SSH to one EC2 instance. I created the key pair using ec2-add-keypair gsg-keypair and change the access using chmod 600 ~/.ec2/id_rsa-gsg-keypair the keypair is: -rw------- 1 hduser hadoop 1610 Nov 2 20:20…
MTT
  • 5,113
  • 7
  • 35
  • 61
1
vote
2 answers

Finding EC2 status using EC2 API

Is there any way to find out status of AWS EC2 instances, which are running on various different regions, from one EC2 instance which is present in any one of region by using EC2 API tool ? How this is possible ?
Pravin
  • 2,871
  • 5
  • 26
  • 29
1
vote
1 answer

Terminate EC2 instance using command line API

I am having AWS EC2 instance and I am using it by putty. I have also downloaded the EC2 command line API to that ec2 instance. Now i want to terminate EC2 instance within same EC2 instance using EC2 command line API. How can i terminate EC2 instance…
Pravin
  • 2,871
  • 5
  • 26
  • 29