<?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/" version="2.0">

<channel>
	<title>post past :: james murty</title>
	
	<link>http://www.jamesmurty.com</link>
	<description>Contemplating the brave new present</description>
	<lastBuildDate>Tue, 20 Jul 2010 05:23:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</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" type="application/rss+xml" href="http://feeds.feedburner.com/postpast" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="postpast" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>JetS3t 0.7.4</title>
		<link>http://www.jamesmurty.com/2010/07/19/jets3t-0-7-4/</link>
		<comments>http://www.jamesmurty.com/2010/07/19/jets3t-0-7-4/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 05:23:05 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=528</guid>
		<description><![CDATA[The latest release of JetS3t, version 0.7.4, was released over the weekend.
Bug fixes:

Shell scripts are more compatible with Cygwin

New toolkit functionality:

Added support for the new Reduced Redundancy Storage (RRS) class for objects
CloudFrontService: Support for HTTPS-only distributions and logging of streaming distributions
Added support for buckets located in the Asia Pacific (Singapore) location &#8220;ap-southeast-1&#8243;
Improved compatibility with Eucalyptus/Walrus

Cockpit [...]]]></description>
			<content:encoded><![CDATA[<p>The latest release of JetS3t, <a href="http://jets3t.s3.amazonaws.com/downloads.html">version <strong>0.7.4</strong></a>, was released over the weekend.</p>
<p>Bug fixes:</p>
<ul>
<li>Shell scripts are more compatible with Cygwin</li>
</ul>
<p>New toolkit functionality:</p>
<ul>
<li>Added support for the new <a href="http://jets3t.s3.amazonaws.com/toolkit/code-samples.html#rrs">Reduced Redundancy Storage (RRS)</a> class for objects</li>
<li>CloudFrontService: Support for <strong>HTTPS-only distributions</strong> and logging of streaming distributions</li>
<li>Added support for buckets located in the Asia Pacific (Singapore) location &#8220;ap-southeast-1&#8243;</li>
<li>Improved compatibility with Eucalyptus/Walrus</li>
</ul>
<p>Cockpit application updates:</p>
<ul>
<li>Reduced Redundancy Storage class</li>
<li>Buckets located in the Asia Pacific (Singapore) location</li>
<li>HTTPS-only CloudFront distributions</li>
</ul>
<p>Synchronize application updates:</p>
<ul>
<li>Allow synchronization with third-party buckets that are not owned by the user</li>
</ul>
<p>Other notes:</p>
<ul>
<li>CloudFrontService API changes may break backwards-compatibility</li>
<li>SOAPService is deprecated and will soon be removed from the toolkit</li>
</ul>
<p>Visit the JetS3t web site to <a href="http://jets3t.s3.amazonaws.com/downloads.html">download the latest release</a> and view the latest <a href="http://jets3t.s3.amazonaws.com/toolkit/code-samples.html">code samples</a> and <a href="http://jets3t.s3.amazonaws.com/api/index.html">API Javadoc</a>. The latest version should also be available from the official Maven2 repository by now.</p>
<p>Read about the complete list of changes in the <a href="http://jets3t.s3.amazonaws.com/RELEASE_NOTES.txt">release notes</a>, and visit the <a href="http://bitbucket.org/jmurty/jets3t/">development site</a> to submit bug reports or help out with the project.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=Hqi8HIONHyk:WF_XNAd_Nm0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=Hqi8HIONHyk:WF_XNAd_Nm0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=Hqi8HIONHyk:WF_XNAd_Nm0:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/Hqi8HIONHyk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/07/19/jets3t-0-7-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JetS3t Supports “Reduced Redundancy” Storage</title>
		<link>http://www.jamesmurty.com/2010/05/19/jets3t-supports-reduced-redundancy-storage/</link>
		<comments>http://www.jamesmurty.com/2010/05/19/jets3t-supports-reduced-redundancy-storage/#comments</comments>
		<pubDate>Thu, 20 May 2010 06:16:15 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=514</guid>
		<description><![CDATA[As of a few minutes ago the latest JetS3t code includes support for a new S3 feature called Reduced Redundancy Storage. If you keep non-vital data in S3 you can now choose to accept &#8220;reduced redundancy&#8221; for this data in return for a cheaper storage rate.
Accept a little more risk, save some bucks. For many [...]]]></description>
			<content:encoded><![CDATA[<p>As of a few minutes ago the latest JetS3t code includes support for a new S3 feature called Reduced Redundancy Storage. If you keep non-vital data in S3 you can now choose to accept &#8220;reduced redundancy&#8221; for this data in return for a cheaper storage rate.</p>
<p>Accept a little more risk, save some bucks. For many S3 customers this will be an attractive option.</p>
<p>See Amazon&#8217;s <a href="http://aws.typepad.com/aws/2010/05/new-amazon-s3-reduced-redundancy-storage-rrs.html">RRS blog post</a> for more information.</p>
<p>Below is a brief overview of how you can use the feature in JetS3t once you have <a href="http://bitbucket.org/jmurty/jets3t/wiki/Build_Instructions">downloaded and built the latest code</a>.</p>
<h4>Cockpit</h4>
<p>The Cockpit application has support for the new storage class in a few places:</p>
<ul>
<li>In the preferences you can choose the default storage class to apply when uploading objects</li>
<li>the Copy or Move Objects dialog allows you to choose the storage class for destination objects. This makes it easy to apply the cheaper storage option to many objects, you simply <strong>copy</strong> the objects in-place after selected the REDUCED_REDUNDANCY storage class</li>
<li>each object&#8217;s current storage class is now shown in the Object Attributes dialog.</li>
</ul>
<h4>API</h4>
<p>In the API you set the storage class of an object prior to uploading it:</p>
<div class="codecolorer-container java twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// Create an object as usual</span><br />
S3Object object <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> S3Object<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;my-object&quot;</span>, <span style="color: #0000ff;">&quot;some data&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// Set the non-default storage class prior to upload</span><br />
object.<span style="color: #006633;">setStorageClass</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; S3Object.<span style="color: #006633;">STORAGE_CLASS_REDUCED_REDUNDANCY</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// Upload as usual</span><br />
s3Service.<span style="color: #006633;">putObject</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bucket-name&quot;</span>, object<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>To apply the new storage class to existing objects you call the normal RestS3Service copyObject or moveObject methods after setting the storage class attribute of each destination object.</p>
<p>To check the storage class an object is stored under you perform a bucket listing then call the S3Object&#8217;s getStorageClass method:</p>
<div class="codecolorer-container java twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">S3Object<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> objects <span style="color: #339933;">=</span> s3Service.<span style="color: #006633;">listObjects</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bucket-name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> objects.<span style="color: #006633;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #003399;">System</span>.<span style="color: #006633;">out</span>.<span style="color: #006633;">println</span><span style="color: #009900;">&#40;</span>objects<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #006633;">getKey</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #0000ff;">&quot;: &quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #339933;">+</span> objects<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #006633;">getStorageClass</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span></div></div>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=5evTKLvPqzo:y80eGqC_l7o:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=5evTKLvPqzo:y80eGqC_l7o:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=5evTKLvPqzo:y80eGqC_l7o:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/5evTKLvPqzo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/05/19/jets3t-supports-reduced-redundancy-storage/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CloudFront Access Logs for Streaming Distributions</title>
		<link>http://www.jamesmurty.com/2010/05/13/cloudfront-access-logs-for-streaming-distributions/</link>
		<comments>http://www.jamesmurty.com/2010/05/13/cloudfront-access-logs-for-streaming-distributions/#comments</comments>
		<pubDate>Fri, 14 May 2010 02:35:58 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=507</guid>
		<description><![CDATA[Amazon has announced the new Access Logs feature for CloudFront streaming distributions. With access logging turned on you can see when and how people interact with your streamed content.
The latest JetS3t code provides basic API support for enabling and managing these access logs, in much the same way as you do for non-streaming distributions. See [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon has <a href="http://developer.amazonwebservices.com/connect/ann.jspa?annID=681">announced</a> the new Access Logs feature for CloudFront streaming distributions. With access logging turned on you can see when and how people interact with your streamed content.</p>
<p>The latest JetS3t code provides basic API support for enabling and managing these access logs, in much the same way as you do for non-streaming distributions. See the recent <a href="http://bitbucket.org/jmurty/jets3t/diff/src/org/jets3t/samples/CloudFrontSamples.java?diff2=1f37cf808f59&#038;diff1=37f74a1201cb">changes to the CloudFrontSamples.java file</a> for example usage.</p>
<p>Note that this new feature has not yet been widely tested so <a href="http://bitbucket.org/jmurty/jets3t/issues?status=new&#038;status=open">file a bug report</a> to let me know if you have problems.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=CeBuuUKamMQ:tbNOvdBw2nk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=CeBuuUKamMQ:tbNOvdBw2nk:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=CeBuuUKamMQ:tbNOvdBw2nk:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/CeBuuUKamMQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/05/13/cloudfront-access-logs-for-streaming-distributions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ratings Pollution</title>
		<link>http://www.jamesmurty.com/2010/03/21/ratings-pollution/</link>
		<comments>http://www.jamesmurty.com/2010/03/21/ratings-pollution/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 23:35:55 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=501</guid>
		<description><![CDATA[I&#8217;m thinking of buying Michael Lewis&#8217; new book, The Big Short. So I visit the Amazon site and see a pretty terrible average review of only 2.5 stars. What gives?
Turns out a bunch of douches have given the book one-star reviews because the book is not yet available on the Kindle.
Not only are they submitting [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m thinking of buying Michael Lewis&#8217; new book, <em>The Big Short</em>. So I visit the Amazon site and see a pretty terrible average review of only 2.5 stars. What gives?</p>
<p>Turns out a bunch of douches have given the book <a href="http://www.amazon.com/Big-Short-Inside-Doomsday-Machine/product-reviews/0393072231/ref=cm_cr_dp_hist_1?ie=UTF8&#038;showViewpoints=0&#038;filterBy=addOneStar">one-star reviews</a> because the book is not yet available on the Kindle.</p>
<p>Not only are they submitting low reviews because they cannot yet buy the book in their preferred form &#8212; a decision that is most likely made by the publisher not the author &#8212; but they are doing so without even reading the book. This is a whiny and pathetic form of &#8220;protest&#8221; that does nothing but pollute the digital commons. Grow up folks!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=Ma93T2ATYXQ:GXREb7UDpoM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=Ma93T2ATYXQ:GXREb7UDpoM:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=Ma93T2ATYXQ:GXREb7UDpoM:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/Ma93T2ATYXQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/03/21/ratings-pollution/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JetS3t 0.7.3</title>
		<link>http://www.jamesmurty.com/2010/03/21/jets3t-0-7-3/</link>
		<comments>http://www.jamesmurty.com/2010/03/21/jets3t-0-7-3/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 21:47:23 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=495</guid>
		<description><![CDATA[I have just released JetS3t version 0.7.3 following the announcement earlier this week that S3 Versioning has graduated to production status.
This release includes:

support for new S3 features Bucket Versioning and Multi-Factor Authentication for delete
updates to the CloudFront service to support the 2010-03-01 API with private streaming buckets.
bug fixes

Visit the JetS3t web site to download the [...]]]></description>
			<content:encoded><![CDATA[<p>I have just released JetS3t version <strong>0.7.3</strong> following the <a href="http://aws.typepad.com/aws/2010/03/amazon-s3-versioning-now-ready.html">announcement</a> earlier this week that S3 Versioning has graduated to production status.</p>
<p>This release includes:</p>
<ul>
<li>support for new S3 features <a href="http://www.jamesmurty.com/2010/02/08/jets3t-s3-versioning-and-mfa/">Bucket Versioning and Multi-Factor Authentication for delete</a></li>
<li>updates to the CloudFront service to support the 2010-03-01 API with private streaming buckets.</li>
<li>bug fixes</li>
</ul>
<p>Visit the <a href="http://jets3t.s3.amazonaws.com/index.html">JetS3t web site</a> to download the latest release and view the latest <a href="http://jets3t.s3.amazonaws.com/toolkit/code-samples.html">code samples</a> and <a href="http://jets3t.s3.amazonaws.com/api/index.html">API Javadoc</a>. The <a href="http://repo1.maven.org/maven2/net/java/dev/jets3t/jets3t/">official Maven2 repository</a> should be updated in the next day or so.</p>
<p>Read about the complete list of changes in the <a href="http://jets3t.s3.amazonaws.com/RELEASE_NOTES.txt">release notes</a>, and visit the <a href="http://bitbucket.org/jmurty/jets3t/">development site</a> to submit bug reports or contribute to the project.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=FB6EP0CIfp0:O1u7tensQog:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=FB6EP0CIfp0:O1u7tensQog:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=FB6EP0CIfp0:O1u7tensQog:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/FB6EP0CIfp0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/03/21/jets3t-0-7-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JetS3t: S3 Versioning, Multi-Factor Authentication and BitBucket</title>
		<link>http://www.jamesmurty.com/2010/02/08/jets3t-s3-versioning-and-mfa/</link>
		<comments>http://www.jamesmurty.com/2010/02/08/jets3t-s3-versioning-and-mfa/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 06:53:04 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=474</guid>
		<description><![CDATA[There is a lot of S3 and JetS3t news tonight.
Versioning For All
To begin with, the new S3 beta versioning feature is now available in all regions. This means that you can retain past versions of all your S3 objects regardless of where your bucket is located.
The latest JetS3t code has full support for versioning that [...]]]></description>
			<content:encoded><![CDATA[<p>There is a lot of S3 and JetS3t news tonight.</p>
<h2>Versioning For All</h2>
<p>To begin with, the new S3 <a href="http://www.jamesmurty.com/2010/01/20/jets3t-s3-versioning/">beta versioning</a> feature is <a href="http://aws.typepad.com/aws/2010/02/amazon-s3-enhancement-versioning.html">now available in all regions</a>. This means that you can retain past versions of all your S3 objects regardless of where your bucket is located.</p>
<p>The latest JetS3t code has full support for versioning that makes it very easy to use. You can enable versioning for a bucket like so:</p>
<div class="codecolorer-container java twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">restS3Service.<span style="color: #006633;">enableBucketVersioning</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bucket-name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>Then should you ever need to recover some data &#8212; such as after accidentally deleting an object or overwriting data with a corrupted file &#8212; you can find and retrieve the prior versions:</p>
<div class="codecolorer-container java twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// List an object's prior versions</span><br />
BaseVersionOrDeleteMarker<span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span> versions <span style="color: #339933;">=</span> restS3Service<br />
&nbsp; &nbsp; .<span style="color: #006633;">getObjectVersions</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bucket-name&quot;</span>, <span style="color: #0000ff;">&quot;object-name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Retrieve the next-to-last version of data</span><br />
<span style="color: #003399;">String</span> versionId <span style="color: #339933;">=</span> versions<span style="color: #009900;">&#91;</span>versions.<span style="color: #006633;">length</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#93;</span>.<span style="color: #006633;">getVersionId</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
S3Object priorVersionObject <span style="color: #339933;">=</span> s3Service.<span style="color: #006633;">getVersionedObject</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; versionId, <span style="color: #0000ff;">&quot;bucket-name&quot;</span>, <span style="color: #0000ff;">&quot;object-name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<h2>The Second Factor</h2>
<p>As well as rolling out broader availability of the versioning feature Amazon has (somewhat quietly) added another interesting feature: the first API-level support for multi-factor authentication. Multi-factor authentication (MFA) adds an extra level of security to systems by requiring users to prove ownership of a token or device of some kind in addition to their normal login credentials. This means that even if someone steals or guesses your credentials they will be unable to perform actions on your account because they do not possess the device.</p>
<p>In Amazon&#8217;s case, like PayPal and some banks before them, the additional factor comprises a small electronic device that generates code numbers. Once you have <a href="http://aws.amazon.com/mfa/">purchased one of these devices</a> and enabled it in your AWS account you will be required to provide an extra code number when performing certain tasks.</p>
<p>Previously the additional MFA device code was only required when you logged in to the <a href="http://aws.amazon.com/console/">AWS Console</a> but as of today you can turn on MFA for your S3 buckets in tandem with versioning. When versioning with MFA is enabled not only will the bucket&#8217;s owner be the only user who can permanently delete object versions, but this user will be required to provide a time-limited MFA code to do so.</p>
<p>Again, this is relatively straight-forward to use in JetS3t:</p>
<div class="codecolorer-container java twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">// Require MFA to permanently delete object versions</span><br />
restS3Service.<span style="color: #006633;">enableBucketVersioningWithMFA</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bucket-name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Obtain user's MFA device serial number and time-limited code </span><br />
<span style="color: #003399;">String</span> multiFactorSerialNumber <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;#111222333&quot;</span><span style="color: #339933;">;</span><br />
<span style="color: #003399;">String</span> multiFactorAuthCode <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;12345678&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Delete an MFA-protected object version</span><br />
restS3Service.<span style="color: #006633;">deleteVersionedObjectWithMFA</span><span style="color: #009900;">&#40;</span>versionId,<br />
&nbsp; &nbsp; multiFactorSerialNumber, multiFactorAuthCode,<br />
&nbsp; &nbsp; <span style="color: #0000ff;">&quot;bucket-name&quot;</span>, <span style="color: #0000ff;">&quot;object-name&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></div>
<p>The addition of MFA support at the API level in S3 is particularly interesting because this is the first time Amazon has done so, and because it raises some interesting challenges for developers who are accustomed to building fully-automated systems. To take advantage of the protection the MFA provides a system will need to prompt the user for her MFA code every 30 seconds or so when she wishes to permanently delete data. I am keen to see how &#8212; and if &#8212; developers actually build this feature into their applications.</p>
<h2>Hello BitBucket</h2>
<p>Finally, repeating the news I <a href="http://groups.google.com/group/jets3t-users/browse_thread/thread/63dd1962b77e08f7?hl=en">posted recently</a> on the JetS3t discussion forums, I have decided to move the JetS3t codebase from it&#8217;s old home at java.net over to the BitBucket service: <a href="http://bitbucket.org/jmurty/jets3t/">http://bitbucket.org/jmurty/jets3t/</a></p>
<p>BitBucket has the advantage of being a more modern, easy-to-navigate site, and has seamless support for Mercurial which is my favorite source code management tool. So it&#8217;s farewell to java.net and CVS, you served us well but it&#8217;s time for some new blood.</p>
<p>Try out the latest code and let me know what you think. Head over to the <a href="http://bitbucket.org/jmurty/jets3t/">JetS3t BitBucket</a> repository and grab the latest code via a pull (if you&#8217;re familiar with Mercurial) or simply download it via the &#8220;get source&#8221; link.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=BaZXyA-SRFE:zYSm21o3l0M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=BaZXyA-SRFE:zYSm21o3l0M:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=BaZXyA-SRFE:zYSm21o3l0M:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/BaZXyA-SRFE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/02/08/jets3t-s3-versioning-and-mfa/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JetS3t support for S3 Versioning (Beta)</title>
		<link>http://www.jamesmurty.com/2010/01/20/jets3t-s3-versioning/</link>
		<comments>http://www.jamesmurty.com/2010/01/20/jets3t-s3-versioning/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 08:30:53 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=464</guid>
		<description><![CDATA[Amazon is working on an interesting new feature for the S3 service: Object versioning.
Once you enable versioning for one of your S3 buckets, any time you change an object in that bucket a version of the prior object will be stored in addition to the latest one. You can then perform operations on prior object [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon is working on an interesting new feature for the S3 service: Object versioning.</p>
<p>Once you enable versioning for one of your S3 buckets, any time you change an object in that bucket a version of the prior object will be stored in addition to the latest one. You can then perform operations on prior object versions such as retrieving older data, restoring &#8220;deleted&#8221; objects, and generally maintaining a fail-safe history of everything that happens in the bucket. </p>
<p>This will be a boon to anyone who is worried about their S3 data being accidentally deleted or corrupted by user/computer error.</p>
<p>The feature is currently in early beta form and is available for testing with buckets located in the &#8220;us-west-1&#8243; location. You can read about the current functionality here: <a href="http://doc.s3.amazonaws.com/betadesign/Versioning.html">Versioning Beta Design</a>.</p>
<p>Better still, you can grab the <a href="https://jets3t.dev.java.net/source/browse/jets3t/">latest JetS3t code</a> from CVS and try it out for yourself! The code samples file <a href="https://jets3t.dev.java.net/source/browse/jets3t/src/org/jets3t/samples/CodeSamples.java?rev=1.29&#038;view=markup">CodeSamples.java</a> now includes a section called &#8220;Bucket Versioning (Beta)&#8221; to get you started.</p>
<p>Both the versioning feature itself and JetS3t&#8217;s support for it are in an early stage so watch out for warts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=MPQZJF3wmmQ:5MzVsrcUzQA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=MPQZJF3wmmQ:5MzVsrcUzQA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=MPQZJF3wmmQ:5MzVsrcUzQA:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/MPQZJF3wmmQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/01/20/jets3t-s3-versioning/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JetS3t 0.7.2</title>
		<link>http://www.jamesmurty.com/2010/01/10/jets3t-versio-0-7-2/</link>
		<comments>http://www.jamesmurty.com/2010/01/10/jets3t-versio-0-7-2/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 08:27:41 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=456</guid>
		<description><![CDATA[As of a couple of weeks ago the latest version of JetS3t 0.7.2 has been available as a public release. In the pre-holiday rush I forgot to post a notification to my own blog.
This release includes some bug fixes, more sophisticated configuration options for the &#8220;filecomparer&#8221; component that manages file synchronizations, and supports the two [...]]]></description>
			<content:encoded><![CDATA[<p>As of a couple of weeks ago the latest version of JetS3t <strong>0.7.2</strong> has been available as a public release. In the pre-holiday rush I forgot to post a notification to my own blog.</p>
<p>This release includes some bug fixes, more sophisticated configuration options for the &#8220;filecomparer&#8221; component that manages file synchronizations, and supports the two major new CloudFront API features: private distributions and streaming distributions.</p>
<p>Visit the <a href="http://jets3t.s3.amazonaws.com/index.html">JetS3t web site</a> to download the latest release and view the latest documentation such as <a href="http://jets3t.s3.amazonaws.com/toolkit/code-samples.html">code samples</a> and the <a href="http://jets3t.s3.amazonaws.com/api/index.html">API Javadoc</a>.</p>
<p>You can read about the complete list of changes in the <a href="http://jets3t.s3.amazonaws.com/RELEASE_NOTES.txt">release notes</a>. And for the Maven-ites among you the <a href="http://repo1.maven.org/maven2/net/java/dev/jets3t/jets3t/">official Maven2 repository</a> has also been updated.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=SixNhCha1gw:mzYYmBxFrzs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=SixNhCha1gw:mzYYmBxFrzs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=SixNhCha1gw:mzYYmBxFrzs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/SixNhCha1gw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2010/01/10/jets3t-versio-0-7-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>JetS3t supports CloudFront private distributions</title>
		<link>http://www.jamesmurty.com/2009/11/12/jets3t-cloudfront-private-distributions/</link>
		<comments>http://www.jamesmurty.com/2009/11/12/jets3t-cloudfront-private-distributions/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 07:57:53 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[JetS3t]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=451</guid>
		<description><![CDATA[Amazon has just announced a new private content feature for their CloudFront content distribution service. 
This feature allows you to control access to S3 objects you distribute through CloudFront by making them available only through specific distributions, or by requiring the use of signed URLs that you generate and provide to privileged users.
As of this [...]]]></description>
			<content:encoded><![CDATA[<p>Amazon has just announced a new <a href="http://aws.typepad.com/aws/2009/11/new-amazon-cloudfront-feature-private-content.html">private content</a> feature for their CloudFront content distribution service. </p>
<p>This feature allows you to control access to S3 objects you distribute through CloudFront by making them available only through specific distributions, or by requiring the use of signed URLs that you generate and provide to privileged users.</p>
<p>As of this evening the latest JetS3t codebase (available from the <a href="https://jets3t.dev.java.net/source/browse/jets3t/">CVS repository</a>) has full support for the new features, including the ability to:</p>
<ul>
<li>create and update private distributions</li>
<li>manage Origin Access Identifiers, which are required for private distributions</li>
<li>generate canned and custom-policy signed URLs for private distributions that require request signing.</li>
</ul>
<p>These new features are not yet available in a stable packaged release but I plan to provide the next stable version before the end of November.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=9Brq8RgUz-8:ziQevTS0Oaw:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=9Brq8RgUz-8:ziQevTS0Oaw:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=9Brq8RgUz-8:ziQevTS0Oaw:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/9Brq8RgUz-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2009/11/12/jets3t-cloudfront-private-distributions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rackspace Cloud Servers API</title>
		<link>http://www.jamesmurty.com/2009/07/14/rackspace-cloud-servers-ap/</link>
		<comments>http://www.jamesmurty.com/2009/07/14/rackspace-cloud-servers-ap/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 17:28:32 +0000</pubDate>
		<dc:creator>James Murty</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://www.jamesmurty.com/?p=442</guid>
		<description><![CDATA[Rackspace has launched a public beta of their Cloud Servers API.
The Cloud Servers product allows you to rent computing resources and is a competitor to Amazon&#8217;s Elastic Compute Cloud (EC2) service. Rackspace has a comparison page that describes, from their perspective, the advantages of their offering over EC2.
Some key differences from EC2 include:

Cloud Servers has [...]]]></description>
			<content:encoded><![CDATA[<p>Rackspace has <a href="http://blog.mosso.com/2009/07/an-interview-with-the-architects-of-the-cloud-servers-api/">launched</a> a public beta of their <a href="http://www.rackspacecloud.com/cloud_hosting_products/servers/api">Cloud Servers API</a>.</p>
<p>The Cloud Servers product allows you to rent computing resources and is a competitor to Amazon&#8217;s Elastic Compute Cloud (EC2) service. Rackspace has a <a href="http://www.rackspacecloud.com/cloud_hosting_products/servers/compare">comparison page</a> that describes, from their perspective, the advantages of their offering over EC2.</p>
<p>Some key differences from EC2 include:</p>
<ul>
<li>Cloud Servers has a wider range of server sizes available at the low end, with a minimum size of 256MB RAM that has a price of only $10.95 per month.</li>
<li>Public IP addresses can be shared among multiple servers.</li>
<li>The service supports dynamic resizing (vertical scaling) of servers to a degree. Unlike EC2, you can increase or decrease the computing power available to a single server without the need to manually start a new instance and redeploy your application to the new instance. However this scaling, while easy, isn&#8217;t instantaneous  &#8212; behind the scenes Rackspace&#8217;s service actually starts a new server and copies everything across for you, so there is likely to be some downtime.</li>
<li>A simpler RESTful API with support for JSON messages in addition to XML.</li>
</ul>
<p>I am not yet familiar enough with Cloud Servers to give a detailed comparison with EC2, but it seems to be a full-featured service that is aiming to address some of the difficulties people face when using Amazon&#8217;s offering. If Rackspace can learn from Amazon&#8217;s missteps they should be able to provide a compelling cloud computing platform.</p>
<p>It has taken some time for a strong, low-level &#8220;Infrastructure as a Service&#8221; competitor to EC2 to arrive, but we may finally have it in Cloud Servers. I hope so, because the more active competition we have in this space the more quickly the products and technology will improve, and the better off we cloud computing users will be.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/postpast?a=oIyKrNMFABM:GS8X4A-OrRo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/postpast?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/postpast?a=oIyKrNMFABM:GS8X4A-OrRo:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/postpast?i=oIyKrNMFABM:GS8X4A-OrRo:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/postpast/~4/oIyKrNMFABM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.jamesmurty.com/2009/07/14/rackspace-cloud-servers-ap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.495 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-07-27 18:18:39 --><!-- Compression = gzip -->
