How to Setup EC2 API Command line Tools on Windows PC

March 9, 2010

Download API Tools from http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88

Extract the zip file to C:\ folder (to avoid paths with quotes issues in windows). I also renamed the folder to “ec2-api-tools”

Set Java Home Environment Variable. Usually this looks like “C:\Program Files\Java\jrexxx”. Find out exact path on your computer

From Command Prompt

> cd C:\ec2-api-tools
> set JAVA_HOME=”C:\Program Files\Java\jre6″

Set EC2_HOME variable

> set EC2_HOME=C:\ec2-api-tools

Now Get Private key and Certificate Files and keep in C:\ec2-api-tools\keys\ folder for convenience.

Now you can test api-tools

> C:\ec2-api-tools\bin>ec2-describe-availability-zones -K C:\ec2-api-tools\keys\pk-xxx.pem -C C:\ec2-api-tools\keys\cert-xxx.pem

3 Responses to “How to Setup EC2 API Command line Tools on Windows PC”


  1. […] Java jre6" Imposta variabile EC2_HOME> set EC2_HOME = C: EC2-API-tools Ora Get […] From: N Rao Lakkakula’s Blog. Continue reading. Categorie:Senza categoria Tag: Commenti (0) Trackbacks (0) Lascia un […]


  2. o.k bro.. I will try it now, thank about your info..

  3. Anonymous Says:

    great.. was very useful


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: