<?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>Webmonkey &#187; amazon s3</title>
    <atom:link href="http://www.webmonkey.com/tag/amazon-s3/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Fri, 05 Apr 2013 20:20:46 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Host Your Static Website on Amazon S3, No WWW Necessary</title>
        <link>http://www.webmonkey.com/2013/01/host-your-static-website-on-amazon-s3-no-www-necessary/</link>
        <comments>http://www.webmonkey.com/2013/01/host-your-static-website-on-amazon-s3-no-www-necessary/#comments</comments>
        <pubDate>Thu, 03 Jan 2013 16:24:41 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60424</guid>
        		<category><![CDATA[Backend]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[amazon s3]]></category>
        <description><![CDATA[Amazon's S3 file hosting service has long been a cheap, easy way to publish static websites, but now it's even more appealing thanks to support for root domains. Amazon's documentation can be a bit confusing, but fear not, we'll show you how to get your custom domain up and running in no time.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><img src="http://www.webmonkey.com/wp-content/uploads/2011/02/aws.gif" />Amazon&#8217;s S3 file storage service started life as just that &#8212; a simple way to store static files and pay for only the data you used. When you don&#8217;t need an always-on server, S3 fits the bill. </p>
<p>But if you can store static files, why not whole static websites? In 2011 Amazon began allowing you to point your own domain to an S3 &#8220;bucket&#8221;, a folder in Amazon parlance. Custom domain support made it simple to <a href="http://www.webmonkey.com/2011/02/amazon-s3-storage-now-handles-entire-websites/">host entire static sites</a>; the catch was that you needed to use a subdomain &#8212; for example, www.</p>
<p>Now <a href="http://aws.typepad.com/aws/2012/12/root-domain-website-hosting-for-amazon-s3.html">the www restriction has been lifted</a> and you can point any root domain at S3 and serve your files directly. The only catch is that Amazon has created its own non-standard DNS workaround, which means you must use Amazon&#8217;s Route 53 service to host the DNS data for your domain.</p>
<p>Unfortunately, while the new root domain support is great news for anyone using a static blog generator like <a href="http://jekyllrb.com/">Jekyll</a>, Amazon&#8217;s <a href="http://docs.amazonwebservices.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html">documentation</a> leaves much to be desired. To help you get started with S3 hosting, here&#8217;s a quick guide to setting up S3 to serve files from a root domain (rather than making the root domain redirect to www.mydomain.com, as the <a href="http://aws.typepad.com/aws/2012/12/root-domain-website-hosting-for-amazon-s3.html">Amazon blog post instructions</a> do).</p>
<p>First, register a domain name and point your DNS records to Amazon&#8217;s Route 53 service (the Route 53 docs have <a href="http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/R53Example.html">detailed instructions</a> on how to do this). The next step is to create an S3 bucket for your domain. In other words, a bucket named mydomain.com. </p>
<p>Now click the Properties button, select the Website tab and make sure that the option is enabled and the Index Document is set to index.html. You&#8217;ll also need to click the Permissions tab and set a bucket policy (you can use this <a href="http://docs.amazonwebservices.com/AmazonS3/latest/dev/WebsiteAccessPermissionsReqd.html">basic example</a> from Amazon).</p>
<p>Now upload your site to that bucket and head back to Route 53. Here comes the magic. To make this work you need to create an A &#8220;Alias&#8221; DNS record. Make sure you name it the same as your domain name. Sticking with the earlier example, that would be mydomain.com. Now click the Alias Target field and select the S3 endpoint you created earlier when you set up the bucket. </p>
<p>And that&#8217;s it. Behind the scenes that Route 53 &#8220;Alias&#8221; record looks like a normal DNS A record. That means things like email will continue to work for your domain and at the same time Route 53 directs requests to your S3 bucket. If you want to make www redirect to the root domain you can either set that up through Route 53 (see <a href="http://aws.typepad.com/aws/2012/12/root-domain-website-hosting-for-amazon-s3.html">Amazon&#8217;s instructions</a>) or handle it through another service.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2013/01/host-your-static-website-on-amazon-s3-no-www-necessary/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Google Drive&#8217;s New &#8216;Site Publishing&#8217; Takes on Amazon, Dropbox</title>
        <link>http://www.webmonkey.com/2012/11/google-drives-new-site-publishing-takes-on-amazon-dropbox/</link>
        <comments>http://www.webmonkey.com/2012/11/google-drives-new-site-publishing-takes-on-amazon-dropbox/#comments</comments>
        <pubDate>Thu, 29 Nov 2012 20:18:45 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=60127</guid>
        		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Backend]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[amazon s3]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[google drive]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2012/11/gdrivesite-200x100.jpg" type="image/jpeg" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2012/11/gdrivesite.jpg" alt="Google Drive&#8217;s New &#8216;Site Publishing&#8217; Takes on Amazon, Dropbox" /></div>Google Drive can now host entire websites if you don't mind serving them from a long, confusing URL. Google Drive's new "site publishing" tools make it easy for app developers to upload files to Drive and then serve those files on the web.]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><div id="attachment_60128" class="wp-caption aligncenter" style="width: 590px"><img src="http://www.webmonkey.com/wp-content/uploads/2012/11/gdrivesite.jpg" alt="" title="gdrivesite" width="580" height="315" class="size-full wp-image-60128" /><p class="wp-caption-text">Google&#8217;s demo site, served entirely by Google Drive. <em>Image: Screenshot/Webmonkey</em></p></div></p>
