<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Ellipsis: Tag aws</title>
    <link>http://typo.pburkholder.com/articles/tag/aws?tag=aws</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>...</description>
    <item>
      <title>This American Life and Amazon Web Services</title>
      <description>&lt;h2&gt;Dear Ira Glass and Elizabeth Meister,&lt;/h2&gt;


	&lt;p&gt;Today I was listening to your &amp;#8220;This American Life&amp;#8221; podcast and the prelude included a fund campaign to support your podcasts.  Being a dutiful listener, and more than that, a fan committed enough to attend a live &lt;span class="caps"&gt;TAL&lt;/span&gt; show, I&amp;#8217;m going to go beyond making a $5 donation, and help you save $70,000 per year.&lt;/p&gt;


	&lt;p&gt;Today you said that on average you support 400,000 download of your podcast per week (or 1.73 million a month) at a bandwith cost of $152,000 per year (or $12670 per month).  That&amp;#8217;s a situation not unlike the one we faced at EchoDitto when Rosie O&amp;#8217;Donnell, or most prominent client, had b/w charges going through the roof when her podcasts were in the news last year.  Our solution then was to move using media hosting through Amazon&amp;#8217;s Web Services&amp;#8217; (AWS)  Simple Storage Service (S3).  Before we get into implementation, let&amp;#8217;s look at cost for using S3:&lt;/p&gt;


	&lt;p&gt;&lt;span class="caps"&gt;STORAGE&lt;/span&gt; and &lt;span class="caps"&gt;UPLOAD&lt;/span&gt;:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Typical podcast size: 28M&lt;/li&gt;
		&lt;li&gt;Podcast storage for one year&amp;#8217;s worth of podcasts (approx. 40 new podcasts per year): 1.1Gb&lt;/li&gt;
		&lt;li&gt;Monthly cost for 1 year&amp;#8217;s podcast storage with S3 (1.1.Gb * $0.15 per GB per month): 16¬¢&lt;/li&gt;
		&lt;li&gt;Monthly upload costs (10¬¢ per Gb): 1¬¢&lt;/li&gt;
		&lt;li&gt;Subtotal storage and upload per month: 11¬¢&lt;/li&gt;
		&lt;li&gt;or, effectively nothing.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;&lt;span class="caps"&gt;DOWNLOAD&lt;/span&gt;:&lt;/p&gt;


	&lt;ul&gt;
	&lt;li&gt;Bandwidth: 400,000 downloads per week of 28Mb podcasts:  10937 Gb/week, or ~50 Tb/Month&lt;/li&gt;
		&lt;li&gt;Requests: 400,000 * 4.33 : 1,732,000 GETs per month&lt;/li&gt;
	&lt;/ul&gt;


	&lt;p&gt;And here I fall back on the 
&lt;a href="http://calculator.s3.amazonaws.com/calc5.html" title="http://calculator.s3.amazonaws.com/calc5.html"&gt;&lt;span class="caps"&gt;AWS&lt;/span&gt; monthly calculator&lt;/a&gt;
to come up $6912 per month, or $83,000 per year, an annual savings or $69,000&lt;/p&gt;


	&lt;h2&gt;Implementation&lt;/h2&gt;


	&lt;ol&gt;
	&lt;li&gt;Sign up for &lt;span class="caps"&gt;AWS&lt;/span&gt; with your &lt;span class="caps"&gt;WBEZ&lt;/span&gt; credit card&lt;/li&gt;
		&lt;li&gt;Sign up for S3, and get your &lt;span class="caps"&gt;AWS&lt;/span&gt;_ACCESS_KEY_ID and your &lt;span class="caps"&gt;AWS&lt;/span&gt;_SECRET_ACCESS_KEY&lt;/li&gt;
		&lt;li&gt;Download and install S3Fox for Firefox, and configure S3Fox with the keys from the step above&lt;/li&gt;
		&lt;li&gt;Use S3Fox to create a bucket called, say, media.thisamericanlife.org&lt;/li&gt;
		&lt;li&gt;Use S3fox to upload a podcast with an object key, say, &amp;#8216;podcast/332.mp3&amp;#8217;&lt;/li&gt;
		&lt;li&gt;In &lt;span class="caps"&gt;DNS&lt;/span&gt;, create a &lt;span class="caps"&gt;CNAME&lt;/span&gt; &lt;code&gt;media CNAME media.thisamericanlife.org.s3.amazonaws.com&lt;/code&gt;&lt;/li&gt;
		&lt;li&gt;Link to your podcast at @http://media.thisamericanlife.org/podcast/332.mp3&amp;#8217;&lt;/li&gt;
	&lt;/ol&gt;


	&lt;p&gt;That&amp;#8217;s it.  To learn more read &lt;a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=1073"&gt;Scalable Media Hosting with Amazon
S3&lt;/a&gt;&lt;/p&gt;


	&lt;h2&gt;What about streamguys.com?&lt;/h2&gt;


	&lt;p&gt;Continue to use them for streaming.  There no reason you can&amp;#8217;t split the
hosting for your downloadable podcasts vs. your streaming media.&lt;/p&gt;


	&lt;h2&gt;Downsides&lt;/h2&gt;


	&lt;p&gt;I can&amp;#8217;t think of any.  There&amp;#8217;s no upfront cost, no commitment.  You could
even use it for a handful of your podcasts to make sure your happy.  And
give everyone on staff a raise!&lt;/p&gt;</description>
      <pubDate>Sat, 07 Jun 2008 10:03:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:2aeaabc6-073d-4512-adc6-ae970e3402fa</guid>
      <author>Peter Burkholder</author>
      <link>http://typo.pburkholder.com/articles/2008/06/07/this-american-life-and-amazon-web-services</link>
      <category>s3</category>
      <category>aws</category>
      <category>npr</category>
    </item>
  </channel>
</rss>
