<?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>BlueGecko Denmark</title>
	<atom:link href="https://bluegecko.dk/tag/ec2/feed/" rel="self" type="application/rss+xml" />
	<link>https://bluegecko.dk</link>
	<description>Your remote dba</description>
	<lastBuildDate>Fri, 22 Apr 2011 23:57:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.2</generator>
	<item>
		<title>EC2 outage reactions showcase widespread ignorance regarding the cloud</title>
		<link>https://bluegecko.dk/ec2-outage-reactions-showcase-widespread-ignorance-regarding-the-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ec2-outage-reactions-showcase-widespread-ignorance-regarding-the-cloud</link>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Fri, 22 Apr 2011 23:57:14 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[downtime]]></category>
		<category><![CDATA[ebs]]></category>
		<category><![CDATA[elastic block store]]></category>
		<category><![CDATA[elastic compute cloud]]></category>
		<category><![CDATA[ignorance]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[misconceptions]]></category>
		<category><![CDATA[outage]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[high availability]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=2916</guid>

					<description><![CDATA[Amazon EC2&#8242;s high-profile outage in the US East region has taught us a number of lessons.  For many, the take-away has been a realization that cloud-based systems (like conventionally-hosted systems) can fail.  Of course, we knew that, Amazon knew that, and serious companies who performed serious availability engineering before deploying to the cloud knew that. [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/oracle/high-performance-oracle-11g-in-the-amazon-cloud/" rel="bookmark" title="Permanent Link: High Performance Oracle 11g in the Amazon Cloud">High Performance Oracle 11g in the Amazon Cloud</a></li>
<li><a href="http://www.bluegecko.net/news-events/may-5th-seattle-oracle-in-the-cloud-seminar/" rel="bookmark" title="Permanent Link: May 5th, Seattle, Oracle in the Cloud Seminar">May 5th, Seattle, Oracle in the Cloud Seminar</a></li>
<li><a href="http://www.bluegecko.net/oracle/a-cloud-over-san-francisco-for-openworld-2010/" rel="bookmark" title="Permanent Link: A Cloud over San Francisco for OpenWorld 2010">A Cloud over San Francisco for OpenWorld 2010</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p>Amazon EC2&#8242;s high-profile outage in the US East region has taught us a number of lessons.  For many, the take-away has been a realization that cloud-based systems (like conventionally-hosted systems) can fail.  Of course, we knew that, Amazon knew that, and serious companies who performed serious availability engineering before deploying to the cloud knew that. In cloud environments, as in conventionally-hosted environments, you must implement high-availability if you want high availability.  You can&#8217;t just expect it to magically be highly-available because it is &#8220;in the cloud.&#8221; Thorough and thoughtful high-availability engineering made it possible for EC2-based <strong>Netflix</strong> to experience <strong>no service interruptions</strong> through this event.<span id="more-2916"></span></p>
<p>Only those companies that <strong>failed to perform rudimentary availability design</strong> on their EC2-based systems have experienced prolonged outages as a result of this week&#8217;s event.  This is only as would be expected &#8211; Amazon.com does not promise to make your application highly available.  What Amazon EC2 provides is a rich set of tools that allows anyone that is serious about building a highly available application to do so on EC2.</p>
<p>This week&#8217;s EC2 failures have provided plenty of fodder for the cloud skeptics, as well it should. Cloud skeptics hold EC2 and other cloud services&#8217; feet to the fire, forcing them to address real concerns with the paradigm. What is far more alarming than the told-you-sos from the cloud skeptics is the <strong>torrent of media ignorance</strong> regarding what cloud computing and EC2 fundamentally provide.</p>
<p>Take <a href="http://online.wsj.com/article/BT-CO-20110422-704626.html" >this article in the Wall Street Journal</a> for example.  Quoting the authors:</p>
<blockquote>
<p>A main issue at the center of this controversy is why Amazon hasn&#8217;t been  able to re-route capacity between data centers that would have avoided  this problem and ensured the websites of its users would still operate  properly.</p>
</blockquote>
<p>Here the authors seem to be referring to EC2 availability zones.  As most who have worked even a little with EC2 know, when you run an instance or store volumes in one availability zone, <strong>there is no automatic mechanism available to &#8220;re route capacity&#8221; between availability zones.</strong> If you want your application to survive the failure of an availability zone, you must implement a high availability contingency. For instance, you can frequently back up (using the EBS snapshot feature) your storage volumes so that <strong>you</strong> can re-instantiate the system in a surviving availability zone. In this week&#8217;s outage, all but one of Amazon&#8217;s US East availability zones were functioning normally within about four hours. Only those customers with systems in one of Amazon&#8217;s four US-East zones could not reliably access their data in their Elastic Block Store (EBS) volumes. If those customers <strong>had simply performed regular backups</strong> (snapshots) of their volumes, the outage would have been confined to a few hours, not 40+ hours.</p>
<p>It is hard to blame the media though, when even the <strong>customers of EC2 showcase a complete misunderstanding</strong> of what they should expect from the infrastructure on which they have built the systems that support their very businesses.  In the <a href="http://online.wsj.com/article/BT-CO-20110422-704626.html" >same article cited above</a>, Simon Buckingham, CEO of Appitalism is extensively quoted misunderstanding the fundamentals of EC2:</p>
<blockquote>
<p>We&#8217;re past the point of this being a routine outage&#8230; Customers like myself have assumed that if part of  Amazon&#8217;s data center goes down, then traffic will get transferred in an  alternative capacity&#8230; The cloud is marketed as being limitless, but what this outage tells us is it&#8217;s not.</p>
</blockquote>
<p>That is an interesting assumption indeed, Mr. Buckingham. I would assume that the CEO of a web-based company would spend at least enough time understanding his company&#8217;s own infrastructure to realize that he <strong>should be talking to his own engineers</strong> about why the failed to design a robust multi-zone backup solution on EC2, <strong>rather than imagining capabilities for EC2</strong> that do not and have never been asserted to have existed.</p>
<p>I hope the upshot of this event will be more comprehensive and careful engineering of solutions deployed to the cloud.  I fear however, that given the tenor of the media coverage and customer reactions, the onus will not be placed where it belongs, on the customers&#8217; own engineers, and instead will only result in undeserved bad press for Amazon.</p>
<p>For what its worth, we at <a href="http://www.bluegecko.dk/" >Blue Gecko</a> frequently help our customers deploy robust highly-available solutions on EC2, that would have easily recovered in the four-to-five hour time frame, or even experienced no outage at all, rather than the 40+ hour nightmare affecting some customers of EC2.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/oracle/high-performance-oracle-11g-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: High Performance Oracle 11g in the Amazon Cloud'>High Performance Oracle 11g in the Amazon Cloud</a></li>
<li><a href='http://www.bluegecko.dk/news-events/may-5th-seattle-oracle-in-the-cloud-seminar/' rel='bookmark' title='Permanent Link: May 5th, Seattle, Oracle in the Cloud Seminar'>May 5th, Seattle, Oracle in the Cloud Seminar</a></li>
<li><a href='http://www.bluegecko.dk/oracle/a-cloud-over-san-francisco-for-openworld-2010/' rel='bookmark' title='Permanent Link: A Cloud over San Francisco for OpenWorld 2010'>A Cloud over San Francisco for OpenWorld 2010</a></li>
</ol>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>A Cloud over San Francisco for OpenWorld 2010</title>
		<link>https://bluegecko.dk/a-cloud-over-san-francisco-for-openworld-2010/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-cloud-over-san-francisco-for-openworld-2010</link>
					<comments>https://bluegecko.dk/a-cloud-over-san-francisco-for-openworld-2010/#comments</comments>
		
		<dc:creator><![CDATA[jwilton]]></dc:creator>
		<pubDate>Tue, 21 Sep 2010 22:39:01 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[exalogic]]></category>
		<category><![CDATA[openworld]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=1889</guid>

					<description><![CDATA[Oracle OpenWorld 2010 is just bursting with big cloud-related announcements this week.  As I prepare to present on the Amazon cloud at OOW2010 on Thursday (http://bit.ly/aSKdIQ), I thought I would highlight two of the biggest cloud-related announcements of the week. Exalogic We all know about Exadata, Oracle&#8217;s hardware-based storage-optimized RAC monster capable of over 1 [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/oracle/report-from-oracle-openworld/" rel="bookmark" title="Permanent Link: Report from Oracle Openworld">Report from Oracle Openworld</a></li>
<li><a href="http://www.bluegecko.net/oracle/oracle-certification-vs-oracle-support/" rel="bookmark" title="Permanent Link: Oracle Certification vs Oracle Support">Oracle Certification vs Oracle Support</a></li>
<li><a href="http://www.bluegecko.net/oracle/oracle-e-business-suite-in-the-amazon-cloud/" rel="bookmark" title="Permanent Link: Oracle E-Business Suite in the Amazon Cloud">Oracle E-Business Suite in the Amazon Cloud</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p><a title="Oracle OpenWorld 2010" href="http://www.oracle.com/us/openworld/index.html" >Oracle OpenWorld 2010</a> is just bursting with big cloud-related announcements this week.  As I prepare to present on the Amazon cloud at OOW2010 on Thursday (<a title="Oracle on the Amazon Cloud at Oracle OpenWorld" href="http://bit.ly/aSKdIQ" >http://bit.ly/aSKdIQ</a>), I thought I would highlight two of the biggest cloud-related announcements of the week.<span id="more-1889"></span></p>
<h3>Exalogic</h3>
<p>We all know about Exadata, Oracle&#8217;s hardware-based storage-optimized RAC monster capable of over 1 million IOPS.  In his keynote, Larry Ellison announced Exalogic, an appliance that is meant to provide cloud-like private internal infrastructure.  Oriented towards  middleware, Exalogic&#8217;s marketing materials emphasize the elasticity of resources and promote middleware consolidation onto a small set of Exalogic nodes.</p>
<h3>Certification for Oracle on Oracle VM-based Amazon Elastic Compute Cloud</h3>
<p>Oracle and Amazon jointly announced this week that they will soon provide Oracle VM (OVM) based EC2 instances certified to run any Oracle software certified on traditional Oracle VM.  This includes Oracle Applications, Peoplesoft, Siebel and many other Oracle products. The issue of Oracle supportability and certification on EC2 has been a major sticking point for customers since EC2 and Oracle began collaborating over two years ago.  This announcement should allay some of the concerns regarding running Oracle on EC2.</p>
<p>Previously, Oracle supported only the database, middleware and Oracle Enterprise Manager on standard EC2 instances.</p>
<p>With this annoucement, the division of support responsibility remains the same. Oracle issues are handled by Oracle Support, and EC2 issues are handled by Amazon.</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/oracle/report-from-oracle-openworld/' rel='bookmark' title='Permanent Link: Report from Oracle Openworld'>Report from Oracle Openworld</a></li>
<li><a href='http://www.bluegecko.dk/oracle/oracle-certification-vs-oracle-support/' rel='bookmark' title='Permanent Link: Oracle Certification vs Oracle Support'>Oracle Certification vs Oracle Support</a></li>
<li><a href='http://www.bluegecko.dk/oracle/oracle-e-business-suite-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: Oracle E-Business Suite in the Amazon Cloud'>Oracle E-Business Suite in the Amazon Cloud</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/a-cloud-over-san-francisco-for-openworld-2010/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle E-Business Suite in the Amazon Cloud</title>
		<link>https://bluegecko.dk/oracle-e-business-suite-in-the-amazon-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=oracle-e-business-suite-in-the-amazon-cloud</link>
					<comments>https://bluegecko.dk/oracle-e-business-suite-in-the-amazon-cloud/#comments</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Fri, 26 Mar 2010 18:28:08 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Oracle Applications]]></category>
		<category><![CDATA[amazon cloud]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[oracle on aws]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=877</guid>

					<description><![CDATA[I am scheduled to present &#8220;E-Business Suite in the Amazon Cloud&#8221; on Monday, April 19 at Collaborate 2010.  I&#8217;ll provide an overview of Amazon Web Services and present a few common use cases that E-Business Suite DBAs in particular might find useful.  If you are an E-Business Suite customer and do NOT have a DR [...]


Related posts:<ol><li><a href="http://www.bluegecko.net/oracle/high-performance-oracle-11g-in-the-amazon-cloud/" rel="bookmark" title="Permanent Link: High Performance Oracle 11g in the Amazon Cloud">High Performance Oracle 11g in the Amazon Cloud</a></li>
<li><a href="http://www.bluegecko.net/oracle-applications/blue-gecko-implements-oracle-e-business-suite-on-ec2/" rel="bookmark" title="Permanent Link: Blue Gecko implements Oracle E-Business Suite on EC2">Blue Gecko implements Oracle E-Business Suite on EC2</a></li>
<li><a href="http://www.bluegecko.net/oracle/running-oracle-in-the-amazon-ec2-cloud/" rel="bookmark" title="Permanent Link: Running Oracle in the Amazon EC2 Cloud">Running Oracle in the Amazon EC2 Cloud</a></li>
</ol>]]></description>
										<content:encoded><![CDATA[<p>I am scheduled to present &#8220;E-Business Suite in the Amazon Cloud&#8221; on Monday, April 19 at Collaborate 2010.  I&#8217;ll provide an overview of Amazon Web Services and present a few common use cases that E-Business Suite DBAs in particular might find useful.  If you are an E-Business Suite customer and do NOT have a DR site or struggle with sharing test environments, this presentation is for you.  You can <a title="E-Business Suite in the Amazon Cloud" href="http://www.bluegecko.dk/download/ebiz-on-aws.pdf">download the white paper</a> from our <a title="Blue Gecko white papers" href="http://www.bluegecko.dk/community/whitepapers/">community page</a>; the abstract is as follows:</p>
<p>With Oracle&#8217;s announcement of support for Amazon Web Services (AWS),  it is now possible to run Oracle databases and Oracle E-Business Suite  in the AWS EC2 (Elastic Cloud Compute) cloud. In this session we will  create a working release 12 Vision Demo environment on EC2, based  entirely on audience specifications. Through the deployment process, we  will explain the basics of EC2, and show how anyone can instantly deploy  Oracle E-Business Suite for less than $20/day. Demonstrate the basics  of working with Amazon EC2 Demonstrate the advantages to running Oracle  E-Business Suite on EC2 Explore Oracle/EC2 best practices</p>
<p>Related posts:</p>
<ol>
<li><a href='http://www.bluegecko.dk/oracle/high-performance-oracle-11g-in-the-amazon-cloud/' rel='bookmark' title='Permanent Link: High Performance Oracle 11g in the Amazon Cloud'>High Performance Oracle 11g in the Amazon Cloud</a></li>
<li><a href='http://www.bluegecko.dk/oracle-applications/blue-gecko-implements-oracle-e-business-suite-on-ec2/' rel='bookmark' title='Permanent Link: Blue Gecko implements Oracle E-Business Suite on EC2'>Blue Gecko implements Oracle E-Business Suite on EC2</a></li>
<li><a href='http://www.bluegecko.dk/oracle/running-oracle-in-the-amazon-ec2-cloud/' rel='bookmark' title='Permanent Link: Running Oracle in the Amazon EC2 Cloud'>Running Oracle in the Amazon EC2 Cloud</a></li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/oracle-e-business-suite-in-the-amazon-cloud/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>High Performance Oracle 11g in the Amazon Cloud</title>
		<link>https://bluegecko.dk/high-performance-oracle-11g-in-the-amazon-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=high-performance-oracle-11g-in-the-amazon-cloud</link>
					<comments>https://bluegecko.dk/high-performance-oracle-11g-in-the-amazon-cloud/#respond</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Tue, 23 Mar 2010 18:18:53 +0000</pubDate>
				<category><![CDATA[Jeremiah Wilton's Oradeblog]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[11g]]></category>
		<category><![CDATA[amazon cloud]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[jere]]></category>
		<category><![CDATA[Jeremiah Wilton]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=873</guid>

					<description><![CDATA[Jeremiah Wilton will be presenting High Performance Oracle 11g in the Amazon Cloud at Collaborate 2010 &#8211; an updated version of his February RMOUG presentation.  For a preview, you can find both the white paper and presentation slides from RMOUG on our white paper page.  Currently scheduled for Monday, April 19, the session abstract reads: [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Jeremiah Wilton will be presenting High Performance Oracle 11g in the Amazon Cloud at Collaborate 2010 &#8211; an updated version of his February RMOUG presentation.  For a preview, you can find both the <a title="High Performance Oracle 11g in the Amazon Cloud" href="http://www.bluegecko.dk/download/Cloud%20Paper.pdf" target="_blank">white paper</a> and <a title="RMOUG slides" href="http://www.bluegecko.dk/download/Cloud.pdf" target="_blank">presentation slides</a> from RMOUG on our <a title="Blue Gecko white papers" href="http://www.bluegecko.dk/download/Cloud.pdf">white paper page</a>.  Currently scheduled for Monday, April 19, the session abstract reads:<span id="more-873"></span></p>
<p>The Amazon Elastic Computing Cloud is rapidly gaining acceptance as an  enterprise-class Oracle platform. In this virgin territory, Oracle  professionals need a complete understanding of cloud computing concepts  and architectures. This session addresses the basics, and goes further,  providing guidance on how best to optimize and configure Oracle for  performance, stability and manageability in the cloud. Gain a complete  understanding of Cloud Computing Learn the details of Amazon&#8217;s Elastic  Compute Cloud Develop the knowledge needed to deploy and effectively  manage high-performance Oracle services on Amazon EC2.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/high-performance-oracle-11g-in-the-amazon-cloud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>EC2 persistent boots with pivot root</title>
		<link>https://bluegecko.dk/ec2-persistent-boots-with-pivot-root/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ec2-persistent-boots-with-pivot-root</link>
					<comments>https://bluegecko.dk/ec2-persistent-boots-with-pivot-root/#comments</comments>
		
		<dc:creator><![CDATA[rharwood]]></dc:creator>
		<pubDate>Tue, 02 Mar 2010 22:51:48 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[busybox]]></category>
		<category><![CDATA[busyroot]]></category>
		<category><![CDATA[ebs volume]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[persistent boot]]></category>
		<category><![CDATA[pivot root]]></category>
		<guid isPermaLink="false">http://www.bluegecko.net/?p=801</guid>

					<description><![CDATA[Amazon recently allowed Elastic Block Store to boot persistent images. However, there are two concerns I have with the method. * The EBS boot volumes must be EBS Snapshots, which cost more than regular EBS volumes. (http://aws.amazon.com/ec2/#pricing) * The EBS boot volumes currently do not work within the Virtual Private Cloud (VPC) infrastructure. (http://aws.amazon.com/vpc/faqs/#45) To [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Amazon recently allowed Elastic Block Store to boot persistent images. However, there are two concerns I have with the method.</p>
<p>* The EBS boot volumes must be EBS Snapshots, which cost more than regular EBS volumes.  (http://aws.amazon.com/ec2/#pricing)<br />
* The EBS boot volumes currently do not work within the Virtual Private Cloud (VPC) infrastructure.  (http://aws.amazon.com/vpc/faqs/#45)<span id="more-801"></span></p>
<p>To work around these two issues, it is possible to &#8220;pivot&#8221; from a normal AMI&#8217;s local root volume (/dev/sda1) to an arbitrary EBS volume that contains a full OS installation. An additional benefit is that a very small AMI may be used to launch the EBS backed instance, so that the instance launches much faster than a large AMI.</p>
<p>The goal of this post is to provide instructions on how to build a small AMI that is capable of launching a full-blown persistent Linux installation that is backed on EBS storage. BusyBox, &#8220;The Swiss Army Knife of Embedded Systems&#8221;, provides a solid foundation for our small AMI. To build a BusyBox AMI and an instance backed by EBS, simply follow these directions:</p>
<p>1. Start an instance from an AMI that is running the desired kernel and software configuration. (You can use an existing public AMI or a custom AMI that you created. Personally, I prefer to create my own AMI&#8217;s, so I know what is in them.)</p>
<p>2. Log into the instance.</p>
<p>3. Download the latest version of BusyBox.</p>
<p>wget &#8220;http://busybox.net/downloads/busybox-1.15.3.tar.bz2&#8221;</p>
<p>4. Create a busyroot directory.</p>
<p>mkdir busyroot</p>
<p>5. Extract BusyBox.</p>
<p>bunzip2 busybox-1.15.3.tar.bz2<br />
tar xvf busybox-1.15.3.tar</p>
<p>6. Configure BusyBox. (You can experiment here to reduce the image size, but the configuration listed below works.)</p>
<p>cd busybox-1.15.3<br />
make config<br />
Select &#8220;y&#8221; for the STATIC option and the default values for everything else.<br />
Build BusyBox as a static binary (no shared libs) (STATIC) [N/y/?] y</p>
<p>7. Make and install BusyBox.</p>
<p>make CONFIG_PREFIX=$HOME/busyroot install<br />
chmod 4755 $HOME/busyroot/bin/busybox</p>
<p>8. Create required directories.</p>
<p>cd $HOME/busyroot<br />
mkdir dev sys etc proc mnt mnt/new-root</p>
<p>9. Create the necessary devices. (We will use /dev/sdj for the EBS volume, but this could be any block device not used by the normal AMI.)</p>
<p>MAKEDEV -d $HOME/busyroot/dev -x sdj<br />
MAKEDEV -d $HOME/busyroot/dev -x console<br />
MAKEDEV -d $HOME/busyroot/dev -x null<br />
MAKEDEV -d $HOME/busyroot/dev -x zero</p>
<p>10. Create the init file.</p>
<p>mv $HOME/busyroot/sbin/init $HOME/busyroot/sbin/init.orig<br />
cat &lt;&lt;&#8216;EOL&#8217; &gt;  $HOME/busyroot/sbin/init<br />
#!/bin/busybox sh<br />
PATH=/bin:/usr/bin:/sbin:/usr/sbin<br />
NEWDEV=&#8221;/dev/sdj&#8221;<br />
NEWTYP=&#8221;ext3&#8243;<br />
NEWMNT=&#8221;/mnt/new-root&#8221;<br />
OLDMNT=&#8221;/mnt/old-root&#8221;<br />
OPTIONS=&#8221;noatime,ro&#8221;<br />
SLEEP=10</p>
<p>echo &#8220;Remounting writable.&#8221;<br />
mount -o remount,rw /<br />
[ ! -d $NEWMNT ] &amp;&amp; echo &#8220;Creating directory $NEWMNT.&#8221; &amp;&amp; mkdir -p $NEWMNT</p>
<p>while true ; do<br />
echo &#8220;sleeping&#8230;&#8221;<br />
sleep $SLEEP<br />
echo &#8220;Trying to mount $NEWDEV writable.&#8221;<br />
mount -t $NEWTYP -o rw $NEWDEV $NEWMNT || continue<br />
echo &#8220;Mounted.&#8221;<br />
break;<br />
done</p>
<p>[ ! -d $NEWMNT/$OLDMNT ] &amp;&amp; echo &#8220;Creating directory $NEWMNT/$OLDMNT.&#8221; &amp;&amp; mkdir -p $NEWMNT/$OLDMNT</p>
<p>echo &#8220;Remounting $NEWMNT $OPTIONS.&#8221;<br />
mount -o remount,$OPTIONS $NEWMNT</p>
<p>echo &#8220;Trying to pivot.&#8221;<br />
cd $NEWMNT<br />
pivot_root . ./$OLDMNT</p>
<p>for dir in /dev /proc /sys; do<br />
echo &#8220;Moving mounted file system ${OLDMNT}${dir} to $dir.&#8221;<br />
mount &#8211;move ./${OLDMNT}${dir} ${dir}<br />
done</p>
<p>echo &#8220;Trying to chroot.&#8221;<br />
exec chroot . /bin/sh -c &#8220;umount ./$OLDMNT; exec /sbin/init $*&#8221; &lt; /dev/console &gt; /dev/console 2&gt;&amp;1<br />
EOL</p>
<p>chmod 755 $HOME/busyroot/sbin/init</p>
<p>11. Create the fstab file.</p>
<p>cat &lt;&lt;&#8216;EOL&#8217; &gt;  $HOME/busyroot/etc/fstab<br />
/dev/sda1 /     ext3    defaults 1 1<br />
none      /dev/pts devpts  gid=5,mode=620 0 0<br />
none      /proc proc    defaults 0 0<br />
none      /sys  sysfs   defaults 0 0<br />
EOL</p>
<p>12. Create a 4MB loopback file.</p>
<p>cd<br />
dd if=/dev/zero of=busybox.fs bs=1M count=4<br />
mkfs.ext3 busybox.fs</p>
<p>13. Mount the loopback file.</p>
<p>mkdir $HOME/busyimg<br />
mount -o loop $HOME/busybox.fs $HOME/busyimg</p>
<p>14. Copy the staged files and directories to the image. (Technically, the BusyBox image could have been built directly in $HOME/busyimg, but we were not sure how big the image was going to be.)</p>
<p>cp -rp $HOME/busyroot/* $HOME/busyimg</p>
<p>15. Un-mount the image.</p>
<p>sync<br />
umount -d $HOME/busyimg</p>
<p>16. Set environment variables.</p>
<p>export EC2_HOME=/opt/ec2-api-tools<br />
export EC2_CERT=/path/to/your/cert.pem<br />
export EC2_PRIVATE_KEY=/path/to/your/pk.pem<br />
export AWS_ACCOUNT_NUMBER=&#8221;NNNN-NNNN-NNNN&#8221;<br />
export AWS_ACCESS_KEY_ID=your_key<br />
export AWS_SECRET_ACCESS_KEY=your_secret_key<br />
export EC2_BUCKET=&#8221;your_bucket&#8221;<br />
export JAVA_HOME=/usr/java/default<br />
export ARCH=`uname -i`<br />
export AKI=`curl -s http://169.254.169.254/latest/meta-data/kernel-id`<br />
export ARI=`curl -s http://169.254.169.254/latest/meta-data/ramdisk-id`<br />
export INSTANCE_ID=`curl -s http://169.254.169.254/latest/meta-data/instance-id`<br />
export AVAIL_ZONE=`curl -s http://169.254.169.254/latest/meta-data/placement/availability-zone`<br />
export SEC_GROUP=`curl -s http://169.254.169.254/latest/meta-data/security-groups`<br />
export PUB_KEY=`wget -q -O &#8211; &#8220;http://169.254.169.254/latest/meta-data/public-keys&#8221; | awk -F= &#8216;{print $2}&#8217;`</p>
<p>17. Bundle the image.</p>
<p>ec2-bundle-image -i $HOME/busybox.fs -d /tmp -k $EC2_PRIVATE_KEY -c $EC2_CERT -u $AWS_ACCOUNT_NUMBER -r $ARCH &#8211;kernel $AKI &#8211;ramdisk $ARI</p>
<p>18. Upload the image.</p>
<p>ec2-upload-bundle -b $EC2_BUCKET -m /tmp/busybox.fs.manifest.xml -a $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY</p>
<p>19. Register the AMI.</p>
<p>BUSYBOX_AMI=`ec2-register &#8220;$EC2_BUCKET/busybox.fs.manifest.xml&#8221; | awk &#8216;{print $2}&#8217;`<br />
echo &#8220;BUSYBOX_AMI: $BUSYBOX_AMI&#8221;</p>
<p>20. Create an EBS volume of the desired size (10G or more) in the desired availability zone.</p>
<p>VOLUME_ID=`ec2-create-volume -s 10 -z $AVAIL_ZONE | awk &#8216;{print $2}&#8217;`<br />
echo &#8220;VOLUME_ID: $VOLUME_ID&#8221;</p>
<p>21. Attach the volume to the current instance as /dev/sdj.</p>
<p>ec2-attach-volume $VOLUME_ID -i $INSTANCE_ID -d /dev/sdj</p>
<p>22. Create an EXT3 file system on /dev/sdj.</p>
<p>mkfs.ext3 /dev/sdj</p>
<p>22. Mount the EBS volume.</p>
<p>mkdir /mnt/ebs_boot<br />
mount /dev/sdj /mnt/ebs_boot</p>
<p>23. Copy the current AMI to the EBS volume.</p>
<p>rsync -avHx / /mnt/ebs_boot</p>
<p>24. Fix the /etc/fstab file.</p>
<p>vi /mnt/ebs_boot/etc/fstab<br />
Remove the local file systems.<br />
/dev/sda1  /         ext3    defaults        1 1<br />
/dev/sdb  /mnt      ext3    defaults        1 2<br />
/dev/sda3  swap      swap    defaults        0 0<br />
Add the /dev/sdj file system.<br />
/dev/sdj  /         ext3    defaults        1 1</p>
<p>25. Fix the /etc/inittab file. The cloud AMI&#8217;s are normally configured for runlevel 4.</p>
<p>vi /mnt/ebs_boot/etc/inittab<br />
Edit the following line if necessary:<br />
id:4:initdefault:</p>
<p>26. Un-mount the EBS volume.</p>
<p>sync<br />
umount /mnt/ebs_boot</p>
<p>27. Detach the volume.</p>
<p>ec2-detach-volume $VOLUME_ID -i $INSTANCE_ID -d /dev/sdj</p>
<p>28. Create a new instance running the BusyBox AMI.</p>
<p>BUSYBOX_ID=`ec2-run-instances $BUSYBOX_AMI -z $AVAIL_ZONE -k $PUB_KEY -g $SEC_GROUP | awk &#8216;{print $6}&#8217;`</p>
<p>29. Wait until the instance is running&#8230;</p>
<p>ec2-describe-instances $BUSYBOX_ID</p>
<p>30. Attach the EBS volume to the BusyBox instance as /dev/sdj.</p>
<p>ec2-attach-volume $VOLUME_ID -i $BUSYBOX_ID -d /dev/sdj</p>
<p>31. Reboot the BusyBox instance to make sure it picks up the new device.</p>
<p>ec2-reboot-instances $BUSYBOX_ID</p>
<p>32. Check the BusyBox instance&#8217;s console output to make sure it came up as expected.</p>
<p>ec2-get-console-output $BUSYBOX_ID</p>
<p>33. Log into the new EBS backed instance.</p>
<p>That should be it. You now have a persistent instance that is backed by EBS storage!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/ec2-persistent-boots-with-pivot-root/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Jeremiah Wilton published in the latest Oak Table press book!</title>
		<link>https://bluegecko.dk/jeremiah-wilton-published-in-the-latest-oak-table-press-book/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jeremiah-wilton-published-in-the-latest-oak-table-press-book</link>
					<comments>https://bluegecko.dk/jeremiah-wilton-published-in-the-latest-oak-table-press-book/#respond</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Tue, 02 Feb 2010 20:56:08 +0000</pubDate>
				<category><![CDATA[News & Events]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Oracle DBA]]></category>
		<guid isPermaLink="false">http://matthias.bluegecko.net/?p=209</guid>

					<description><![CDATA[&#8220;Expert Oracle Practices: Oracle Database Administration from the Oak Table&#8221; was just released and it features our own Jeremiah Wilton&#8217;s thoughts on running Oracle on Amazon Elastic Cloud Compute (EC2). As an official Amazon Web Services partner, Blue Gecko has adopted EC2 as a primary database hosting platform, and Jeremiah is leading the charge.  For best [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="size-full wp-image-261 alignleft" title="Expert Oracle Practices" src="http://bluegecko.dk/wp-content/uploads/2010/02/51Xb1mWvwSL._SL500_AA240_.jpg" alt="Expert Oracle Practices" width="118" height="118" srcset="https://bluegecko.dk/wp-content/uploads/2010/02/51Xb1mWvwSL._SL500_AA240_.jpg 240w, https://bluegecko.dk/wp-content/uploads/2010/02/51Xb1mWvwSL._SL500_AA240_-150x150.jpg 150w" sizes="(max-width: 118px) 100vw, 118px" /></p>
<p>&#8220;<a rel="nofollow" href="http://www.amazon.com/Expert-Oracle-Practices-Database-Administration/dp/1430226684/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1265145544&amp;sr=8-1">Expert Oracle Practices: Oracle Database Administration from the Oak Table</a>&#8221; was just released and it features our own Jeremiah Wilton&#8217;s thoughts on running Oracle on Amazon Elastic Cloud Compute (EC2).</p>
<p>As an official <a href="http://aws.amazon.com/solutions/solution-providers/bluegecko/">Amazon Web Services partner</a>, Blue Gecko has adopted EC2 as a primary database hosting platform, and Jeremiah is leading the charge.  For best practices regarding Oracle on EC2, check out &#8220;<a rel="nofollow" href="http://www.amazon.com/Expert-Oracle-Practices-Database-Administration/dp/1430226684/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1265145544&amp;sr=8-1">Expert Oracle Practices: Oracle Database Administration from the Oak Table</a>&#8221; today &#8211; available at Amazon.com.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/jeremiah-wilton-published-in-the-latest-oak-table-press-book/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>s3fox does not create valid export manifest files</title>
		<link>https://bluegecko.dk/s3fox-does-not-create-valid-export-manifest-files/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=s3fox-does-not-create-valid-export-manifest-files</link>
					<comments>https://bluegecko.dk/s3fox-does-not-create-valid-export-manifest-files/#comments</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Sun, 27 Dec 2009 19:56:44 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[export/import]]></category>
		<guid isPermaLink="false">http://matthias.bluegecko.net/?p=4</guid>

					<description><![CDATA[S3fox provides a handy utility for creating import manifest and signature files; however, it doesn&#8217;t seem to properly create export manifests.  In fact, it seems like it only creates import manifest files.  The version I used was 0.4.8. Here&#8217;s a screenshot of the s3fox create manifest interface: Note there is nowhere in the GUI to [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>S3fox provides a <a href="http://www.s3fox.net/">handy utility</a> for creating import manifest and signature files; however, it doesn&#8217;t seem to properly create export manifests.  In fact, it seems like it only creates import manifest files.  The version I used was 0.4.8.<span id="more-4"></span></p>
<p>Here&#8217;s a screenshot of the s3fox create manifest interface:</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-266" title="s3fox configuration screen" src="http://bluegecko.dk/wp-content/uploads/2010/01/s3fox-gui-resized-600.jpg" alt="s3fox configuration screen" width="600" height="503" srcset="https://bluegecko.dk/wp-content/uploads/2010/01/s3fox-gui-resized-600.jpg 600w, https://bluegecko.dk/wp-content/uploads/2010/01/s3fox-gui-resized-600-300x252.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Note there is nowhere in the GUI to specify export or import.  Note also in the manifest preview on the right that the exportBucket token is not visible.  Looking at the spec for an export  the exportBucket token is required for AWS to know where to get your data.  Without it, you&#8217;ll get a note from Amazon asking what you&#8217;re trying to do.</p>
<p>So, if you want to export data from an S3 bucket to a USB drive, it&#8217;s best to manually create a manifest file according to the AWS spec.</p>
<p>If you manually create an export manifest, you&#8217;ll also need to manually create a signature file.  The procedure for manually creating signature files was not immediately obvious (to me, anyway) on the AWS site, but I found it on Jeorge Escobar&#8217;s blog (thanks, Jeorge!)</p>
<p>You&#8217;ll need to download the signature tool then in a command line terminal, change to the signature tool directory and run the following command:</p>
<p>[code language=&#8221;plain&#8221;]java -jar lib/AWSImportClientSignatureTool-1.0.jar &amp;amp;lt;manifest file&amp;amp;gt; &amp;amp;lt;job ID&amp;amp;gt; &amp;amp;lt;SIGNATURE file&amp;amp;gt;[/code]</p>
<p>Once you have the manifest and signature file, you can simply follow the documented procedure and expect to see your USB drive in a few days.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/s3fox-does-not-create-valid-export-manifest-files/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Running Oracle in the Amazon EC2 Cloud</title>
		<link>https://bluegecko.dk/running-oracle-in-the-amazon-ec2-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=running-oracle-in-the-amazon-ec2-cloud</link>
					<comments>https://bluegecko.dk/running-oracle-in-the-amazon-ec2-cloud/#respond</comments>
		
		<dc:creator><![CDATA[cedwards]]></dc:creator>
		<pubDate>Mon, 04 May 2009 16:05:33 +0000</pubDate>
				<category><![CDATA[Amazon Web Services]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[collaborate 09]]></category>
		<category><![CDATA[EC2]]></category>
		<guid isPermaLink="false">http://matthias.bluegecko.net/?p=347</guid>

					<description><![CDATA[This is a subject I have much interest in and something we are working on very hard at Blue Gecko; Amazon is positioning itself as an Oracle partner and leader in the Oracle/cloud space and I want to know anything I can about what other people are doing, which is why this presentation was not [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>This is a subject I have much interest in and something we are working on very hard at Blue Gecko; Amazon is positioning itself as an Oracle partner and leader in the Oracle/cloud space and I want to know anything I can about what other people are doing, which is why this presentation was not what I was hoping it would be.</p>
<p>The gentleman presenting (name withheld &#8211; look it up if you’re really interested) basically used an Oracle-provided Amazon AMI, fired up a database, and wrote up some PowerPoint slides.<span id="more-347"></span></p>
<p>To be fair, he was approaching Oracle EC2 from a development perspective, where environments are ad-hoc, truly disposable, and the only relevant cloud-based advantages are cost and deployment speed.  Not that those aren’t key, they certainly are, but he didn’t discuss any relevant performance benchmarks, the advantages to snapshots using Elastic Block Storage, or much outside of simple, disposable use of a pre-built AMI.</p>
<p>He also seemed persistently skeptical about Amazon’s trustworthiness:  No one really knows what components make up EC2; Amazon says they can’t see your data or log into your servers; Amazon tells us that S3 is replicated in three places.</p>
<p>But do we trust them?</p>
<p>Geez.  I don’t know.  Do you trust Rackspace, Savvis, or any hosting company?  Do you trust the sysadmin you just hired and handed the root password?  Man, the paranoia was selectivcely thick.</p>
<p>I was hoping to hear a discussion or see some demonstration of Oracle best practices, even if they were best according to just the presenter.  How did he deal with instance persistence?  Was there a rapid deployment strategy?  How did he decide to use EBS to leverage snapshots and data persistence?  I guess I was hoping for a more operational spin.  He spent a lot of time on EC2 basics:  How to sign up, generating keys, using putty, logging in, etc.</p>
<div></div>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/running-oracle-in-the-amazon-ec2-cloud/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 56/245 objects using disk
Page Caching using disk: enhanced 

Served from: bluegecko.dk @ 2026-10-17 00:19:22 by W3 Total Cache
-->