<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting Up EC2 Command Line Tools on Windows</title>
	<atom:link href="http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/</link>
	<description>Your Tool for IT</description>
	<lastBuildDate>Tue, 13 Jul 2010 16:42:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Jonathan Hartley</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-2527</link>
		<dc:creator>Jonathan Hartley</dc:creator>
		<pubDate>Tue, 13 Jul 2010 16:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-2527</guid>
		<description>Oops. Figured it: Download &#039;elb*&#039; tools from here:
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2536&amp;categoryID=251

(as you specify on your next post. Thanks!)</description>
		<content:encoded><![CDATA[<p>Oops. Figured it: Download &#8216;elb*&#8217; tools from here:<br />
<a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2536&amp;categoryID=251" rel="nofollow">http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2536&amp;categoryID=251</a></p>
<p>(as you specify on your next post. Thanks!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Hartley</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-2526</link>
		<dc:creator>Jonathan Hartley</dc:creator>
		<pubDate>Tue, 13 Jul 2010 16:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-2526</guid>
		<description>Very dumb newbie question:

Where do the commands that start &#039;elb*&#039; come from, e.g. &#039;elb-create-lb&#039; (this is for creating an AWS LoadBalancer.)

I&#039;ve downloaded the command-line tools in &#039;ec2-api-tools.zip&#039;, but all the executables in the bin directory there start with &#039;exc2&#039;. So all my&#039;ec2*&#039; commands work just fine:

&gt; ec2ver
1.3-53907 2010-06-15

I&#039;m on Windows.</description>
		<content:encoded><![CDATA[<p>Very dumb newbie question:</p>
<p>Where do the commands that start &#8216;elb*&#8217; come from, e.g. &#8216;elb-create-lb&#8217; (this is for creating an AWS LoadBalancer.)</p>
<p>I&#8217;ve downloaded the command-line tools in &#8216;ec2-api-tools.zip&#8217;, but all the executables in the bin directory there start with &#8216;exc2&#8242;. So all my&#8217;ec2*&#8217; commands work just fine:</p>
<p>&gt; ec2ver<br />
1.3-53907 2010-06-15</p>
<p>I&#8217;m on Windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jarrod Valley</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-2118</link>
		<dc:creator>Jarrod Valley</dc:creator>
		<pubDate>Sat, 19 Jun 2010 20:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-2118</guid>
		<description>This is a outstanding article, I located your blog checking yahoo for a related topic and came to this. I couldnt find to much other info on this posting, so it was nice to discover this one. I probably will end up being returning to check out some other posts that you have another time.</description>
		<content:encoded><![CDATA[<p>This is a outstanding article, I located your blog checking yahoo for a related topic and came to this. I couldnt find to much other info on this posting, so it was nice to discover this one. I probably will end up being returning to check out some other posts that you have another time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-1630</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Mon, 24 May 2010 08:24:14 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-1630</guid>
		<description>Wow, thank you, spent hours on AWS site, just trying to find something to assist, and your instructions worked a treat.

Once I got the paths sorted of course :)

Thanks</description>
		<content:encoded><![CDATA[<p>Wow, thank you, spent hours on AWS site, just trying to find something to assist, and your instructions worked a treat.</p>
<p>Once I got the paths sorted of course <img src='http://serktools.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-1427</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 11 May 2010 03:56:21 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-1427</guid>
		<description>Dave,

If your using cygwin then you would want to follow Unix based instructions.  My instructions here are with the assumption you will use the windows command prompt (aka a DOS prompt).</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>If your using cygwin then you would want to follow Unix based instructions.  My instructions here are with the assumption you will use the windows command prompt (aka a DOS prompt).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-1426</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 May 2010 03:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-1426</guid>
		<description>Thats funny I don&#039;t have the cmd version but it was working the other day without any issues.

I think what happened is that when I first setup my environment I installed cygwin and that installation set up the right conditions but didn&#039;t persist them so that when I rebooted everything stopped working.

This is workign for me for now, but I will take your advice and update the tools soon.

C:\Users\dave&gt;bash ec2-describe-regions
REGION  eu-west-1       ec2.eu-west-1.amazonaws.com
REGION  us-east-1       ec2.us-east-1.amazonaws.com
REGION  us-west-1       ec2.us-west-1.amazonaws.com
REGION  ap-southeast-1  ec2.ap-southeast-1.amazonaws.com</description>
		<content:encoded><![CDATA[<p>Thats funny I don&#8217;t have the cmd version but it was working the other day without any issues.</p>
<p>I think what happened is that when I first setup my environment I installed cygwin and that installation set up the right conditions but didn&#8217;t persist them so that when I rebooted everything stopped working.</p>
<p>This is workign for me for now, but I will take your advice and update the tools soon.</p>
<p>C:\Users\dave&gt;bash ec2-describe-regions<br />
REGION  eu-west-1       ec2.eu-west-1.amazonaws.com<br />
REGION  us-east-1       ec2.us-east-1.amazonaws.com<br />
REGION  us-west-1       ec2.us-west-1.amazonaws.com<br />
REGION  ap-southeast-1  ec2.ap-southeast-1.amazonaws.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-1425</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 May 2010 02:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-1425</guid>
		<description>Mostly solved! 

First issue is that my OS is not recognizing the bash scripts as scripts.  If I type:
c:\bash ec2-describe-regions

It ran the script and provided the information I need to move forward.  When I ran the script it told me that I needed to use unix stlye delims (eg. / vs \) in my paths.

Eg.
EC2_HOME=c:/ec2-tools
EC2_CERT=
EC2_PRIVATE_KEY=


For now I can specify bash directly but it would be nice to be able to set the file association up again.</description>
		<content:encoded><![CDATA[<p>Mostly solved! </p>
<p>First issue is that my OS is not recognizing the bash scripts as scripts.  If I type:<br />
c:\bash ec2-describe-regions</p>
<p>It ran the script and provided the information I need to move forward.  When I ran the script it told me that I needed to use unix stlye delims (eg. / vs \) in my paths.</p>
<p>Eg.<br />
EC2_HOME=c:/ec2-tools<br />
EC2_CERT=<br />
EC2_PRIVATE_KEY=</p>
<p>For now I can specify bash directly but it would be nice to be able to set the file association up again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-1424</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 11 May 2010 02:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-1424</guid>
		<description>Dave,

The bin folder should contain a file called &#039;ec2-describe-regions&#039; without an extension and another file called &#039;ec2-describe-regions.cmd&#039;.  If you don&#039;t have the cmd files then I would download the API again and unzip again.</description>
		<content:encoded><![CDATA[<p>Dave,</p>
<p>The bin folder should contain a file called &#8216;ec2-describe-regions&#8217; without an extension and another file called &#8216;ec2-describe-regions.cmd&#8217;.  If you don&#8217;t have the cmd files then I would download the API again and unzip again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-1423</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 May 2010 02:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-1423</guid>
		<description>Just as a follow up.  The problem I am having is not path related because even if I specify the fully qualified path I still get the error. The trouble is not that it can not find the ec2-* files but that it does not recognize them as command files.

The error I am getting is what you would get if you just typed &quot;bob.txt&quot; at a cmd prompt.

&#039;bob.txt&#039; is not recognized as an internal or external command,
operable program or batch file.

So I wonder what I did before to get the OS to recognize all those ec2- files as command files.  They are bash scripts right?  When I run bash at the cmd prompt it loads fine so my cygwin setup seems to be fine.

could it be the declaration at the top of ec2-cmd?
#!/usr/bin/env bash

Looks like a comment but is it?</description>
		<content:encoded><![CDATA[<p>Just as a follow up.  The problem I am having is not path related because even if I specify the fully qualified path I still get the error. The trouble is not that it can not find the ec2-* files but that it does not recognize them as command files.</p>
<p>The error I am getting is what you would get if you just typed &#8220;bob.txt&#8221; at a cmd prompt.</p>
<p>&#8216;bob.txt&#8217; is not recognized as an internal or external command,<br />
operable program or batch file.</p>
<p>So I wonder what I did before to get the OS to recognize all those ec2- files as command files.  They are bash scripts right?  When I run bash at the cmd prompt it loads fine so my cygwin setup seems to be fine.</p>
<p>could it be the declaration at the top of ec2-cmd?<br />
#!/usr/bin/env bash</p>
<p>Looks like a comment but is it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/comment-page-1/#comment-1419</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 May 2010 00:28:22 +0000</pubDate>
		<guid isPermaLink="false">http://serktools.com/2009/05/19/setting-up-ec2-command-line-tools-on-windows/#comment-1419</guid>
		<description>Hi thanks for your post.  I am a bit frustrated because I had my environment setup and working but after a reboot things seem to have come undone.

I am getting the &quot;&#039;ec2-describe-regions&#039; is not recognized as an internal or external command&quot; error.

The thing is I am sure that all my paths are correct.  I dropped a boo.bat file in my %EC2_HOME&amp;\bin folder and when I run boo, it find it and runs it.  When I run java -version it responds correctly as well.

It seems to me that it might be a file associatation issues?  None of the scripts in the ec2_home\bin have extensions, so how does windows know to run them with java?

set JAVA_HOME=&quot;C:\Program Files\Java\jre6&quot;
set EC2_PRIVATE_KEY=E:\EC2\ec2-keys\pk-[[snip]].pem
set EC2_CERT=E:\EC2\ec2-keys\cert-[[snip]].pem
set EC2_HOME=C:\Apps\ec2-api-tools-1.3-51254
set PATH=%PATH%;%EC2_HOME%\bin</description>
		<content:encoded><![CDATA[<p>Hi thanks for your post.  I am a bit frustrated because I had my environment setup and working but after a reboot things seem to have come undone.</p>
<p>I am getting the &#8220;&#8216;ec2-describe-regions&#8217; is not recognized as an internal or external command&#8221; error.</p>
<p>The thing is I am sure that all my paths are correct.  I dropped a boo.bat file in my %EC2_HOME&amp;\bin folder and when I run boo, it find it and runs it.  When I run java -version it responds correctly as well.</p>
<p>It seems to me that it might be a file associatation issues?  None of the scripts in the ec2_home\bin have extensions, so how does windows know to run them with java?</p>
<p>set JAVA_HOME=&#8221;C:\Program Files\Java\jre6&#8243;<br />
set EC2_PRIVATE_KEY=E:\EC2\ec2-keys\pk-[[snip]].pem<br />
set EC2_CERT=E:\EC2\ec2-keys\cert-[[snip]].pem<br />
set EC2_HOME=C:\Apps\ec2-api-tools-1.3-51254<br />
set PATH=%PATH%;%EC2_HOME%\bin</p>
]]></content:encoded>
	</item>
</channel>
</rss>
