<?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; Cloud Computing</title>
	<atom:link href="http://rosalynmetz.com/ideas/tag/cloud-computing/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>Thu, 14 Apr 2011 17:56:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Resizing an EBS Backed AMI</title>
		<link>http://rosalynmetz.com/ideas/2011/04/14/resizing-an-ebs-backed-ami/</link>
		<comments>http://rosalynmetz.com/ideas/2011/04/14/resizing-an-ebs-backed-ami/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 12:51:23 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=950</guid>
		<description><![CDATA[So in my previous post I talked about all this work to make an EBS backed AMI.  At the end though I realized that I didn&#8217;t size the server right.  Doh!  This was fairly stupid of me.  So I followed &#8230; <a href="http://rosalynmetz.com/ideas/2011/04/14/resizing-an-ebs-backed-ami/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So in my previous post I talked about all this work to make an EBS backed AMI.  At the end though I realized that I didn&#8217;t size the server right.  Doh!  This was fairly stupid of me.  So I followed the same set of steps because all the instructions I found on resizing an existing image didn&#8217;t seem to work.  And then I tried something, you know, for $#!*$ and giggles.  Imagined how annoyed I was when it worked.</p>
<p>So here is the command for registering an EBS backed image based on a particular snapshot:</p>
<pre>ec2-register --block-device-mapping /dev/sda1=s&lt;snapshot id&gt;::false
--name "&lt;ami name&gt;" --kernel &lt;kernel id&gt; --ramdisk &lt;ramdisk id&gt;
-K &lt;key file&gt; -C &lt;cert file&gt;</pre>
<p>(<strong>Note</strong>: If you want the <em>volume</em> to persist after termination then you&#8217;ll want to change the true in the &#8211;block-device-mapping flag to false)</p>
<p>So the key is in the &#8211;block-device-mapping flag.  The documentation for Amazon states:</p>
<div id="attachment_951" class="wp-caption aligncenter" style="width: 1022px"><a href="http://rosalynmetz.com/ideas/wp-content/uploads/2011/04/Screen-shot-2011-04-14-at-8.45.47-AM.png"><img class="size-full wp-image-951 " title="Block Device Mapping Documentation" src="http://rosalynmetz.com/ideas/wp-content/uploads/2011/04/Screen-shot-2011-04-14-at-8.45.47-AM.png" alt="Block Device Mapping Documentation" width="1012" height="394" /></a><p class="wp-caption-text">Block Device Mapping Documentation</p></div>
<p>So it says somewhere in there that you can specify the size of the AMI in that particular flag, so if I want to increase the size of the instance all I would need to do is change the flag to read:</p>
<pre>--block-device-mapping /dev/sda1=s&lt;snapshot id&gt;:50:true</pre>
<p>or whatever size you want.  Afterwards you&#8217;ll need to log on to the server and resize the drive.  You can do this by running the following (assuming you&#8217;re using an ext3 root file system, which is what I used in my previous post):</p>
<pre>sudo resize2fs /dev/sda1
</pre>
<p>it&#8217;ll resize the drive and you should be good to go.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2011%2F04%2F14%2Fresizing-an-ebs-backed-ami%2F&amp;title=Resizing%20an%20EBS%20Backed%20AMI" id="wpa2a_2">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2011/04/14/resizing-an-ebs-backed-ami/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating an EBS Backed AMI</title>
		<link>http://rosalynmetz.com/ideas/2011/04/14/creating-an-ebs-backed-ami/</link>
		<comments>http://rosalynmetz.com/ideas/2011/04/14/creating-an-ebs-backed-ami/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 12:39:50 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[ec2]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=943</guid>
		<description><![CDATA[There are tons of instructions out there on how to create an EBS backed images.  Most of them don&#8217;t work for me because they are either out dated or the person&#8217;s instructions for copying the file structure doesn&#8217;t work.  I &#8230; <a href="http://rosalynmetz.com/ideas/2011/04/14/creating-an-ebs-backed-ami/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are tons of instructions out there on how to create an EBS backed images.  Most of them don&#8217;t work for me because they are either out dated or the person&#8217;s instructions for copying the file structure doesn&#8217;t work.  I finally found instructions though that do work.</p>
<p>So here is how I did it:</p>
<p>1) Start Up an Instance</p>
<p>The first thing I do is start up an instance.  Everyone has instructions on how to do this from the command line.  But I&#8217;m lazy and find that Amazon&#8217;s API tools change regularly which is annoying and makes it difficult to follow the instructions other people have written.  I recommend doing it in the AWS Console.</p>
<p>Go to EC2 in the AWS Console.  Choose AMI and find an image that you like (I tend to lean toward Alestic&#8217;s Ubuntu images, but that&#8217;s just me).  Once I found an AMI I like I highlight it and then choose &#8220;Launch Instance&#8221;.  I follow the instructions, making sure that I choose the correct security group (aka firewall) and the correct key pair (you access ec2 servers using a key pair rather than a password).</p>
<p>Once the server is up and running, I update everything, configure it, transfer data onto it, blah blah blah.  The usual things that you do when you are prepping a server.  Once I&#8217;m all set I&#8217;m ready to make it an EBS backed AMI.</p>
<p>2) Create a New EBS Volume</p>
<p>The next thing I do is create an EBS Volume, again doing it in the AWS Console.  Go to the EC2 section of the AWS Console.  Choose &#8220;Volumes&#8221; and then &#8220;Create Volume&#8221;.  You&#8217;ll want to make sure of two things:</p>
<p>First that the volume is large enough to hold everything.  I forgot to do that the first time around and *thought* I had to do everything all over again (see next post for how to really do it).  The easiest thing would be to just size it right the first time around.</p>
<p>Second that the volume is in the same availability zone as the instance you started up in step 1.  If you aren&#8217;t sure what the availability zone is for your instance, go back to the instance, highlight it, and in the bottom panel you&#8217;ll see what zone its in.</p>
<p>3) Attach Volume to Instance</p>
<p>When you are done you&#8217;ll want to attach the volume to the instance that you created in step 1.  Once the volume is available, highlight it and choose &#8220;Attach Volume&#8221;.  You&#8217;ll be stepped through attaching it to your server.  If you have only one instance running its pretty straightforward.  If you have multiple ones running, you&#8217;ll want to make sure that you&#8217;re attaching it to the right place.  You&#8217;ll be asked to indicate where you want the attached, I usually do /dev/sdf.  Oh and this process won&#8217;t work if the volume and the instance aren&#8217;t in the same availability zone, hence my warning in the previous step.</p>
<p>4) Copy the Data from the Server to the Volume</p>
<p>This part of the instructions I found over at <a title="Winners Don't Lose" href="http://winnersdontlose.com/?p=95" target="_blank">Winners Don&#8217;t Lose</a>.  This helps you format the volume and copy the data on the current instance over to the volume:</p>
<pre>In a root shell on the instance:

# mkfs.ext3 /dev/sdf
# mkdir /mnt/target &amp;&amp; mount /dev/sdf /mnt/target
# rsync -avHx / /mnt/target
# rsync -avHx /dev /mnt/target
# sync;sync;sync;sync &amp;&amp; umount /mnt/target

The above commands did the following:

formatted the entire volume /dev/sdf as an extended 3 filesystem
created directory /mnt/target and mounted /dev/sdf at /mnt/target
rsync’d the root instance-store filesystem to the ebs volume
synchronized the /dev directory from the instance-store filesystem
flush all pending write ops, and unmount the EBS volume</pre>
<p>To be honest these are the only instructions I&#8217;ve ever been able to follow that doesn&#8217;t produce some error that I have to debug.</p>
<p>5) Detach the Volume</p>
<p>The next step is to detach the volume that you just created from the running instance.  Again you can do this in the AWS console by finding the volume, highlighting it, and choosing detach.  Make sure the you&#8217;re detaching the right volume though!</p>
<p>6) Create a Snapshot of the Volume</p>
<p>You&#8217;ll want to create a snapshot of the volume that you just created.  You can again do that in the AWS Management console but finding the volume, right clicking on it, and choosing create snapshot.</p>
<p>7) Register your AMI</p>
<p>This is the part that took me forever to figure out.  Mostly because the documentation for the ec2-register command didn&#8217;t jive with the tools that i had access too.  The command I used was:</p>
<pre>ec2-register --block-device-mapping /dev/sda1=&lt;snapshot id&gt;::true
--name &lt;ami name&gt; --kernel &lt;kernel id&gt; --ramdisk &lt;ram disk id&gt;
-K &lt;your pk file&gt;.pem -C &lt;your cert file&gt;.pem</pre>
<p>(note i updated this:  if you want the <em>volume</em> to persist after termination then you&#8217;ll want to change the true in the &#8211;block-device-mapping flag to false)</p>
<p>You&#8217;ll want to make sure that you specify and kernel id and a ram disk id, I usually use the same one that my instance I&#8217;m creating this new AMI from was using.  You don&#8217;t have to do it, but that would mean that if your AMI users don&#8217;t choose one during start up, then the instance won&#8217;t work.</p>
<p>Note that you may have your key and cert file set as part of your environment variable.  I have multiple accounts so I don&#8217;t, and instead just specify them when I&#8217;m running any commands (annoying but I don&#8217;t do much from the commandline anyway).</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2011%2F04%2F14%2Fcreating-an-ebs-backed-ami%2F&amp;title=Creating%20an%20EBS%20Backed%20AMI" id="wpa2a_4">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2011/04/14/creating-an-ebs-backed-ami/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Slicehost, My New Best Friend</title>
		<link>http://rosalynmetz.com/ideas/2011/02/27/slicehost-my-new-best-friend/</link>
		<comments>http://rosalynmetz.com/ideas/2011/02/27/slicehost-my-new-best-friend/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 03:10:05 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Rackspace]]></category>
		<category><![CDATA[Slicehost]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=917</guid>
		<description><![CDATA[Over the past few months I&#8217;ve been working on a number of small projects.  First I&#8217;ve been working to set up an academic blog service for the campus.  The service will be used for class projects and faculty projects.  Another &#8230; <a href="http://rosalynmetz.com/ideas/2011/02/27/slicehost-my-new-best-friend/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Over the past few months I&#8217;ve been working on a number of small projects.  First I&#8217;ve been working to set up an academic blog service for the campus.  The service will be used for class projects and faculty projects.  Another system I&#8217;ve been working on is something called WebWork.  The system allows faculty to pick math problems from a variety of different sets and then assign them to their students.  All the problem sets are done online including grading.  Apparently it integrates with Moodle, but that&#8217;s something that will have to wait for now.  The last thing I&#8217;ve been working on is a Drupal based website for a grant project that I&#8217;ve been involved in.</p>
<p>So what do these three things have in common?  Each one is being hosted with Slicehost.</p>
<p>Slicehost is virtual private hosting and a subsidiary of cloud computing provider Rackspace.  Essentially all of their servers are in Rackspace&#8217;s cloud.  Slicehost allows you to provision servers, schedule backups, create snapshots, clone servers, etc.  But rather than being charged per hour, you&#8217;re charged a flat monthly fee (which can go up if you go over your bandwidth allowance).</p>
<p>So just like any best friend there are things about it that I like and thinks about it I don&#8217;t like.  I like how easy it is to clone a server or create a back up.  So if I want to upgrade WordPress for example, rather than dumping the MySQL database, backing up the files and then upgrading, I can take a snapshot of the server and then upgrade knowing that I have an exact replica of the system.  I also like how easy it is to do development work.  If there is a bug fix or something that I want to try out, I can clone the server, work on the changes, and know that it&#8217;ll work on my production instance (because essentially I&#8217;m using my production instance).</p>
<p>I speak so glowingly of it, what criticisms could I have?  Well what would be great is if I could have the best of both worlds.  I wish that in addition to paying a flat monthly fee, I could have the option to provision for just a few hours.  Maybe I could log into Rackspace&#8217;s cloud, see my Slicehost servers and clone them there.  This would help me with handling data loss and working on smaller more urgent bug fixes.  Maybe I&#8217;ll get lucky, they&#8217;ll read this, and figure out how to make all my dreams come true.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2011%2F02%2F27%2Fslicehost-my-new-best-friend%2F&amp;title=Slicehost%2C%20My%20New%20Best%20Friend" id="wpa2a_6">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2011/02/27/slicehost-my-new-best-friend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backing Up Moodle to the Cloud</title>
		<link>http://rosalynmetz.com/ideas/2010/06/26/backing-up-moodle-to-the-cloud/</link>
		<comments>http://rosalynmetz.com/ideas/2010/06/26/backing-up-moodle-to-the-cloud/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 14:42:11 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Moodle]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=882</guid>
		<description><![CDATA[I have a plan to back up Wheaton&#8217;s Learning Management System (LMS) to the cloud on a yearly basis. I talked about the basics of this architecture in my post I &#60;3 Redmine and You Will Too.Essentially each academic year &#8230; <a href="http://rosalynmetz.com/ideas/2010/06/26/backing-up-moodle-to-the-cloud/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_861" class="wp-caption alignright" style="width: 310px"><a href="http://rosalynmetz.com/ideas/wp-content/uploads/2010/05/moodle-arch.png"><img class="size-medium wp-image-861" title="Moodle Architecture" src="http://rosalynmetz.com/ideas/wp-content/uploads/2010/05/moodle-arch-300x223.png" alt="Moodle Architecture" width="300" height="223" /></a><p class="wp-caption-text">Visual depiction of the rotating Moodle architecture</p></div>
<p>I have a plan to back up Wheaton&#8217;s Learning Management System (LMS) to the cloud on a yearly basis.  I talked about the basics of this architecture in my post <em><a href="http://rosalynmetz.com/ideas/2010/05/24/i/" target="_blank">I &lt;3 Redmine and You Will Too</a>.</em>Essentially each academic year I will rotate a years worth of Moodle into the cloud, only keeping the current year and the previous year.  Here&#8217;s a picture to give you a little help in understanding<span style="font-size: small;"><span style="line-height: 17px;">.</span></span></p>
<p><span style="font-size: small;">So now I need to find a way for people that are <strong>not me</strong> to access the Moodle that lives in the cloud.  The problem is that every moodle has a config file, and in that config file, Moodle asks you to specify the URL for where your Moodle is located, this is slightly problematic because:</span></p>
<ol>
<li>Amazon EC2 servers are not given IP addresses, they are given a Public DNS like</li>
<li>Technically they can be assigned to an IP address but <a href="http://aws.amazon.com/ec2/#features" target="_blank">Elastic IPs</a> cost money when they aren&#8217;t being used, and frankly I would rather not have to pay extra if I don&#8217;t have to.</li>
<li>The people accessing these Moodles can&#8217;t be expected to ssh into a server and change the config file.</li>
</ol>
<p>So I need to make this happen automagically when the server starts up.  I tried using the php variable $_SERVER but I got some weird things.  So my idea is to have a start up script call the public-hostname (using the API amazon provides) and then edit the config file.  That way when the server starts up, Moodle will automagically be available.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2010%2F06%2F26%2Fbacking-up-moodle-to-the-cloud%2F&amp;title=Backing%20Up%20Moodle%20to%20the%20Cloud" id="wpa2a_8">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2010/06/26/backing-up-moodle-to-the-cloud/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Misinterpretations</title>
		<link>http://rosalynmetz.com/ideas/2010/05/26/misinterpretations/</link>
		<comments>http://rosalynmetz.com/ideas/2010/05/26/misinterpretations/#comments</comments>
		<pubDate>Wed, 26 May 2010 11:31:51 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=869</guid>
		<description><![CDATA[So last night James Urquhart tweeted that he was misinterpreted in my blog post.  He said in another tweet: I never argued *against* PHP/Python/Perl or even use of Linux/Apache by PaaS vendor. Just noted PaaS users *shouldn&#8217;t* care. I apologized &#8230; <a href="http://rosalynmetz.com/ideas/2010/05/26/misinterpretations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So last night James Urquhart tweeted that <a href="http://twitter.com/jamesurquhart/status/14734847156">he was misinterpreted</a> in my blog post.  He said in <a href="http://twitter.com/jamesurquhart/status/14735024573">another tweet</a>:</p>
<blockquote><p>I never argued *against* PHP/Python/Perl or even use of Linux/Apache by PaaS vendor. Just noted PaaS users *shouldn&#8217;t* care.</p></blockquote>
<p>I <a href="http://twitter.com/rosy1280/status/14735715884">apologized</a> and asked for <a href="http://twitter.com/rosy1280/status/14735871851">clarification</a> since it seemed to me that there was an argument about whether or not a PHP/Perl cloud was necessary.</p>
<p>I re-read the article a few times, and on the last go around the only new explanations I could see from it was:</p>
<ol>
<li>if i wrote in php a vendor would deploy in another language</li>
<li>he meant that the LAM in LAMP was what didn&#8217;t matter  (although that didn&#8217;t seem to be explicitly stated)</li>
</ol>
<p>In the meantime though, I&#8217;ll just wait for a response (I sent it late last night and people tend to sleep) rather than possibly misinterpret more.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2010%2F05%2F26%2Fmisinterpretations%2F&amp;title=Misinterpretations" id="wpa2a_10">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2010/05/26/misinterpretations/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Who wants a PHP Cloud?  Users of OSS that&#8217;s who.</title>
		<link>http://rosalynmetz.com/ideas/2010/05/25/who-wants-a-php-cloud-users-of-oss-thats-who/</link>
		<comments>http://rosalynmetz.com/ideas/2010/05/25/who-wants-a-php-cloud-users-of-oss-thats-who/#comments</comments>
		<pubDate>Tue, 25 May 2010 20:43:15 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Moodle]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=865</guid>
		<description><![CDATA[Last week Geva Perry wrote a post published on GigaOm called Who Will Build the LAMP Cloud.  In it he speculated on current cloud providers that may be interested in building a PaaS (platform as a service) offering of the &#8230; <a href="http://rosalynmetz.com/ideas/2010/05/25/who-wants-a-php-cloud-users-of-oss-thats-who/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week Geva Perry wrote a post published on GigaOm called <a href="http://gigaom.com/2010/05/22/who-will-build-the-lamp-cloud/">Who Will Build the LAMP Cloud</a>.  In it he speculated on current cloud providers that may be interested in building a PaaS (platform as a service) offering of the traditional LAMP stack.  A few days later James Urquhart responded with his blog post entitled <a href="http://news.cnet.com/8301-19413_3-20005709-240.html?tag=contentMain;contentBody">Does Cloud Computing Need LAMP</a>.  In it he questions whether the Linux and Apache piece are really necessary in a PaaS offering.  He then goes on to question the usefulness of P languages (PHP, Perl, Python) and MySQL, using a <a href="http://gigaom.com/2010/05/22/who-will-build-the-lamp-cloud/#comment-1034560">comment to Geva&#8217;s post</a> as a jumping off point.  Geva then comments back with a post on his own blog entitled <a href="http://gevaperry.typepad.com/main/2010/05/lamp-cloud.html">Who Will Build the LAMP Cloud? And Who Cares?</a> In it he agrees with James&#8217; comments on not caring about the LA in LAMP, but says:</p>
<blockquote><p>James&#8217; last question: &#8220;Is the &#8216;open sourceness&#8217; of a programming stack even that important anymore?&#8221; is a good one, but orthogonal to the discussion about a LAMP/PHP cloud, in my mind.</p></blockquote>
<p>So why has this conversation gotten me in a tizzy and forced me to write two blog posts in one week?  Well two reasons:</p>
<ol>
<li>Many web based open source projects are built on the back of P languages (PHP, Perl, and Python)</li>
<li>The cloud exists to make technology easier for the masses.</li>
</ol>
<p>Now before I go any further I will disclose that the first language I learned was PHP.  The second one was Perl.  While I know there are <a href="http://www.mail-archive.com/code4lib@listserv.nd.edu/msg07498.html" target="_blank">wars that start on listservs</a> about what languages are better, that is not the purpose of this post, so put it out of your head and don&#8217;t say anything about how much you think PHP sucks in the comments.</p>
<h2>Web based open source projects are built on the back of P languages</h2>
<p>Now I could write something about this, but I like lists.  So here is a brief off the cuff list of what open source projects use P languages:</p>
<ol>
<li>MediaWiki (PHP)</li>
<li>WordPress (PHP)</li>
<li>Bugzilla (Perl)</li>
<li>Drupal (PHP)</li>
<li>Plone (Python)</li>
<li>Moodle (PHP)</li>
<li>AWStats (Perl)</li>
<li>MovableType (PHP and Perl)</li>
<li>Subversion (Python and C)</li>
<li>Trac (Python)</li>
</ol>
<p>Now, I&#8217;m not going to argue the merits of how good each of these piece of software are. Again that&#8217;s not my point.  But they are popular whether you like it or not.  And to just dismiss them would be foolish.</p>
<h2>The cloud exists to make technology easier for the masses</h2>
<p>Google Docs makes it easier to get to files you need to edit.  Heroku makes it easier to deploy Ruby on Rails apps.  Amazon EC2 makes it easier for you to deploy a server.  The fall out of the cloud is that technology suddenly becomes much easier to create and deploy.</p>
<p>So what happens when my mom wants to write her own blog.  Well, most likely she heads over to WordPress.com and creates a blog for herself.  And if she needs a little more, then she signs up for the WordPress Premium services.  But what if I want my own blog.  Well right now I have my friend hosting my stuff.  But what if I want it hosted elsewhere and I don&#8217;t want to maintain servers (since I do that all day long).  My only option right now is to do what my mom is doing, but the reality is, that&#8217;s not what I want.  I want something like Heroku but for PHP.  And if I had it, I could install any of the PHP applications listed above.</p>
<p>And I think this conversation is very pertinent given that Google just announced its <a href="http://google-opensource.blogspot.com/2010/05/cloudcourse-enterprise-application-in.html" target="_blank">open source learning management system</a> written in Python and <a href="http://code.google.com/p/cloudcourse/wiki/WikiInstall" target="_blank">intended to be deployed in Google App Engine</a>.  This could potentially be a big blow to Moodle who doesn&#8217;t have a cloud to turn to.</p>
<h2>Conclusion</h2>
<p>So yes a PHP based cloud does matter.  And yes it should be built because there are lots of <a href="http://groups.google.com/group/google-appengine/browse_thread/thread/34635d269014b2bd/">people clamoring</a> to use it (or who have already <a href="http://www.google.com/search?hl=en&amp;q=google+app+engine+php">figured out a way</a>).</p>
<p>And yes this blog post could be more coherent.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2010%2F05%2F25%2Fwho-wants-a-php-cloud-users-of-oss-thats-who%2F&amp;title=Who%20wants%20a%20PHP%20Cloud%3F%20%20Users%20of%20OSS%20that%26%238217%3Bs%20who." id="wpa2a_12">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2010/05/25/who-wants-a-php-cloud-users-of-oss-thats-who/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Educause Quarterly Article</title>
		<link>http://rosalynmetz.com/ideas/2010/04/08/educause-quarterly-article/</link>
		<comments>http://rosalynmetz.com/ideas/2010/04/08/educause-quarterly-article/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 14:41:11 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=855</guid>
		<description><![CDATA[I&#8217;ve been a bit crazy recently with attending conferences and presenting, so I&#8217;ve been a bit quiet. And I might continue to be given my current workload. But I&#8217;ve come here to write for self serving purposes. After all, what &#8230; <a href="http://rosalynmetz.com/ideas/2010/04/08/educause-quarterly-article/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a bit crazy recently with attending conferences and <a href="http://www.rosalynmetz.com/?page_id=20">presenting</a>, so I&#8217;ve been a bit quiet.  And I might continue to be given my current workload.  But I&#8217;ve come here to write for self serving purposes.  After all, what good is a blog if you can&#8217;t use it for self serving purposes (the answer is no good).</p>
<p>I was asked to write a piece on the cloud (I know you&#8217;re shocked) in the upcoming issue of Educause Quarterly which will be dedicated to the cloud.  If you&#8217;re peer reviewing for that particular journal, we will now pause so that you can close the window (the peer review process is double blind) &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..</p>
<p>Ok good.  Now that they&#8217;re gone.  Here is a link to a first pass at my article:</p>
<blockquote><p><a href="http://educause.s3.amazonaws.com/educause-cloud.html">Defining Cloud Computing</a></p></blockquote>
<p>Essentially its a rehash of my presentation at NERCOMP with a bit more depth and significantly fewer audience members asking questions (not that I mind questions&#8230;that was my favorite part by far.  its just that i didn&#8217;t actually get to finish the presentation properly because there were so many questions).  The article itself defines the cloud, and then uses videos to illustrate each of the definition&#8217;s points.</p>
<p>Questions, comments, and feedback are welcome.  </p>
<p>And yes, I was trying to be funny when I used the cloud to deliver an article on the cloud (see web address of article for more details).</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2010%2F04%2F08%2Feducause-quarterly-article%2F&amp;title=Educause%20Quarterly%20Article" id="wpa2a_14">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2010/04/08/educause-quarterly-article/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cloud Computing in Higher Education: Initial Results</title>
		<link>http://rosalynmetz.com/ideas/2010/02/08/cloud-computing-in-higher-education-initial-results/</link>
		<comments>http://rosalynmetz.com/ideas/2010/02/08/cloud-computing-in-higher-education-initial-results/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 15:57:12 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[higher education]]></category>
		<category><![CDATA[NERCOMP]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=830</guid>
		<description><![CDATA[A number of places asked me to provide my initial first impressions of the survey I did on Cloud Computing in Higher Education. My first impression is that survey respondents don&#8217;t understand what the cloud is, but that shouldn&#8217;t have &#8230; <a href="http://rosalynmetz.com/ideas/2010/02/08/cloud-computing-in-higher-education-initial-results/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A number of places asked me to provide my initial first impressions of the survey I did on Cloud Computing in Higher Education.</p>
<p>My first impression is that survey respondents don&#8217;t understand what the cloud is, but that shouldn&#8217;t have been a shock to me, most people don&#8217;t know what it is.  Admittedly this lack of understanding could be due to the way the survey was structured; but even after a couple of tweaks to the order of sections (I moved Software to the front of the survey and Platforms and Infrastructure to the end), respondents were still having a hard time understanding what was what.  I&#8217;ll most likely need to do some clean up on the survey, but I think for now I have a great understanding of what is going on in Higher Education in terms of the cloud.</p>
<p>In the survey I tried to define the three main components of the cloud: Software-as-a-Service, Platform-as-a-Service, and Infrastructure-as-a-Service.  After the survey was completed, I realized that I&#8217;ll need to do a better job of defining things for the audience members in my NERCOMP presentation.  Something that I though I could spend 10 minutes on will probably need a solid 20 minutes so that everyone can be on the same page.  I think diagrams and other visual aids might really help people understand what these different components are, and how they correspond to computing they are already using.</p>
<p>My second impression is that institutions are very comfortable with using Software-as-a-Service.  Below is a graph showing SaaS usage among respondents.  Facebook is of course the leader in the SaaS cloud race, with Twitter and Google Docs coming in right behind them.  What I think is the most interesting though is that overall, Google has the highest share of the marketplace.</p>
<p style="text-align: center;"><a href="http://rosalynmetz.com/ideas/wp-content/uploads/2010/02/saas.png"><br />
</a><a href="http://rosalynmetz.com/ideas/wp-content/uploads/2010/02/saas1.png"><img class="aligncenter size-full wp-image-834" title="Software-as-a-Service Results" src="http://rosalynmetz.com/ideas/wp-content/uploads/2010/02/saas1.png" alt="Software-as-a-Service Results" width="580" height="450" /></a></p>
<p style="text-align: left;">As far as PaaS and IaaS, most institutions are not using these services.  I&#8217;m hesitant to show results from these sections of the survey since so many respondents confused software for platforms or infrastructure.  Once I clean things up, I&#8217;ll provide more information.  Suffice to say though, few if any institutions are using Infrastructures or Platforms in the cloud.  Those that are are using Amazon Web Services (for infrastructure) and Google Code (for platform).</p>
<p style="text-align: left;">More to come later.  And thank you to everyone that took the time to take my survey.  It has been eye opening and hopefully will make me a more informed speaker.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2010%2F02%2F08%2Fcloud-computing-in-higher-education-initial-results%2F&amp;title=Cloud%20Computing%20in%20Higher%20Education%3A%20Initial%20Results" id="wpa2a_16">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2010/02/08/cloud-computing-in-higher-education-initial-results/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cloud Computing in Higher Education</title>
		<link>http://rosalynmetz.com/ideas/2010/01/26/cloud-computing-in-higher-education/</link>
		<comments>http://rosalynmetz.com/ideas/2010/01/26/cloud-computing-in-higher-education/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 22:11:01 +0000</pubDate>
		<dc:creator>Rosalyn Metz</dc:creator>
				<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[NERCOMP]]></category>

		<guid isPermaLink="false">http://rosalynmetz.com/ideas/?p=821</guid>
		<description><![CDATA[In March I&#8217;ll be presenting at NERCOMP. The theme for this year&#8217;s conference is: &#8220;The Next-Generation University: Rethinking IT in Disruptive Times&#8221;. My presentation will be on Cloud Computing in Higher Education (I know you&#8217;re shocked right?). As a companion &#8230; <a href="http://rosalynmetz.com/ideas/2010/01/26/cloud-computing-in-higher-education/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In March I&#8217;ll be presenting at NERCOMP.  The theme for this year&#8217;s conference is: &#8220;The Next-Generation University: Rethinking IT in Disruptive Times&#8221;.  My presentation will be on Cloud Computing in Higher Education (I know you&#8217;re shocked right?).</p>
<p>As a companion to this presentation.  I&#8217;m doing a survey, to see what kind of things institutions are using in the cloud.  Its definitely not a comprehensive list of what&#8217;s in the cloud or even what&#8217;s possible in the cloud, but my presentation is only 40 minutes.</p>
<p>At any rate, if you work in academia and you&#8217;re interested in/using cloud computing, please please please take my survey.</p>
<blockquote><p><a href="http://www.surveymonkey.com/s/cloud-academia" target="_blank">http://www.surveymonkey.com/s/cloud-academia</a></p></blockquote>
<p>Your help will be greatly appreciated.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2010%2F01%2F26%2Fcloud-computing-in-higher-education%2F&amp;title=Cloud%20Computing%20in%20Higher%20Education" id="wpa2a_18">Share/Save</a></p>]]></content:encoded>
			<wfw:commentRss>http://rosalynmetz.com/ideas/2010/01/26/cloud-computing-in-higher-education/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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. &#8230; <a href="http://rosalynmetz.com/ideas/2009/12/07/creating-an-ebs-backed-ami-in-the-cloud/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></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 a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Frosalynmetz.com%2Fideas%2F2009%2F12%2F07%2Fcreating-an-ebs-backed-ami-in-the-cloud%2F&amp;title=Creating%20an%20EBS%20Backed%20AMI%20in%20the%20Cloud" id="wpa2a_20">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>