<p>Google has unveiled a new feature dubbed &#8220;<a href="http://googleappsdeveloper.blogspot.nl/2012/11/announcing-google-drive-site-publishing.html">site publishing</a>&#8221; for the company&#8217;s Drive cloud hosting service. Drive&#8217;s new site publishing is somewhere between a full-featured static file hosting service like Amazon S3 and Dropbox&#8217;s public folders, which can make hosted files available on the web.</p>
<p>Google has set up a simple <a href="https://googledrive.com/host/0B716ywBKT84AcHZfMWgtNk5aeXM/">demo site</a> served entirely from Google Drive to give you an idea of what&#8217;s possible with the site publishing feature. Essentially site publishing gives your public folders a URL on the web &#8212; anything you drop in that folder can then be referenced relative to the root URL. It&#8217;s unclear from the announcement how these new features fit with Google&#8217;s existing answer to Amazon S3, Google Cloud Storage. </p>
<p>The API behind site publishing works a lot like what you&#8217;ll find in Amazon&#8217;s S3 offering. If you use the Drive API&#8217;s <code>files.insert</code> method to upload a file to Drive, it will return a <code>webViewLink</code> attribute, something like <code>https://googledrive.com/host/A1B2C3D4E5F6G7H8J</code>. That ugly, but functional URL becomes the base URL for your content. So, if you uploaded a folder named <code>images</code>, with a file named <code>kittens.jpg</code>, you could access it on the web at <code>https://googledrive.com/host/A1B2C3D4E5F6G7H8J/images/kittens.jpg</code></p>
<p>There&#8217;s one drawback though, Drive&#8217;s site publishing doesn&#8217;t appear to support custom domains, which means it works fine for assets like images, CSS or JavaScript, but unless you don&#8217;t mind serving your site from some funky URLs, it&#8217;s probably not the best choice for hosting an entire site.</p>
<p>There are already numerous static file hosting solutions on the web including Dropbox and Amazon&#8217;s S3, as well as whole publishing systems that use Dropbox and S3 to host files, but for those who would prefer a Google-based solution, now you have it.</p>
<p>For more details on the new API see the <a href="http://googleappsdeveloper.blogspot.nl/2012/11/announcing-google-drive-site-publishing.html">Google Apps Developer Blog</a> and be sure to read through the <a href="https://developers.google.com/drive/publish-site">Drive SDK docs</a>. If you need help, Google is answering questions over on <a href="http://stackoverflow.com/questions/tagged/google-drive-sdk">Stack Overflow</a>.</p>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2012/11/google-drives-new-site-publishing-takes-on-amazon-dropbox/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Amazon S3 Storage Now Handles Entire Websites</title>
        <link>http://www.webmonkey.com/2011/02/amazon-s3-storage-now-handles-entire-websites/</link>
        <comments>http://www.webmonkey.com/2011/02/amazon-s3-storage-now-handles-entire-websites/#comments</comments>
        <pubDate>Fri, 18 Feb 2011 17:23:27 +0000</pubDate>

                <dc:creator>Scott Gilbertson</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/?p=49946</guid>
        		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Services]]></category>
		<category><![CDATA[amazon s3]]></category>
            <enclosure url="http://www.webmonkey.com/wp-content/uploads/2011/02/aws.gif" type="image/gif" length="48000" />
                    <description><![CDATA[<div class="rss_thumbnail"><img src="http://www.webmonkey.com/wp-content/uploads/2011/02/aws.gif" alt="Amazon S3 Storage Now Handles Entire Websites" /></div>Cheap, cloud-hosted web servers are a key component of a distributed web. But sometimes you don&#8217;t need a server, you just need a cheap way to host your static files, like images and videos. That&#8217;s the gap Amazon&#8217;s S3 service has long filled &#8212; offering a simple and cheap way to serve up static files [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled -->
<p><a href="http://www.webmonkey.com/wp-content/uploads/2011/02/aws.gif"><img src="http://www.webmonkey.com/wp-content/uploads/2011/02/aws.gif" alt="" title="aws" width="150" height="60" class="alignleft size-full wp-image-49948" /></a>Cheap, cloud-hosted web servers are a <a href="http://www.webmonkey.com/2011/02/take-back-the-tubes/">key component of a distributed web</a>. But sometimes you don&#8217;t need a server, you just need a cheap way to host your static files, like images and videos. That&#8217;s the gap Amazon&#8217;s S3 service has long filled &#8212; offering a simple and cheap way to serve up static files without paying for an always-on server.</p>
<p>Now, thanks to an update, you can host not just a few image files, but a complete static website on Amazon S3.</p>
<p>Previously, S3 wouldn&#8217;t work for an entire site because the root level of your Amazon S3 &#8220;bucket&#8221; (as storage containers are called in Amazon parlance) was an XML file. For entire websites you needed to use Amazon EC2, even if your site was purely static content.</p>
<p>But Amazon has changed the way S3 works. Now, an S3 bucket can be accessed as a website, making it possible to <a href="http://aws.typepad.com/aws/2011/02/host-your-static-website-on-amazon-s3.html">host static sites on the service</a>. If an error occurs, your visitors will see an normal HTML error document instead of the old XML error message. </p>
<p>Amazon CTO Werner Vogels is eating his own dog food and has a helpful post on how he <a href="http://www.allthingsdistributed.com/2011/02/website_amazon_s3.html">moved his blog to S3</a>. Like most blogs, Vogels&#8217; site is mainly static content, so serving it from S3 is simply a matter of uploading the files and changing the CNAME to point to the S3 bucket instance. Of course, for those elements of the site that aren&#8217;t static &#8212; editing posts, managing comments and searching &#8212; Vogels still relies on a web server.</p>
<p>For those using static publishing systems like <a href="https://github.com/mojombo/jekyll">Jekyll</a>, the revamped S3 makes a cheap hosting option.</p>
<p>Amazon S3 still has some notable oversights &#8212; like the lack of support for gzip/deflate &#8212; but now that it can handle whole static websites there&#8217;s no need to pay for a server when you don&#8217;t need one.</p>
<p><strong>See Also:</strong><br/></p>
<ul>
<li><a href="http://www.webmonkey.com/2010/05/googles-new-cloud-storage-service-takes-on-amazon-s3/">Google’s New Cloud Storage Service Takes on Amazon S3</a></li>
<li><a href="http://www.webmonkey.com/2011/02/take-back-the-tubes/">A DIY Data Manifesto</a></li>
<li><a href="http://www.webmonkey.com/2008/08/amazon_expands_elastic_computing_with_new_storage_service/">Amazon Expands Elastic Computing With New Storage Service</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2011/02/amazon-s3-storage-now-handles-entire-websites/feed/</wfw:commentRss>
        <slash:comments>5</slash:comments>

        
    </item>
    
    <item>
        <title>S3 Outage Makes Developers Consider Redundancy</title>
        <link>http://www.webmonkey.com/2008/07/s3_outage_makes_developers_consider_redundancy/</link>
        <comments>http://www.webmonkey.com/2008/07/s3_outage_makes_developers_consider_redundancy/#comments</comments>
        <pubDate>Mon, 21 Jul 2008 23:09:03 +0000</pubDate>

                <dc:creator>Adam Duvander</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/blog/s3outagemakesdevelopersconsiderredundancy</guid>
        		<category><![CDATA[Other]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[amazon s3]]></category>
        <description><![CDATA[At least the downtime gods picked a notoriously low traffic day to punish Amazon&#8217;s S3 storage service. The darling of many web apps, including popular Twitter, was down for eight hours Sunday. Amazon&#8217;s service provides storage and transfer of data for a small fee, so that developers can let their own servers focus on more [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><img class="blogimg" src="http://blog.wired.com/photos/uncategorized/amazon.jpg" alt="Amazon Web Services" />At least the downtime gods picked a notoriously low traffic day to punish Amazon&#8217;s S3 storage service. The darling of many web apps, including popular Twitter, was down for eight hours Sunday.</p>
<p>Amazon&#8217;s service provides storage and transfer of data for a small fee, so that developers can let their own servers focus on more important issues. For small upstart sites, it&#8217;s cheaper to buy their data a tiny slice at a time than to invest in a lot of hardware. S3 is especially popular for image hosting, which can be large files in comparison to trim HTML. Also, there are often many images per web page, putting extra strain on a server.</p>
<p>Among the revelations for some developers after a third of a day without S3 is that no single service can be counted on for 100% uptime. Of course, there&#8217;s oodles of redundancy built in to Amazon&#8217;s service. Yet, still it can go down, leaving many sites that count on it with a single point of failure.</p>
<p>Dave Winer sees a <a href="http://www.scripting.com/stories/2008/07/20/amazonS3DownAllDay.html">business opportunity in S3 redundancy</a>:</p>
<blockquote><p>&#8220;It would be easy to hook up an external service to S3, and for a fee, keep a mirror on another server. Then it would be a matter of redirecting domains to point at the other server when S3 goes down.&#8221;</p></blockquote>
<p>Developers could achieve the same result Winer mentions on their own. Robert Accettura notes <a href="http://robert.accettura.com/blog/2008/07/20/amazon-s3-outage/">how WordPress.com weathered the S3 outage gracefully</a>:</p>
<blockquote><p>&#8220;They have (slower) back up&#8217;s in house for when S3 is down and can failover if S3 has a problem. This means they can leverage S3 to their advantage, but aren&#8217;t down because of S3.&#8221;</p></blockquote>
<p>As many have noted, true web scalability and redundancy can be a tough sheep to sheer. While Larry Dignan questions if <a href="http://blogs.zdnet.com/BTL/?p=9385&#038;tag=nl.e589">S3 is too complicated</a>, I think the larger issue is that it is too simple. Too many have viewed it as a silver bullet, with Amazon doing the dirty work for them. This outage (and another back in February) has shown that S3 and services like it can help us a lot, but we still need to do our own work.</p>
<p><strong>See also:</strong></p>
<ul>
<li><a href="http://www.webmonkey.com/blog/Amazon_SimpleDB%3A_Your_Database_in_the_Cloud">Amazon SimpleDB: Your Database in the Cloud</a></li>
<li><a href="http://www.webmonkey.com/blog/Google_Ups_Online_Storage_Ante_With_Fee-Based_Options">Google Ups Online Storage Ante With Fee-Based Options</a></li>
<li><a href="http://www.webmonkey.com/blog/Amazon_s_Web_Services%3A_A_Closer_Look">Amazon&#8217;s Web Services: A Closer Look</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2008/07/s3_outage_makes_developers_consider_redundancy/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    </channel>
</rss>