<?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>thinking sysadmin &#187; ebs</title>
	<atom:link href="http://andyleonard.com/tag/ebs/feed/" rel="self" type="application/rss+xml" />
	<link>http://andyleonard.com</link>
	<description>qstat -u aleonard -s z</description>
	<lastBuildDate>Tue, 28 Feb 2012 04:47:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Adding Swap to an EC2 Micro Instance</title>
		<link>http://andyleonard.com/2010/12/03/adding-swap-to-an-ec2-micro-instance/</link>
		<comments>http://andyleonard.com/2010/12/03/adding-swap-to-an-ec2-micro-instance/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 21:57:46 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[utility computing]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[puppet]]></category>
		<category><![CDATA[swap]]></category>

		<guid isPermaLink="false">http://andyleonard.com/?p=552</guid>
		<description><![CDATA[EC2 micro instances come with no swap by default &#8211; at least every micro instance that I&#8217;ve ever launched does, I&#8217;m not sure if it&#8217;s theoretically possible to launch an instance with swap. The lack of swap is probably a side-effect of the limited memory combined with EBS-only storage and concomitant risk of high EBS [...]]]></description>
			<content:encoded><![CDATA[<p>EC2 micro instances come with no swap by default &#8211; at least every micro instance that I&#8217;ve ever launched does, I&#8217;m not sure if it&#8217;s theoretically possible to launch an instance with swap.  The lack of swap is probably a side-effect of the limited memory combined with EBS-only storage and concomitant risk of high EBS charges if you swap heavily.</p>
<p>However, if you&#8217;re willing to accept the risk of unexpected high EBS I/O costs, it&#8217;s straightforward to add swap:</p>
<pre class="brush: plain; light: true; title: ; notranslate">
# /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024
# /sbin/mkswap /var/swap.1
# /sbin/swapon /var/swap.1
</pre>
<p>Or, if you prefer Puppet:</p>
<pre class="brush: plain; title: ; notranslate">
class swapfile {

  exec { &quot;create swap file&quot;:
    command =&gt; &quot;/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024&quot;,
    creates =&gt; &quot;/var/swap.1&quot;,
  }

  exec { &quot;attach swap file&quot;:
    command =&gt; &quot;/sbin/mkswap /var/swap.1 &amp;&amp; /sbin/swapon /var/swap.1&quot;,
    require =&gt; Exec[&quot;create swap file&quot;],
    unless =&gt; &quot;/sbin/swapon -s | grep /var/swap.1&quot;,
  }

}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://andyleonard.com/2010/12/03/adding-swap-to-an-ec2-micro-instance/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Amazon Elastic Block Store is out!</title>
		<link>http://andyleonard.com/2008/08/21/amazon-elastic-block-store-is-out/</link>
		<comments>http://andyleonard.com/2008/08/21/amazon-elastic-block-store-is-out/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 15:07:27 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[storage]]></category>
		<category><![CDATA[amazon aws]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>

		<guid isPermaLink="false">http://andyleonard.com/?p=71</guid>
		<description><![CDATA[Amazon&#8217;s much-awaited Elastic Block Store for EC2 is out this morning; I&#8217;m excited to give this a try. A couple downers from the announcement: The pricing is somewhat high &#8211; $0.10 per allocated GB per month plus $0.10 per 1 million I/O requests &#8211; and the reliability isn&#8217;t where I&#8217;d like it to be. Specifically, [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon&#8217;s much-awaited Elastic Block Store for EC2 is out this morning; I&#8217;m excited to give this a try.  A couple downers from the announcement: The pricing is somewhat high &#8211; $0.10 per allocated GB per month plus $0.10 per 1 million I/O requests &#8211; and the reliability isn&#8217;t where I&#8217;d like it to be.  Specifically, Amazon <a href="http://www.amazon.com/gp/browse.html/ref=pe_2170_10160930?node=689343011">notes</a>:</p>
<blockquote><p>Volumes that operate with 20 GB or less of modified data since their most recent Amazon EBS snapshot can expect an annual failure rate (AFR) of between 0.1% &#8211; 0.5%, where failure refers to a complete loss of the volume. This compares with commodity hard disks that will typically fail with an AFR of around 4%, making EBS volumes 10 times more reliable than typical commodity disk drives.</p>
<p>Because Amazon EBS servers are replicated within a single Availability Zone, mirroring data across multiple Amazon EBS volumes in the same Availability Zone will not significantly improve volume durability.</p></blockquote>
<p>That last sentence makes it sound like there is a 0.1% &#8211; 0.5% chance of catastrophic data loss of many distinct EBS volumes in an availability zone.  If that&#8217;s the case, that&#8217;s scary &#8211; off the top of my head, I&#8217;d say your run-of-the mill &#8220;Enterprise&#8221; SAN doesn&#8217;t have a one-in-two hundred risk of catastrophic failure per year.</p>
<p>More links, not all of which I&#8217;ve had a chance to fully digest yet:</p>
<ul>
<li><a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1667">Feature Guide: Elastic Block Store</a></li>
<li><a href="http://aws.typepad.com/aws/2008/08/amazon-elastic.html">Amazon EBS (Elastic Block Store) &#8211; Bring Us Your Data</a></li>
<li><a href="http://blog.rightscale.com/2008/08/20/amazon-ebs-explained/">Amazon’s Elastic Block Store explained</a></li>
<li><a href="http://blog.rightscale.com/2008/08/20/why-amazon-ebs-matters/">Why Amazon’s Elastic Block Store Matters</a></li>
<li><a href="http://aws.typepad.com/aws/2008/08/amazon-ebs---to.html">Amazon EBS &#8211; Tool and Library Support</a></li>
<li><a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1663">Running MySQL on Amazon EC2 with Elastic Block Store</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://andyleonard.com/2008/08/21/amazon-elastic-block-store-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best Links that were later deleted, 8/11/2008</title>
		<link>http://andyleonard.com/2008/08/11/the-best-links-that-were-later-deleted-8112008/</link>
		<comments>http://andyleonard.com/2008/08/11/the-best-links-that-were-later-deleted-8112008/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 04:52:54 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[link dump]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazon aws]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[netapp]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://andyleonard.com/?p=60</guid>
		<description><![CDATA[So I returned from a little five-day weekend to sunny Lake Chelan and the Columbia River to an RSS reader bursting at the seams with new posts. By far the best post was one later deleted: Amazon Elastic Block Store goes live! (Yeah, that link&#8217;s dead &#8211; like I said, it was later deleted.) The [...]]]></description>
			<content:encoded><![CDATA[<p>So I returned from a little five-day weekend to sunny Lake Chelan and the Columbia River to an RSS reader bursting at the seams with new posts.  By far the best post was one later deleted:</p>
<ul>
<li><a href="http://blog.rightscale.com/2008/08/08/amazon-ebs-live/">Amazon Elastic Block Store goes live!</a> (Yeah, that link&#8217;s dead &#8211; like I said, it was later deleted.)  The RightScale folks appear to have inadvertently published a draft (on 8/8, the day after I left town) of their blog post designed to coincide with the release of Amazon&#8217;s Elastic Block Store for EC2.  They later deleted it, but Google Reader kindly cached the post for me.  I won&#8217;t repeat anything in the post, nor would I bank on anything written there &#8211; would you gamble anything important on a retracted post about a not-yet-released product?  I will add one comment: Will EBS attract attention of the lawsuit kind from NetApp?  (I mean that comment only partially in jest &#8211; and you&#8217;d probably have to have seen the original post to know what I&#8217;m talking about.)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://andyleonard.com/2008/08/11/the-best-links-that-were-later-deleted-8112008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

