<?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"
	>
<channel>
	<title>Comments on: Amazon Elastic Block Store (EBS)</title>
	<atom:link href="http://www.motionstandingstill.com/amazon-elastic-block-store-ebs/2008-08-23/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.motionstandingstill.com/amazon-elastic-block-store-ebs/2008-08-23/</link>
	<description>high performance ruby on rails</description>
	<pubDate>Wed, 07 Jan 2009 03:40:06 +0000</pubDate>
	
		<item>
		<title>By: Rob Coup</title>
		<link>http://www.motionstandingstill.com/amazon-elastic-block-store-ebs/2008-08-23/#comment-2423</link>
		<dc:creator>Rob Coup</dc:creator>
		<pubDate>Sun, 24 Aug 2008 07:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.motionstandingstill.com/?p=90#comment-2423</guid>
		<description>&#62; Firstly a big cause of concern for me is their service having already experienced a number of notable down times including what appears to be reported data loss.

Amazon has always said "expect failure" with regards to their services. S3/SQS *will* (and does) return 500/503 errors at times. And EC2 instances *will* go away at some point. If people ignore this and assume their EC2 instances will be up for ever and ever, then they will experience data loss.

&#62; Thirdly is unexpected restarts.  What event based actions can I automate?  I don’t know and this is possibly just because I’ve not dug into it deep enough yet.  When they restart, EC2 servers are blank again.  Can I set them to be automatically loaded with a script which reverts their state back to what it was pre-reboot?

So, one way is to use a system configuration tool like &lt;a href="http://puppet.reductivelabs.com/" rel="nofollow"&gt;puppet&lt;/a&gt;. Simpler option is to write a startup script that is passed to the instance as part of the user-data and executed. This is how the &lt;a href="http://alestic.com/" rel="nofollow"&gt;Ubuntu &#38; Debian AMIs&lt;/a&gt; are set up. Such a script can install packages, download other scripts or do other more exciting and complicated things too. And if you get an "installed" image set up, its pretty easy to save it back to S3 as a new AMI - this leaves you only to do minimal node configuration on boot, since the OS and related packages are already installed. EBS makes some of this easier, but if you want to scale using EC2 you'll need to deal with it at some point.

&#62; Forthly, permanent ip addresses - I know they have them but again that’s about the limit of my knowledge. Can I have more than one ip address per server?  Can I have a floating one if I want to roll my own my high availability configuration?

Each EC2 instance has a private IP, a public IP, and optionally one or more &lt;a&gt;"elastic IPs"&lt;/a&gt;. These are static addresses that can be mapped onto one running EC2 instance, and you can remap it via the "ec2-associate-address" command. They're free as long as they're assigned to instances - if you have unassigned IP addresses they're charged at 1c/hour.</description>
		<content:encoded><![CDATA[<p>&gt; Firstly a big cause of concern for me is their service having already experienced a number of notable down times including what appears to be reported data loss.</p>
<p>Amazon has always said &#8220;expect failure&#8221; with regards to their services. S3/SQS *will* (and does) return 500/503 errors at times. And EC2 instances *will* go away at some point. If people ignore this and assume their EC2 instances will be up for ever and ever, then they will experience data loss.</p>
<p>&gt; Thirdly is unexpected restarts.  What event based actions can I automate?  I don’t know and this is possibly just because I’ve not dug into it deep enough yet.  When they restart, EC2 servers are blank again.  Can I set them to be automatically loaded with a script which reverts their state back to what it was pre-reboot?</p>
<p>So, one way is to use a system configuration tool like <a href="http://puppet.reductivelabs.com/" rel="nofollow">puppet</a>. Simpler option is to write a startup script that is passed to the instance as part of the user-data and executed. This is how the <a href="http://alestic.com/" rel="nofollow">Ubuntu &amp; Debian AMIs</a> are set up. Such a script can install packages, download other scripts or do other more exciting and complicated things too. And if you get an &#8220;installed&#8221; image set up, its pretty easy to save it back to S3 as a new AMI - this leaves you only to do minimal node configuration on boot, since the OS and related packages are already installed. EBS makes some of this easier, but if you want to scale using EC2 you&#8217;ll need to deal with it at some point.</p>
<p>&gt; Forthly, permanent ip addresses - I know they have them but again that’s about the limit of my knowledge. Can I have more than one ip address per server?  Can I have a floating one if I want to roll my own my high availability configuration?</p>
<p>Each EC2 instance has a private IP, a public IP, and optionally one or more <a>&#8220;elastic IPs&#8221;</a>. These are static addresses that can be mapped onto one running EC2 instance, and you can remap it via the &#8220;ec2-associate-address&#8221; command. They&#8217;re free as long as they&#8217;re assigned to instances - if you have unassigned IP addresses they&#8217;re charged at 1c/hour.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.450 seconds -->
