<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hemju &#187; Example</title>
	<atom:link href="http://www.hemju.com/tags/example/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hemju.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Aug 2010 07:35:15 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>The 600 USD command</title>
		<link>http://www.hemju.com/2009/04/06/the-600-usd-command/</link>
		<comments>http://www.hemju.com/2009/04/06/the-600-usd-command/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 08:56:33 +0000</pubDate>
		<dc:creator>Helmut M. Juskewycz</dc:creator>
				<category><![CDATA[hemju]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Example]]></category>

		<guid isPermaLink="false">http://www.hemju.com/?p=199</guid>
		<description><![CDATA[I recently switched an Amazon instance to the new Amazon reserved instances price scheme. At first I was confused how to do that. Amazon doesn&#8217;t provide an interface for buying a preserved. In fact you have to use the EC2 tools and command line to do. I am comfortable to use the command line, however, [...]


<b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/04/06/amazon-ec2-preserved-pricing-scheme/' rel='bookmark' title='Permanent Link: Amazon EC2 preserved instances pricing scheme'>Amazon EC2 preserved instances pricing scheme</a></li>
<li><a href='http://www.hemju.com/2009/05/19/amazon-ec2-rails-roundup-2-small-instances-vs-1-high-cpu-medium-instance/' rel='bookmark' title='Permanent Link: Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance'>Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I recently switched an Amazon instance to the new Amazon reserved instances price scheme. At first I was confused how to do that. Amazon doesn&#8217;t provide an interface for buying a preserved. In fact you have to use the EC2 tools and command line to do. I am comfortable to use the command line, however, I never used the command line to buy something.</p>
<p>First, you need to install the EC2 tools. You can find a guide here. After installing the EC2 tools, the following command lists all reserved instances:</p>
<pre lang="bash" escaped="true">
ec2-describe-reserved-instances-offerings
</pre>
<p>This results in the following output:</p>
<pre lang="bash" escaped="true">
OFFERING    e5a2ff3b-f6eb-4b4e-83f8-b879d7060257    us-east-1c    c1.medium    3y     1000.0    0.06    Linux/UNIX
OFFERING    248e7b75-afbc-4724-82b2-d78353299433    us-east-1b    c1.medium    3y     1000.0    0.06    Linux/UNIX
OFFERING    60dcfab3-d5b8-4d3d-9f38-480b34d38239    us-east-1a    c1.medium    3y     1000.0    0.06    Linux/UNIX
OFFERING    c48ab04c-42bb-4e5b-8c1b-c015f9604dd5    us-east-1c    c1.medium    1y     650.0    0.06    Linux/UNIX
OFFERING    ceb6a579-b754-4a50-a53e-36efdb8eb28b    us-east-1b    c1.medium    1y     650.0    0.06    Linux/UNIX
OFFERING    3a98bf7d-b94b-412a-8de5-8c77dfcc4ffd    us-east-1a    c1.medium    1y     650.0    0.06    Linux/UNIX
OFFERING    248e7b75-ed4c-4ca7-b42b-d14ee74a3360    us-east-1b    c1.xlarge    3y     4000.0    0.24    Linux/UNIX
OFFERING    ceb6a579-1420-4728-ace3-9cb73934afcf    us-east-1c    c1.xlarge    3y     4000.0    0.24    Linux/UNIX
OFFERING    60dcfab3-97dd-421b-8f75-c126de7741ce    us-east-1a    c1.xlarge    3y     4000.0    0.24    Linux/UNIX
OFFERING    ceb6a579-f9b0-4bff-994c-c62030080d27    us-east-1b    c1.xlarge    1y     2600.0    0.24    Linux/UNIX
OFFERING    4b2293b4-cb88-480b-999d-a17683faa92f    us-east-1c    c1.xlarge    1y     2600.0    0.24    Linux/UNIX
OFFERING    60dcfab3-fa53-4d32-97cc-2fd1a0a8c0ac    us-east-1a    c1.xlarge    1y     2600.0    0.24    Linux/UNIX
OFFERING    649fd0c8-8bd3-489e-904c-4c5dfcb131ea    us-east-1b    m1.large    3y     2000.0    0.12    Linux/UNIX
OFFERING    248e7b75-5324-48e5-9749-fd3b4de01829    us-east-1a    m1.large    3y     2000.0    0.12    Linux/UNIX
OFFERING    d586503b-6876-4d40-8f94-1b2dde6b0ead    us-east-1c    m1.large    3y     2000.0    0.12    Linux/UNIX
OFFERING    248e7b75-a817-462e-996a-8ea7b4810a0e    us-east-1b    m1.large    1y     1300.0    0.12    Linux/UNIX
OFFERING    c48ab04c-280c-4879-8119-63ac87002498    us-east-1a    m1.large    1y     1300.0    0.12    Linux/UNIX
OFFERING    649fd0c8-4af1-4f63-bbdb-1a05951886a4    us-east-1c    m1.large    1y     1300.0    0.12    Linux/UNIX
OFFERING    3a98bf7d-96c3-4d2f-a263-123fa6b46d61    us-east-1b    m1.small    3y     500.0    0.03    Linux/UNIX
OFFERING    248e7b75-0799-4a55-a0cb-f8d28eb11921    us-east-1a    m1.small    3y     500.0    0.03    Linux/UNIX
OFFERING    438012d3-d93c-4fbd-a245-33b4bf0930ec    us-east-1c    m1.small    3y     500.0    0.03    Linux/UNIX
OFFERING    60dcfab3-a56c-4092-8c90-3677e9da02b7    us-east-1b    m1.small    1y     325.0    0.03    Linux/UNIX
OFFERING    4b2293b4-1e6c-4eb3-ab74-4493c0e57987    us-east-1a    m1.small    1y     325.0    0.03    Linux/UNIX
OFFERING    c48ab04c-c057-457e-a4d8-a0f172f4db2d    us-east-1c    m1.small    1y     325.0    0.03    Linux/UNIX
OFFERING    c48ab04c-6769-4bc1-966e-f7b0326001dd    us-east-1b    m1.xlarge    3y     4000.0    0.24    Linux/UNIX
OFFERING    649fd0c8-4767-43a1-a530-b4a1f0c08c31    us-east-1a    m1.xlarge    3y     4000.0    0.24    Linux/UNIX
OFFERING    d586503b-20ad-4beb-bc88-60a1333c2b98    us-east-1c    m1.xlarge    3y     4000.0    0.24    Linux/UNIX
OFFERING    e5a2ff3b-8646-4f48-912a-aaeba5823c73    us-east-1b    m1.xlarge    1y     2600.0    0.24    Linux/UNIX
OFFERING    c48ab04c-63ab-4cd6-b8f5-978a29eb9bcc    us-east-1a    m1.xlarge    1y     2600.0    0.24    Linux/UNIX
OFFERING    c48ab04c-119e-41f1-8b0f-b83c4fc4f869    us-east-1c    m1.xlarge    1y     2600.0    0.24    Linux/UNIX
</pre>
<p>So, to reserve one small instance in the us-east-1a region, just type</p>
<pre lang="bash" escaped="true">
ec2-purchase-reserved-instances-offering -c 1 -o 248e7b75-0799-4a55-a0cb-f8d28eb11921
</pre>
<p>then press enter and you are credited 500 USD plus 100 USD taxes. However, in 300 days the command pays for itself.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-enjoy">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.hemju.com/2009/04/06/the-600-usd-command/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;title=The+600+USD+command" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;title=The+600+USD+command" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;title=The+600+USD+command&amp;desc=I%20recently%20switched%20an%20Amazon%20instance%20to%20the%20new%20Amazon%20reserved%20instances%20price%20scheme.%20At%20first%20I%20was%20confused%20how%20to%20do%20that.%20Amazon%20doesn%27t%20provide%20an%20interface%20for%20buying%20a%20preserved.%20In%20fact%20you%20have%20to%20use%20the%20EC2%20tools%20and%20command%20line%20to%20do.%20I%20am%20comfortable%20to%20use%20the%20command%20line%2C%20howeve" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;bm_description=The+600+USD+command&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;title=The+600+USD+command" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;title=The+600+USD+command" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.hemju.com/2009/04/06/the-600-usd-command/&amp;title=The+600+USD+command" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.hemju.com/2009/04/06/the-600-usd-command/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=The+600+USD+command+-+http://b2l.me/28mxm&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p><b>Related posts:</b><ol><li><a href='http://www.hemju.com/2009/04/06/amazon-ec2-preserved-pricing-scheme/' rel='bookmark' title='Permanent Link: Amazon EC2 preserved instances pricing scheme'>Amazon EC2 preserved instances pricing scheme</a></li>
<li><a href='http://www.hemju.com/2009/05/19/amazon-ec2-rails-roundup-2-small-instances-vs-1-high-cpu-medium-instance/' rel='bookmark' title='Permanent Link: Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance'>Amazon EC2 Rails roundup: 2 small instances vs 1 high CPU medium instance</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.hemju.com/2009/04/06/the-600-usd-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
