<?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>Floyd's Thoughts... &#187; Code Spaces</title>
	<atom:link href="http://www.floydprice.com/category/code-spaces/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.floydprice.com</link>
	<description>Because Everything is Interesting!!!</description>
	<lastBuildDate>Fri, 18 Jun 2010 05:32:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Automatic Elastic Block snapshots with a cron job</title>
		<link>http://www.floydprice.com/2009/10/automatic-elastic-block-snapshots-with-a-cron-job/</link>
		<comments>http://www.floydprice.com/2009/10/automatic-elastic-block-snapshots-with-a-cron-job/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 22:01:46 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Code Spaces]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=158</guid>
		<description><![CDATA[Amazon EC2 really is amazing, and the Elastic Block storage is pretty darn good too, however I wish you could automate the snapshot process form the EC2 console. It is however pretty easy to do yourself using a simple cron job. Before you start make sure you have a JRE: sudo apt-get install sun-java6-jre You [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon EC2 really is amazing, and the Elastic Block storage is pretty darn good too, however I wish you could automate the snapshot process form the EC2 console.</p>
<p>It is however pretty easy to do yourself using a simple cron job.</p>
<p>Before you start make sure you have a JRE:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">	<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> sun-java6-jre</pre></div></div>

<p>You will also need the EC2 API tools:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">	<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>s3.amazonaws.com<span style="color: #000000; font-weight: bold;">/</span>ec2-downloads<span style="color: #000000; font-weight: bold;">/</span>ec2-api-tools.zip
	<span style="color: #c20cb9; font-weight: bold;">unzip</span> ec2-api-tools.zip</pre></div></div>

<p>At this point you should make a metal note of where you unzipped the api tools to.</p>
<p>Now that you have the prerequisites you need the following simple script:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">	<span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
	<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">JAVA_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>jvm<span style="color: #000000; font-weight: bold;">/</span>java-<span style="color: #000000;">6</span>-sun<span style="color: #000000; font-weight: bold;">/</span>jre<span style="color: #000000; font-weight: bold;">/</span>
	<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">EC2_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>ec2-api-tools-<span style="color: #000000;">1.3</span>-<span style="color: #000000;">42584</span>
	<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">EC2_PRIVATE_KEY</span>=<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>misc<span style="color: #000000; font-weight: bold;">/</span>pk-Umbongo.pem
	<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">EC2_CERT</span>=<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>misc<span style="color: #000000; font-weight: bold;">/</span>cert-Umbongo.pem 
	<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">AWS_ACCESS_KEY_ID</span>=<span style="color: #ff0000;">&quot;Twinkle Twinkle Little star&quot;</span>
	<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">AWS_SECRET_ACCESS_KEY</span>=<span style="color: #ff0000;">&quot;If your happy and your know it, clap your hands&quot;</span>
&nbsp;
&nbsp;
	<span style="color: #007800;">$EC2_HOME</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ec2-create-snapshot vol-<span style="color: #000000;">999999</span></pre></div></div>

<p>Obviously you need to specify your volume id where i have vol-999999</p>
<p>Once you have modified this file to be executable you are ready to test it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">	<span style="color: #c20cb9; font-weight: bold;">chmod</span> +x snapshot.sh
&nbsp;
	.<span style="color: #000000; font-weight: bold;">/</span>snapshot.sh</pre></div></div>

<p>Once your have ran it go to the EC2 Console and verify that the snapshot process has started.</p>
<p>And thats it, the first time you run this script the snapshot will take a while to complete but the next one will be much quicker as the snapshot process is incremental, so only the changes since the last snapshot will be read.</p>
<p>Oh, don&#8217;t forget to create a cron job for this (*/5 * * * * /path/snapshot/sh) <img src='http://www.floydprice.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2009/10/automatic-elastic-block-snapshots-with-a-cron-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Engines&#8230;</title>
		<link>http://www.floydprice.com/2009/10/search-engines/</link>
		<comments>http://www.floydprice.com/2009/10/search-engines/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 16:56:09 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Code Spaces]]></category>
		<category><![CDATA[Search Engines]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=146</guid>
		<description><![CDATA[Bing loves us, Google thinks we are cool, and Yahoo would cross the road it it saw us coming&#8230; If you search for &#8220;Subversion Hosting&#8221; on the three major search engines you will see pretty mush the same bunch of results just in a very different order. for instance Bing has Code Spaces right at [...]]]></description>
			<content:encoded><![CDATA[<p>Bing loves us,<br />
Google thinks we are cool,<br />
and Yahoo would cross the road it it saw us coming&#8230;</p>
<p>If you search for &#8220;Subversion Hosting&#8221; on the three major search engines you will see pretty mush the same bunch of results just in a very different order.</p>
<p>for instance Bing has <a href="http://www.codespaces.com">Code Spaces</a> right at the top (YAY!) however Google has <a href="http://www.codespaces.com">Code Spaces</a> in at number 6 (hmmm!) and Yahoo! has <a href="http://www.codespaces.com">Code Spaces</a> at number 10 (Bah!).</p>
<p>Obviously Bing and Yahoo! mean absolutely nothing when it comes to traffic (relative to google anyway) but its interesting how all three has slightly different opinions about the web. Personally I think Bing have nailed it <img src='http://www.floydprice.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2009/10/search-engines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code Spaces Website Redesign</title>
		<link>http://www.floydprice.com/2009/10/code-spaces-website-redesign/</link>
		<comments>http://www.floydprice.com/2009/10/code-spaces-website-redesign/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 23:29:31 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Code Spaces]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=132</guid>
		<description><![CDATA[We have been working on the CodeSpaces.com website for a while and today released it to the world, it&#8217;s likely to evolve quite quickly as we are trying to catch up on all the SEO work we haven&#8217;t done over the last 2 years. Check it out at http://www.codespaces.com]]></description>
			<content:encoded><![CDATA[<p>We have been working on the <a href="http://www.codespaces.com">CodeSpaces.com</a> website for a while and today released it to the world, it&#8217;s likely to evolve quite quickly as we are trying to catch up on all the SEO work we haven&#8217;t done over the last 2 years.</p>
<p>Check it out at <a href="http://www.codespaces.com">http://www.codespaces.com</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2009/10/code-spaces-website-redesign/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Adwords &#8211; Don&#8217;t get drawn into bidding for the #1 spot.</title>
		<link>http://www.floydprice.com/2008/08/google-adwords-dont-get-drawn-into-bidding-for-the-1-spot/</link>
		<comments>http://www.floydprice.com/2008/08/google-adwords-dont-get-drawn-into-bidding-for-the-1-spot/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 18:25:21 +0000</pubDate>
		<dc:creator>Floyd Price</dc:creator>
				<category><![CDATA[Code Spaces]]></category>
		<category><![CDATA[Marketing]]></category>

		<guid isPermaLink="false">http://www.floydprice.com/?p=99</guid>
		<description><![CDATA[As part of my role at Component Workshop Ltd over the last 12 months I have been responsible for internet marketing of our Code Spaces product and in this time we have spent ~£20,000 on google adwords. While I have not compiled the stats in a presentable form I can say without any doubt that [...]]]></description>
			<content:encoded><![CDATA[<p>As part of my role at <a href="http://www.componentworkshop.com">Component Workshop Ltd</a> over the last 12 months I have been responsible for internet marketing of our <a href="http://www.codespaces.com">Code Spaces</a> product and in this time we have spent ~£20,000 on google adwords.</p>
<p>While I have not compiled the stats in a presentable form I can say without any doubt that bidding for the #1 spot on your given search phrase is not only expensive in comparison to the 2nd &#8211; 10th slots it also yields pretty disappointing results.</p>
<p>Recently I have been able to cut a third off our Google Adwords spend while retaining the same level of conversions by doing no more than excluding the #1 slot from our adword bids.</p>
<p>While I can&#8217;t fully explain why this phenomenon occurs my feeling is that as users of google we are instinctively drawn to the genuine search results verses the sponsored links and as the 2nd and 3rd placed sponsored links usually appear closer to the genuine search results we are naturally drawn to them rather than the #1 placed link.</p>
<p>Food for thought me thinks&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.floydprice.com/2008/08/google-adwords-dont-get-drawn-into-bidding-for-the-1-spot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
