<?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>Ideas.... &#187; ec2</title>
	<atom:link href="http://rosalynmetz.com/ideas/tag/ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://rosalynmetz.com/ideas</link>
	<description>a blog for me to record thoughts and ideas</description>
	<lastBuildDate>Mon, 19 Jul 2010 16:27:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Creating an EBS Backed AMI in the Cloud</title>
		<link>http://rosalynmetz.com/ideas/2009/12/07/creating-an-ebs-backed-ami-in-the-cloud/</link>
		<comments>http://rosalynmetz.com/ideas/2009/12/07/creating-an-ebs-backed-ami-in-the-cloud/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 23:11:29 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[ami]]></category>
		<category><![CDATA[blacklight]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[Solr]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=786</guid>
		<description><![CDATA[I decided that I wanted to create an EBS backed AMI on Amazon&#8217;s Cloud Computing platform.  I thought this would be REALLY hard.  I was completely wrong. The first thing I did was start with an already existing EBS AMI. Right now there aren&#8217;t too many available but they are growing.  I chose an Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>I decided that I wanted to create an EBS backed AMI on Amazon&#8217;s Cloud Computing platform.  I thought this would be REALLY hard.  I was completely wrong.</p>
<p>The first thing I did was start with an already existing EBS AMI. Right now there aren&#8217;t too many available but they are growing.  I chose an Ubuntu 9.04 image since I&#8217;m going to install a stack on it, and I&#8217;ve already done *most* of it before on Ubuntu.</p>
<p>A quick note: it is possible to create an EBS AMI from an S3 AMI, but I wasn&#8217;t able to figure that out (quickly).  Although I did find a script that will do this for you: http://gist.github.com/249915.</p>
<p>Next, I wanted to get the Ubuntu server prepared.  I needed to:</p>
<ul>
<li> install mysql &#8212; http://www.howtogeek.com/howto/ubuntu/install-mysql-server-5-on-ubuntu/</li>
<li>install ruby on rails &#8212; http://www.hackido.com/2009/04/install-ruby-rails-on-ubuntu-904-jaunty.html (up to and including step 6)</li>
<li>install zlib &#8212; http://www.techsww.com/tutorials/libraries/zlib/installation/installing_zlib_on_ubuntu_linux.php</li>
<li>install blacklight &#8212; http://projectblacklight.org (includes solr and a number of gem dependencies)</li>
</ul>
<p>I did all of this.  One thing I noticed, Blacklight requires me to use non-standard ports (ie not 22 and 80).  While the server was running, I went into the AWS console and opened ports for its associated security group.  The changes took effect immediately.  I definitely liked that.</p>
<p>Finally, I went in to the AWS Management Console and chose &#8220;Create Image (EBS AMI)&#8221;.</p>
<p><a href="http://rosalynmetz.com/ideas/wp-content/uploads/2009/12/Picture-1.png"><img class="size-large wp-image-787 alignnone" title="Create Image (EBS AMI)" src="http://rosalynmetz.com/ideas/wp-content/uploads/2009/12/Picture-1-300x130.png" alt="Picture 1" width="300" height="130" /></a></p>
<p>Then I filled in the information including a description of my image:</p>
<p><a href="http://rosalynmetz.com/ideas/wp-content/uploads/2009/12/Picture-2.png"><img class="alignnone size-large wp-image-788" title="EBS AMI Details" src="http://rosalynmetz.com/ideas/wp-content/uploads/2009/12/Picture-2-300x213.png" alt="EBS AMI Details" width="300" height="213" /></a></p>
<p>and voila! EBS backed AMI.  the one caveat is:</p>
<p>DON&#8217;T TERMINATE THE INSTANCE UNTIL THE NEW AMI HAS FINISHED BEING CREATED</p>
<p>because then you&#8217;ll loose all the work that you have just done.  doh!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Share/Save</a> </p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2009/12/07/creating-an-ebs-backed-ami-in-the-cloud/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
