<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Phil Chen</title>
	
	<link>http://www.philchen.com</link>
	<description>Phil Chen</description>
	<lastBuildDate>Sun, 09 Aug 2009 23:42:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/phil_chen" type="application/rss+xml" /><feedburner:emailServiceId>phil_chen</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Apache Mod_Deflate and Flash SWF Files Don’t Like Each Other</title>
		<link>http://feedproxy.google.com/~r/phil_chen/~3/HSSoJEE7l-0/apache-mod_deflate-and-flash-swf-files-dont-like-each-other</link>
		<comments>http://www.philchen.com/2009/08/04/apache-mod_deflate-and-flash-swf-files-dont-like-each-other#comments</comments>
		<pubDate>Wed, 05 Aug 2009 04:49:42 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Development 101]]></category>
		<category><![CDATA[Systems 101]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=550</guid>
		<description><![CDATA[Recently I was working on a Flex project and upon completion and successful QA, I deployed it on a clients server for use. After embedding the SWF file and adding the data.xml that populated the flash application, I could not load the application in Firefox or IE. Several refreshes would load the application occasionally, however [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was working on a Flex project and upon completion and successful QA, I deployed it on a clients server for use. After embedding the SWF file and adding the data.xml that populated the flash application, I could not load the application in Firefox or IE. Several refreshes would load the application occasionally, however most of the time I just had a grey box. <span id="more-550"></span></p>
<p>So while troubleshooting using Firebug, I realized that the clients server I had deployed on was using Apache 2.2.11 with Mod_Deflate enabled, a method commonly used to compress up to 70% of data transfered over the wire to speed page loads. I then had a flash back on reading an article about issues with compression of SWF&#8217;s, and upon further investigation of the clients Apache configuration file I saw SWF was not excluded from compression via Mod_Deflate.</p>
<p>Mod_Deflate was compressing SWF files sending them with chunked transfer encoding to the browser. It appears the last part of the chunk was being missed by the browser. By refreshing the browser cache it sometimes filled in the missing chunk, and displayed the application.</p>
<p>So I added SWF to the list of files not to compress via Mod_Deflate and the application worked perfectly everytime.</p>
<p>Below is the section I added the SWF exclusion:</p>
<p>BEFORE:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>Location <span style="color: #000000; font-weight: bold;">/&gt;</span>
<span style="color: #666666; font-style: italic;"># Insert filter</span>
SetOutputFilter DEFLATE
&nbsp;
<span style="color: #666666; font-style: italic;"># Netscape 4.x has some problems...</span>
BrowserMatch ^Mozilla<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">4</span> gzip-only-text<span style="color: #000000; font-weight: bold;">/</span>html
&nbsp;
<span style="color: #666666; font-style: italic;"># Netscape 4.06-4.08 have some more problems</span>
BrowserMatch ^Mozilla<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">4</span>\.0<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">678</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> no-gzip
&nbsp;
<span style="color: #666666; font-style: italic;"># MSIE masquerades as Netscape, but it is fine</span>
BrowserMatch \bMSIE <span style="color: #000000; font-weight: bold;">!</span>no-gzip <span style="color: #000000; font-weight: bold;">!</span>gzip-only-text<span style="color: #000000; font-weight: bold;">/</span>html
&nbsp;
<span style="color: #666666; font-style: italic;"># Don't compress images and other uncompressible content</span>
SetEnvIfNoCase Request_URI \
 \.<span style="color: #7a0874; font-weight: bold;">&#40;</span>?:gif<span style="color: #000000; font-weight: bold;">|</span>jpe?g<span style="color: #000000; font-weight: bold;">|</span>png<span style="color: #000000; font-weight: bold;">|</span>rar<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">zip</span><span style="color: #000000; font-weight: bold;">|</span>exe<span style="color: #000000; font-weight: bold;">|</span>flv<span style="color: #000000; font-weight: bold;">|</span>mov<span style="color: #000000; font-weight: bold;">|</span>wma<span style="color: #000000; font-weight: bold;">|</span>mp3<span style="color: #000000; font-weight: bold;">|</span>avi<span style="color: #000000; font-weight: bold;">|</span>mp?g<span style="color: #7a0874; font-weight: bold;">&#41;</span>$ no-gzip dont-vary
&nbsp;
<span style="color: #666666; font-style: italic;"># Make sure proxies don't deliver the wrong content</span>
Header append Vary User-Agent <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">env</span></span>=<span style="color: #000000; font-weight: bold;">!</span>dont-vary
<span style="color: #000000; font-weight: bold;">&lt;/</span>Location<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>AFTER:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;</span>Location <span style="color: #000000; font-weight: bold;">/&gt;</span>
<span style="color: #666666; font-style: italic;"># Insert filter</span>
SetOutputFilter DEFLATE
&nbsp;
<span style="color: #666666; font-style: italic;"># Netscape 4.x has some problems...</span>
BrowserMatch ^Mozilla<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">4</span> gzip-only-text<span style="color: #000000; font-weight: bold;">/</span>html
&nbsp;
<span style="color: #666666; font-style: italic;"># Netscape 4.06-4.08 have some more problems</span>
BrowserMatch ^Mozilla<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">4</span>\.0<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">678</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> no-gzip
&nbsp;
<span style="color: #666666; font-style: italic;"># MSIE masquerades as Netscape, but it is fine</span>
BrowserMatch \bMSIE <span style="color: #000000; font-weight: bold;">!</span>no-gzip <span style="color: #000000; font-weight: bold;">!</span>gzip-only-text<span style="color: #000000; font-weight: bold;">/</span>html
&nbsp;
<span style="color: #666666; font-style: italic;"># Don't compress images and other uncompressible content</span>
SetEnvIfNoCase Request_URI \
 \.<span style="color: #7a0874; font-weight: bold;">&#40;</span>?:gif<span style="color: #000000; font-weight: bold;">|</span>jpe?g<span style="color: #000000; font-weight: bold;">|</span>png<span style="color: #000000; font-weight: bold;">|</span>rar<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">zip</span><span style="color: #000000; font-weight: bold;">|</span>exe<span style="color: #000000; font-weight: bold;">|</span>flv<span style="color: #000000; font-weight: bold;">|</span>mov<span style="color: #000000; font-weight: bold;">|</span>wma<span style="color: #000000; font-weight: bold;">|</span>mp3<span style="color: #000000; font-weight: bold;">|</span>avi<span style="color: #000000; font-weight: bold;">|</span>swf<span style="color: #000000; font-weight: bold;">|</span>mp?g<span style="color: #7a0874; font-weight: bold;">&#41;</span>$ no-gzip dont-vary
&nbsp;
<span style="color: #666666; font-style: italic;"># Make sure proxies don't deliver the wrong content</span>
Header append Vary User-Agent <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">env</span></span>=<span style="color: #000000; font-weight: bold;">!</span>dont-vary
<span style="color: #000000; font-weight: bold;">&lt;/</span>Location<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<img src="http://feeds.feedburner.com/~r/phil_chen/~4/HSSoJEE7l-0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/08/04/apache-mod_deflate-and-flash-swf-files-dont-like-each-other/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/08/04/apache-mod_deflate-and-flash-swf-files-dont-like-each-other</feedburner:origLink></item>
		<item>
		<title>Mob Wars Trailer Contest</title>
		<link>http://feedproxy.google.com/~r/phil_chen/~3/K30JXIm1OBw/mob-wars-trailer-contest</link>
		<comments>http://www.philchen.com/2009/06/10/mob-wars-trailer-contest#comments</comments>
		<pubDate>Thu, 11 Jun 2009 04:08:42 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Fun 101]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=536</guid>
		<description><![CDATA[Recently Michael Foster a friend of mine, decided to recruit a bunch of us to enter in the Mob Wars trailer contest. So after several weekends of filming in various residential streets, city streets, a warehouse, a strip club, with various handguns, shotguns, machine guns, and muscle car and motorcycle stunt work a master piece [...]]]></description>
			<content:encoded><![CDATA[<p>Recently Michael Foster a friend of mine, decided to recruit a bunch of us to enter in the <a href="http://apps.facebook.com/mobwars/about/video_contest.php">Mob Wars trailer contest</a>. So after several weekends of filming in various residential streets, city streets, a warehouse, a strip club, with various handguns, shotguns, machine guns, and muscle car and motorcycle stunt work a master piece was born. I have a fight scene and got to stunt drive my mustang. Please rate the video on youtube and add a comment to help us win!<br />
<span id="more-536"></span><br />
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/23cnL5AzJUg&#038;hl=en&#038;fs=1&#038;rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/23cnL5AzJUg&#038;hl=en&#038;fs=1&#038;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/K30JXIm1OBw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/06/10/mob-wars-trailer-contest/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/06/10/mob-wars-trailer-contest</feedburner:origLink></item>
		<item>
		<title>What is The Throughput For an Amazon EC2 Instance?</title>
		<link>http://feedproxy.google.com/~r/phil_chen/~3/M7DLuHBtWvI/what-is-the-bandwidth-throughput-for-ec2</link>
		<comments>http://www.philchen.com/2009/06/05/what-is-the-bandwidth-throughput-for-ec2#comments</comments>
		<pubDate>Sat, 06 Jun 2009 00:02:01 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=499</guid>
		<description><![CDATA[Since bandwidth throughput when using Amazon Web Services Elastic Compute Cloud (EC2) is very important when routing traffic and services I decided to take some measurements and outline them here for your reference. I ran tests against both 32 Bit and 64 Bit instances, and found some interesting results. These tests were run several times [...]]]></description>
			<content:encoded><![CDATA[<p>Since bandwidth throughput when using <a href="http://aws.amazon.com/ec2/">Amazon Web Services Elastic Compute Cloud (EC2)</a> is very important when routing traffic and services I decided to take some measurements and outline them here for your reference. I ran tests against both 32 Bit and 64 Bit instances, and found some interesting results. These tests were run several times over different days, and the figures are the averages I saw.<br />
<span id="more-499"></span></p>
<blockquote><p><em>*Remember Results May Vary</em></p></blockquote>
<p><strong>Methods of Transport:</strong><br />
SCP &#038; CURL</p>
<p><strong>Data File Size:</strong><br />
17 Megabytes</p>
<p><strong>Data Center Bandwidth:</strong><br />
Gigabit (RoutesScience)</p>
<p><strong> </p>
<blockquote><p>SCP Data:</p></blockquote>
<p></strong></p>
<blockquote><p><strong>32 Bit CentOS</strong></p></blockquote>
<li>Data Center &#8211;> EC2 32 = 10 megabit/s &#8211; 12 megabit/s</li>
<li>EC2 32  &#8211;> Data Center = 7.2 megabit/s</li>
<li>EC2 32 &#8211;> EC2 32 = 80 megabit/s &#8211; 96 megabit/s</li>
<blockquote><p><strong>64 Bit CentOS</strong></p></blockquote>
<li>Data Center &#8211;> EC2 = 12 megabit/s &#8211; 16 megabit/s</li>
<li>EC2 &#8211;> Data Center = 2.24 megabit/s &#8211; 3 megabit/s</li>
<li>EC2 &#8211;> EC2 = 240 megabit/s</li>
<p><strong> </p>
<blockquote><p>CURL (GET NON SSL) Data:</p></blockquote>
<p> </strong></p>
<blockquote><p><strong>32 Bit CentOS</strong></p></blockquote>
<li>Data Center (Server Running Apache) &#8211;GET&#8211;> EC2 = 3.7 megabit/s</li>
<li>EC2 (Running Apache) &#8211;GET&#8211;> Data Center = 5.7 megabit/s</li>
<li>EC2 (Running Apache) &#8211;GET&#8211;> EC2 32 = 80 megabit/s &#8211; 288 megabit/s</li>
<blockquote><p><strong>64 Bit CentOS</strong></p></blockquote>
<li>Data Center (Server Running Apache) &#8211;GET&#8211;> EC2 = 9.6 megabit/s</li>
<li>EC2 (Running Apache) &#8211;GET&#8211;> Data Center = 7.2 megabit/s</li>
<li>EC2 (Running Apache) &#8211;GET&#8211;> EC2 = 767 megabit/s</li>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/M7DLuHBtWvI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/06/05/what-is-the-bandwidth-throughput-for-ec2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/06/05/what-is-the-bandwidth-throughput-for-ec2</feedburner:origLink></item>
		<item>
		<title>How to Save a Snapshot of your Amazon EC2 Instance</title>
		<link>http://feedproxy.google.com/~r/phil_chen/~3/3zqwd7-A0p0/how-to-save-a-snapshot-of-your-amazon-ec2-instance</link>
		<comments>http://www.philchen.com/2009/05/19/how-to-save-a-snapshot-of-your-amazon-ec2-instance#comments</comments>
		<pubDate>Tue, 19 May 2009 23:53:29 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=405</guid>
		<description><![CDATA[This how to article will go over saving a snapshot of your Amazon Elastic Compute Cloud (EC2) Machine Image (AMI). This is very useful for taking an existing AMI and modifying it to customize your needs into a new separate AMI. 
For my intents and purposes I have a base CentOS 5.3 AMI with only [...]]]></description>
			<content:encoded><![CDATA[<p>This how to article will go over saving a snapshot of your Amazon Elastic Compute Cloud (EC2) Machine Image (AMI). This is very useful for taking an existing AMI and modifying it to customize your needs into a new separate AMI. </p>
<p>For my intents and purposes I have a base CentOS 5.3 AMI with only the bare essentials. I then use this snapshot method to create different class AMI&#8217;s for different server functions ie. (webserver, memcached server, etc)<br />
<span id="more-405"></span><br />
First thing is first you are going to need to have an existing AMI created, you can read how to do so in my other blog article <a href="http://www.philchen.com/2009/02/14/how-to-create-an-amazon-elastic-compute-cloud-ec2-machine-image-ami">How to create an Amazon Elastic Compute Cloud EC2 Machine Image (AMI)</a>. Once you have this AMI created and you launch the instance the fun begins to modify it and then take a snapshot for a new AMI based on the original AMI.</p>
<p>So once you launch your instance off your base AMI, you simply connect to your Amazon EC2 instance and install all the software you need to serve your purpose as you would any other server. After you have completed all the software installs and customizations, you then can begin the snapshot process.</p>
<p>The first step is to create a directory and download the Amazon EC2 Tools</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2TOOLS
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2TOOLS
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.philchen.com<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2009</span><span style="color: #000000; font-weight: bold;">/</span>05<span style="color: #000000; font-weight: bold;">/</span>ec2-ami-tools.zip
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">unzip</span> ec2-ami-tools.zip
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> ec2-ami-tools-<span style="color: #000000;">1.3</span>-<span style="color: #000000;">31780</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">*</span> ..<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">rmdir</span> ec2-ami-tools-<span style="color: #000000;">1.3</span>-<span style="color: #000000;">31780</span><span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Now scp over your AWS private and public certificate</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2TOOLS<span style="color: #000000; font-weight: bold;">/</span>pk-yourprivatekey.pem
<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2TOOLS<span style="color: #000000; font-weight: bold;">/</span>cert-yourcertificate.pem</pre></div></div>

<p>You want to setup your .bashrc to know where your tools are</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">vi</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bashrc
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin:<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #000000; font-weight: bold;">/</span>sbin
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">EC2_HOME</span>=<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2TOOLS
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">source</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bashrc</pre></div></div>

<p>Now you will want to download the correct kernel modules:</p>
<p>If your creating a snapshot of a 32bit AMI and don&#8217;t have the proper xen kernel modules do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>MOD
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>MOD
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.philchen.com<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2009</span><span style="color: #000000; font-weight: bold;">/</span>05<span style="color: #000000; font-weight: bold;">/</span>kernel-modules2616-xenu.tgz
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">gunzip</span> <span style="color: #660033;">-c</span> kernel-modules2616-xenu.tgz <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> -
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>MOD<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>modules
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mv</span> 2.6.16-xenU <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>modules
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ depmod <span style="color: #660033;">-ae</span> 2.6.16-xenU</pre></div></div>

<p>If your creating a snapshot of a 64bit AMI and don&#8217;t have the proper xen kernel modules do the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>MOD
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>MOD
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.philchen.com<span style="color: #000000; font-weight: bold;">/</span>wp-content<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2009</span><span style="color: #000000; font-weight: bold;">/</span>05<span style="color: #000000; font-weight: bold;">/</span>kernel-modules-<span style="color: #000000;">261633</span>-xenu.tgz
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">gunzip</span> <span style="color: #660033;">-c</span> kernel-modules-<span style="color: #000000;">261633</span>-xenu.tgz <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvf</span> -
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>MOD<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mv</span> 2.6.16.33-xenU <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>modules
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ depmod <span style="color: #660033;">-ae</span> 2.6.16.33-xenU</pre></div></div>

<p>Now you will want to create a location to store the image files</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2IMAGE</pre></div></div>

<p>At this step you are ready to create the EC2 image files and upload them to S3</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2TOOLS
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ bin<span style="color: #000000; font-weight: bold;">/</span>ec2-bundle-vol <span style="color: #660033;">-d</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2IMAGE <span style="color: #660033;">--privatekey</span> pk-yourprivatekey.pem <span style="color: #660033;">--cert</span> cert-yourcertificate.pem <span style="color: #660033;">-u</span> amazonaccountnumber <span style="color: #660033;">-r</span> i386 or x86_64 <span style="color: #660033;">-p</span> imagename
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ec2instance<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ bin<span style="color: #000000; font-weight: bold;">/</span>ec2-upload-bundle <span style="color: #660033;">-b</span> yours3bucketname <span style="color: #660033;">-m</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>EC2IMAGE<span style="color: #000000; font-weight: bold;">/</span>whatever.manifest.xml <span style="color: #660033;">-a</span> accesskeyid <span style="color: #660033;">-s</span> secretaccesskey</pre></div></div>

<p>Now on your local machine that you start instances from register the new AWS AMI</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>phil<span style="color: #000000; font-weight: bold;">@</span>client<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>phil<span style="color: #000000; font-weight: bold;">/</span>EC2<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ec2-register yourbucketname<span style="color: #000000; font-weight: bold;">/</span>thenameofthenewami.manifest.xml</pre></div></div>

<p>At this point you are done, and ready to fire up your new AMI instance whenever you like with your changes. Note the below directories have been excluded during the bundle process so your certs and secret info will be excluded, but also note anything you installed in these directories will not be kept though as well.</p>
<p>Excluding:<br />
	 /sys<br />
	 /proc<br />
	 /dev/pts<br />
	 /proc/sys/fs/binfmt_misc<br />
	 /dev<br />
	 /media<br />
	 /mnt<br />
	 /proc<br />
	 /sys<br />
	 /mnt</p>
<p>Happy snapshotting your AMI <img src='http://www.philchen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/3zqwd7-A0p0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/05/19/how-to-save-a-snapshot-of-your-amazon-ec2-instance/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/05/19/how-to-save-a-snapshot-of-your-amazon-ec2-instance</feedburner:origLink></item>
		<item>
		<title />
		<link>http://feedproxy.google.com/~r/phil_chen/~3/B3Kq_VUBfdU/489</link>
		<comments>http://www.philchen.com/2009/05/17/489#comments</comments>
		<pubDate>Mon, 18 May 2009 02:35:00 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=489</guid>
		<description><![CDATA[I have been doing a lot of work with Amazon Web Services Cloud Computing for VMIX Media Inc. so much recently we have started a relationship with Amazon. So far they have been very helpful and working with Amazon Web Services has been great! You can read about our relationship in the Amazon Solutions Catalog: [...]]]></description>
			<content:encoded><![CDATA[<p>I have been doing a lot of work with Amazon Web Services Cloud Computing for <a href="http://www.vmix.com">VMIX Media Inc.</a> so much recently we have started a relationship with Amazon. So far they have been very helpful and working with Amazon Web Services has been great! You can read about our relationship in the Amazon Solutions Catalog: <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2457">VMIX Delivers SaaS Online Video and Digital Media Solution with AWS</a></p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/B3Kq_VUBfdU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/05/17/489/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/05/17/489</feedburner:origLink></item>
		<item>
		<title>How to Build a Skateboard to Satisfy a Midlife Crisis</title>
		<link>http://feedproxy.google.com/~r/phil_chen/~3/-8iMG7_Eg2I/how-to-build-a-skateboard-to-satisfy-a-midlife-crisis</link>
		<comments>http://www.philchen.com/2009/05/17/how-to-build-a-skateboard-to-satisfy-a-midlife-crisis#comments</comments>
		<pubDate>Mon, 18 May 2009 01:33:04 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Fun 101]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=450</guid>
		<description><![CDATA[This article is a step buy step on building your own skateboard; the alternative is having your local skateboard shop do it for you. A long time ago back in my early youth, I worked at two skateboard / inline skate shops one in Lawndale CA, and the other in Hermosa Beach CA, from age [...]]]></description>
			<content:encoded><![CDATA[<p>This article is a step buy step on building your own skateboard; the alternative is having your local skateboard shop do it for you. A long time ago back in my early youth, I worked at two skateboard / inline skate shops one in Lawndale CA, and the other in Hermosa Beach CA, from age 13-18. It was possibly the best work experience of my life. In any rate I decided 15 years later to relive old times and pick up parts to build a new board and go for a ride (yes midlife crisis here I come).<br />
<span id="more-450"></span><br />
First thing I did was go to a local skateboard shop in Oceanside, CA <a href="http://www.k5.com">K5</a> to be exact. Here I picked up the goods for my new skateboard, I was going for a semi budget board:</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-186.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-186.jpg" alt="skateboardgoods" title="skateboardgoods" width="450" height="600" class="aligncenter size-full wp-image-451" /></a></p>
<p>Gear:<br />
1x Mystery Lopez Suicide King Deck 7.875 x 31.75<br />
4x Bones REDS Precision Skate Bearings<br />
4x Ricta Wheels  Arto Saari 54mm Chrome Cores Gunmetal<br />
2x Thunder Truck Company 149ers<br />
4x Shorty&#8217;s 1&#8243;<br />
1x Black Magic Grip Tape</p>
<p>Tools:<br />
1x Phillips Tip Screwdriver<br />
1x 3/8 open wrench<br />
1x 7/16 socket or open wrench<br />
1x Packing Knife</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-191.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-191.jpg" alt="Grip Tape" title="Grip Tape" width="700" height="180" class="aligncenter size-full wp-image-453" /></a></p>
<p>The first step was to put the Black Magic grip tape on the deck, since the tape was pre-cut I just had to align it on the board and stick it on.</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-192.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-192.jpg" alt="Grip Tape Outline" title="Grip Tape Outline" width="700" height="263" class="aligncenter size-full wp-image-468" /></a></p>
<p>The second step was to define the edges of the board and grip tape for cutting, I used the top edge of one of my trucks (the side that goes against the board) and scraped the edges all around the board.</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-194.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-194.jpg" alt="Cutting Grip Tape" title="Cutting Grip Tape" width="450" height="683" class="aligncenter size-full wp-image-471" /></a></p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-195.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-195.jpg" alt="Cutting Grip Tape" title="Cutting Grip Tape" width="450" height="815" class="aligncenter size-full wp-image-472" /></a></p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-196.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-196.jpg" alt="After cutting the grip tape" title="After cutting the grip tape" width="700" height="525" class="aligncenter size-full wp-image-474" /></a></p>
<p>The third step was to use a packing knife and cut the grip tape from the bottom with the blade facing up around the edge you defined with your truck. Be careful not to hurt yourself before you even get on the board!</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-197.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-197.jpg" alt="Poking holes" title="Poking holes" width="700" height="525" class="aligncenter size-full wp-image-475" /></a></p>
<p>The fourth step is to poke some holes with an allen wrench through your grip tape. You can use any other object that fits in that hole as well.</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-199.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-199.jpg" alt="Screw the deck" title="Screw the deck" width="700" height="525" class="aligncenter size-full wp-image-477" /></a></p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-200.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-200.jpg" alt="Screw that board" title="Screw that board" width="700" height="525" class="aligncenter size-full wp-image-478" /></a></p>
<p>The fifth step is to put your Shorty truck screws in the deck.</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-201.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-201.jpg" alt="Get on the trucks!" title="Get on the trucks!" width="700" height="493" class="aligncenter size-full wp-image-479" /></a></p>
<p>The sixth step is to mount your trucks onto the board with your Shorty screws and nuts, I used a Phillips tip screw driver and a 3/8 wrench to do so.</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-203.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-203.jpg" alt="Put the wheels on!" title="Put the wheels on!" width="700" height="467" class="aligncenter size-full wp-image-480" /></a></p>
<p>The seventh step is to put on your wheels, I had the skateboard shop press the bearings into the wheels at the store since I don&#8217;t own a bearing press. I made sure to have a washer at both sides of the wheel (included with the trucks), and used a 7/16 socket wrench to tighten the wheels on. Make sure not to over tighten your wheels they should move free, you will have to find the sweet spot.</p>
<p><a href="http://www.philchen.com/wp-content/uploads/2009/05/picture-204.jpg"><img src="http://www.philchen.com/wp-content/uploads/2009/05/picture-204.jpg" alt="Skate or Die" title="Skate or Die" width="295" height="763" class="aligncenter size-full wp-image-482" /></a></p>
<p>The last step is to go out and have fun on your new board! For me its midlife crisis time, skate or die!</p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/-8iMG7_Eg2I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/05/17/how-to-build-a-skateboard-to-satisfy-a-midlife-crisis/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/05/17/how-to-build-a-skateboard-to-satisfy-a-midlife-crisis</feedburner:origLink></item>
		<item>
		<title>How long does it take to launch an Amazon EC2 instance?</title>
		<link>http://feedproxy.google.com/~r/phil_chen/~3/QsJPD6C_2TQ/how-long-does-it-take-to-launch-an-amazon-ec2-instance</link>
		<comments>http://www.philchen.com/2009/04/21/how-long-does-it-take-to-launch-an-amazon-ec2-instance#comments</comments>
		<pubDate>Wed, 22 Apr 2009 05:08:20 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=368</guid>
		<description><![CDATA[As part of a project to offset usage spikes by auto spinning up EC2 instances on the fly for added computing power during high traffic periods, I needed to answer the question how fast could I really spin up an EC2 instance. So after running several tests against small and large EC2 instances running a [...]]]></description>
			<content:encoded><![CDATA[<p>As part of a project to offset usage spikes by auto spinning up EC2 instances on the fly for added computing power during high traffic periods, I needed to answer the question how fast could I really spin up an EC2 instance. So after running several tests against small and large EC2 instances running a base CentOS 5.3 AMI this is what I found:<br />
<span id="more-368"></span><br />
<strong>Small Instance 1.7 GB of memory, 1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit), 160 GB of instance storage, 32-bit platform with a base install of CentOS 5.3 AMI</strong></p>
<p>Amount of time from launch of instance to availability:<br />
Between 5 and 6 minutes us-east-1c</p>
<p><strong>Large Instance 7.5 GB of memory, 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each), 850 GB of instance storage, 64-bit platform with a base install of CentOS 5.3 AMI</strong></p>
<p>Amount of time from launch of instance to availability:<br />
Between 11 and 18 minutes us-east-1c</p>
<p>Both were started via command line using Amazons tools.</p>
<p>Given my research instances are not so instant, so in order to accommodate for the delay calculating your usage patterns is key to avoid the gap. Having a reserve set of instances running as a buffer to carry you over the delay of launching new instances during peak load times is a must. By knowing your usage patterns you can at least make an educated decision as to how many instances you will need in the buffer. Also a system of seeing load acceleration against running capacity will be important for auto launching instances as necessary given your determined algorithm.</p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/QsJPD6C_2TQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/04/21/how-long-does-it-take-to-launch-an-amazon-ec2-instance/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/04/21/how-long-does-it-take-to-launch-an-amazon-ec2-instance</feedburner:origLink></item>
		<item>
		<title />
		<link>http://feedproxy.google.com/~r/phil_chen/~3/svtxG-7HdfQ/366</link>
		<comments>http://www.philchen.com/2009/04/21/366#comments</comments>
		<pubDate>Wed, 22 Apr 2009 03:53:08 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=366</guid>
		<description><![CDATA[I had a dream last night that I needed to fix the US Air Forces Stratum 1 server which had a bum Stratum 0 card in order for all their Stratum 2 servers to sync over NTP correctly. Apparently in my dream the world would come to an end, if I couldn&#8217;t fix the issue! [...]]]></description>
			<content:encoded><![CDATA[<p>I had a dream last night that I needed to fix the US Air Forces Stratum 1 server which had a bum Stratum 0 card in order for all their Stratum 2 servers to sync over NTP correctly. Apparently in my dream the world would come to an end, if I couldn&#8217;t fix the issue! Somewhere along the lines of things launching that shouldn&#8217;t as a result of the time glitch. Why can&#8217;t I have normal dreams of having super powers like the ability to fly instead?</p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/svtxG-7HdfQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/04/21/366/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/04/21/366</feedburner:origLink></item>
		<item>
		<title />
		<link>http://feedproxy.google.com/~r/phil_chen/~3/3Vhp2na5p04/364</link>
		<comments>http://www.philchen.com/2009/04/18/364#comments</comments>
		<pubDate>Sun, 19 Apr 2009 03:39:28 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Notes]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=364</guid>
		<description><![CDATA[It&#8217;s that time of year when I try to raise some $ for a good cause the National Multiple Sclerosis Society! You can help donate at http://www.mswalk.com/phil
On April 26 at LEGOLAND, I will be joining thousands of walkers at Walk MS 2009,
benefiting the Pacific South Coast Chapter of the National Multiple Sclerosis Society.
]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s that time of year when I try to raise some $ for a good cause the National Multiple Sclerosis Society! You can help donate at http://www.mswalk.com/phil</p>
<p>On April 26 at LEGOLAND, I will be joining thousands of walkers at Walk MS 2009,<br />
benefiting the Pacific South Coast Chapter of the National Multiple Sclerosis Society.</p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/3Vhp2na5p04" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/04/18/364/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/04/18/364</feedburner:origLink></item>
		<item>
		<title>What is The Throughput For Pushing Files to Amazon S3?</title>
		<link>http://feedproxy.google.com/~r/phil_chen/~3/vcHkjMx7F3g/what-is-the-throughput-for-pushing-files-to-amazon-s3</link>
		<comments>http://www.philchen.com/2009/04/06/what-is-the-throughput-for-pushing-files-to-amazon-s3#comments</comments>
		<pubDate>Mon, 06 Apr 2009 11:59:46 +0000</pubDate>
		<dc:creator>Phil Chen</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.philchen.com/?p=326</guid>
		<description><![CDATA[So recently I wanted to test how fast it would take to push a large amount of data into the Amazon S3 Cloud Computing Service. I already had an idea of the throughput, but wanted to make sure with a large amount of data over time my assumption was correct.

SPECIFICATIONS:
Amount of Data: 165.85895 gigabytes
Average File [...]]]></description>
			<content:encoded><![CDATA[<p>So recently I wanted to test how fast it would take to push a large amount of data into the <a href="http://aws.amazon.com/s3/">Amazon S3 Cloud Computing Service</a>. I already had an idea of the throughput, but wanted to make sure with a large amount of data over time my assumption was correct.<br />
<span id="more-326"></span><br />
SPECIFICATIONS:</p>
<p>Amount of Data: 165.85895 gigabytes<br />
Average File Size of Data: 4.5 megabytes<br />
ISP Connection Speed: 45 megabit connection<br />
Method: Single Threaded Process</p>
<p>RESULTS:</p>
<p>Amount: 165.85895 gigabytes<br />
Time to completion: 19.06775 hours<br />
Throughput: 22.31 megabit/second average</p>
<p><img src="http://www.philchen.com/wp-content/uploads/2009/04/amazonthruputimage.png" alt="amazonthruputimage" title="amazonthruputimage" width="602" height="258" class="alignleft size-full wp-image-327" /></p>
<p>CONCLUSION:</p>
<p>I have consistently seen on average 22 megabit/s speeds for pushing files onto S3. Occasionally I have seen the fastest speeds at around 35 megabit/s. This test helps bolster that, looks like Amazon rate limits it to this range.</p>
<img src="http://feeds.feedburner.com/~r/phil_chen/~4/vcHkjMx7F3g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.philchen.com/2009/04/06/what-is-the-throughput-for-pushing-files-to-amazon-s3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.philchen.com/2009/04/06/what-is-the-throughput-for-pushing-files-to-amazon-s3</feedburner:origLink></item>
	</channel>
</rss>
