<docbook><section><title>OdsBriefcaseAmazonS3</title><title> Using ODS-Briefcase to mediate access to data stored on Amazon Simple Storage Service (Amazon S3)</title> Using ODS-Briefcase to mediate access to data stored on Amazon Simple Storage Service (Amazon S3)
<bridgehead class="http://www.w3.org/1999/xhtml:h2"> Introduction</bridgehead>
<para>Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web.
 It gives any developer access to the same highly scalable, reliable, secure, fast, inexpensive infrastructure that Amazon uses to run its own global network of web sites.
 The service aims to maximize benefits of scale and to pass those benefits on to developers.</para>
<para>S3 file storage offers users a number of features:</para>
<itemizedlist mark="bullet" spacing="compact"><listitem>Write, read, and delete objects containing from 1 byte to 5 terabytes of data each.
 The number of objects you can store is unlimited.
</listitem>
<listitem>Each object is stored in a bucket and retrieved via a unique, developer-assigned key.
</listitem>
<listitem>Authentication mechanisms are provided to ensure that data is kept secure from unauthorized access.
 Objects can be made private or public, and rights can be granted to specific users.
</listitem>
<listitem>Options for secure data upload/download and encryption of data at rest are provided for additional data protection.
</listitem>
<listitem>Uses standards-based REST and SOAP interfaces designed to work with any Internet-development toolkit.</listitem>
</itemizedlist><para>ODS Briefcase offers a new &quot;Amazon S3&quot; folder type which provides several additional features, once the ODS system is configured with a registered Amazon API key and secret pair:</para>
<itemizedlist mark="bullet" spacing="compact"><listitem>Specify credentials for authentication against S3, enabling retrieval of any or all of your folders and files, including any associated metadata </listitem>
<listitem>Specify which Sponger Extractor Cartridges and Sponger Meta Cartridges should be run against your S3 data </listitem>
<listitem>Save fetched data, metadata, and Sponger output, into a newly created S3-specific RDF Graph in the Virtuoso RDF Quad Store </listitem>
<listitem>Specify other ODS Users or WebID-based ACLs which should be granted access to your S3 data through ODS Briefcase</listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h2"> Example</bridgehead>
<para>Here is a sample scenario showing the whole process, from getting the Amazon S3 Access Key ID and Secret Key, to retrieving all S3 content to ODS-Briefcase.</para>
<para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3"> Prerequisites</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem>An <ulink url="https://aws-portal.amazon.com/gp/aws/developer/registration/index.html/103-7399647-0537426">Amazon Web Services</ulink> (AWS) account, which has been <ulink url="http://docs.amazonwebservices.com/AmazonS3/latest/gsg/SigningUpforS3.html">signed up for Amazon S3</ulink> </listitem>
<listitem><ulink url="http://docs.amazonwebservices.com/AmazonS3/latest/gsg/GetStartedWithS3.html">Files and folders (data) stored in one of your S3 Buckets</ulink></listitem>
</itemizedlist><bridgehead class="http://www.w3.org/1999/xhtml:h3"> Steps</bridgehead>
<bridgehead class="http://www.w3.org/1999/xhtml:h4"> 1 - Get an Amazon S3 Access Key ID and Secret Key for use with ODS-Briefcase</bridgehead>
<orderedlist spacing="compact"><listitem>Browse to the <ulink url="https://portal.aws.amazon.com/gp/aws/securityCredentials">AWS &quot;Security Credentials&quot; page</ulink>, and log in with your existing AWS user credentials: <ulink url="OdsBriefcaseAmazonS3/step1-01.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step1-01.png" /></figure></ulink> </listitem>
<listitem>Click <emphasis>Access Credentials</emphasis>: <ulink url="OdsBriefcaseAmazonS3/step1-02.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step1-02.png" /></figure></ulink> </listitem>
<listitem>Click <emphasis>Create a new Access Key</emphasis> to get a new Key &amp; Secret pair for use with ODS-Briefcase: <ulink url="OdsBriefcaseAmazonS3/step1-03.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step1-03.png" /></figure></ulink> </listitem>
<listitem>Click <emphasis>Yes</emphasis> when prompted: <ulink url="OdsBriefcaseAmazonS3/step1-04.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step1-04.png" /></figure></ulink> </listitem>
<listitem>Your new Access Key ID will now be displayed.
 Click <emphasis>Show</emphasis> to see the corresponding Secret Access Key.
<ulink url="OdsBriefcaseAmazonS3/step1-05.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step1-05.png" /></figure></ulink> </listitem>
<listitem>You will need both of these for the steps that follow.
<ulink url="OdsBriefcaseAmazonS3/step1-06.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step1-06.png" /></figure></ulink></listitem>
</orderedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h4"> 2 - Access files stored on Amazon S3 through ODS-Briefcase</bridgehead>
<orderedlist spacing="compact"><listitem>Browse to your Virtuoso + ODS instance, http://&lt;cname&gt;[:&lt;port&gt;]/ods, e.g., &lt;<ulink url="http://example.com/ods/">http://example.com/ods/</ulink>&gt;.
<ulink url="OdsBriefcaseAmazonS3/step2-01.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-01.png" /></figure></ulink> </listitem>
<listitem>Log in as a Virtuoso+ODS user with normal privileges, e.g., demo.
<ulink url="OdsBriefcaseAmazonS3/step2-02.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-02.png" /></figure></ulink> </listitem>
<listitem>Click to the <emphasis>ODS-Briefcase</emphasis> application: <ulink url="OdsBriefcaseAmazonS3/step2-03.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-03.png" /></figure></ulink> </listitem>
<listitem>Click <emphasis>New Folder</emphasis> from the main Briefcase control strip: <ulink url="OdsBriefcaseAmazonS3/step2-04.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-04.png" /></figure></ulink> </listitem>
<listitem>In the New Folder form, specify a <emphasis>Folder Name</emphasis>, e.g., <emphasis>MyAmazonS3Folder</emphasis>, and set the <emphasis>Folder type</emphasis> to <emphasis>Amazon S3</emphasis>: <ulink url="OdsBriefcaseAmazonS3/step2-05.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-05.png" /></figure></ulink> </listitem>
<listitem>Click to the newly visible <emphasis>S3 Properties</emphasis> tab: <ulink url="OdsBriefcaseAmazonS3/step2-06.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-06.png" /></figure></ulink> </listitem>
<listitem>Set <emphasis>Bucket Name</emphasis> to a specific S3 Bucket Name to restrict ODS-Briefcase access to only this Bucket, or you can leave it empty to give ODS-Briefcase access to all your Buckets.
 Also enter the Access Key ID and Secret Key values you obtained earlier: <ulink url="OdsBriefcaseAmazonS3/step2-07.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-07.png" /></figure></ulink> </listitem>
<listitem>All RDF data extracted from and otherwise collected about your S3 files will be saved to a named graph, where the default name is constructed from the host ODS instance, the ODS username, and the Briefcase folder name -- http://&lt;host&gt;[:&lt;port&gt;]/DAV/home/&lt;user-name&gt;/&lt;folder-name&gt;#this -- so, in this example, the default graph would be named &lt;<ulink url="http://example.com/ods/demo/MyAmazonS3Folder#this">http://example.com/ods/demo/MyAmazonS3Folder#this</ulink>&gt;.
 Expert users may wish to change this graph name, but the default is suitable for most users.
<ulink url="OdsBriefcaseAmazonS3/step2-08.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-08.png" /></figure></ulink> </listitem>
<listitem>You can also turn on the <ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSponger">Virtuoso Sponger</ulink>, to process your S3 files more comprehensively.
 When the Sponger is enabled for your folder, you can specify which &quot;Sponger Extractor Cartridges&quot; and &quot;Sponger Meta Cartridges&quot; will be run over the files in S3.
 You can enable all cartridges, but this will introduce some processing overhead.
 It&#39;s generally best to enable only those cartridges which will be applicable to your files and their content.
 For instance, you may know that you&#39;ll only be storing Microsoft and Open Office documents here.
 Click <emphasis>Create</emphasis> to finish the folder creation process.
<ulink url="OdsBriefcaseAmazonS3/step2-09.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-09.png" /></figure></ulink> </listitem>
<listitem>Your new S3-linked folder should now be displayed in your Briefcase resources list: <ulink url="OdsBriefcaseAmazonS3/step2-10.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-10.png" /></figure></ulink> </listitem>
<listitem>Click the folder name to see the resources ODS-Briefcase has found in your Amazon S3 Dataspace: <ulink url="OdsBriefcaseAmazonS3/step2-11.png"><figure><graphic fileref="OdsBriefcaseAmazonS3/step2-11.png" /></figure></ulink></listitem>
</orderedlist><para> </para>
<bridgehead class="http://www.w3.org/1999/xhtml:h3">References</bridgehead>
<itemizedlist mark="bullet" spacing="compact"><listitem><ulink url="http://virtuoso.openlinksw.com/wiki/main/Main/VirtuosoDAVS3">Virtuoso WebDAV S3 support</ulink> </listitem>
<listitem><ulink url="http://aws.amazon.com/s3/">Amazon S3 Services</ulink> </listitem>
<listitem><ulink url="http://docs.amazonwebservices.com/AmazonCloudFront/latest/GettingStartedGuide/">Amazon Cloud Front Getting Started Guide</ulink> </listitem>
<listitem><ulink url="http://bit.ly/SK7WAI">How Linked Data &amp; WebID Deliver Controlled Access to Resources in Google Drive, Microsoft OneDrive (formerly SkyDrive), DropBox, Box.Net, and Amazon S3</ulink> </listitem>
<listitem><ulink url="OdsBriefcaseBoxNet">Using ODS-Briefcase to mediate access to data stored on Box (a/k/a box.com or box.net)</ulink> </listitem>
<listitem><ulink url="OdsBriefcaseDropBox">Using ODS-Briefcase to mediate access to data stored on DropBox</ulink> </listitem>
<listitem><ulink url="OdsBriefcaseGoogleDrive">Using ODS-Briefcase to mediate access to data stored on Google Drive</ulink> </listitem>
<listitem><ulink url="OdsBriefcaseSkyDrive">Using ODS-Briefcase to mediate access to data stored on Microsoft OneDrive (formerly SkyDrive)</ulink> </listitem>
<listitem><ulink url="OdsBriefcaseFolders">Manage different Briefcase type folders in Briefcase</ulink> </listitem>
<listitem><ulink url="OdsBriefcase">ODS-Briefcase</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSponger">Virtuoso Sponger</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSpongerCartridgeSupportedDataSources">OpenLink-supplied Virtuoso Sponger Cartridges</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSpongerCartridgeSupportedDataSourcesMeta">Supported Meta Cartridges in Virtuoso</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSpongerCartridgeSupportedDataSourcesMetaREST">Meta Cartridges Usage via REST Request</ulink> </listitem>
<listitem><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSpongerCartridgeSupportedDataSourcesMetaRESTExamples">Parameterized Examples of Meta Cartridge Usage via REST Request</ulink></listitem>
</itemizedlist><para><ulink url="CategoryVirtuoso">CategoryVirtuoso</ulink> <ulink url="CategoryDAV">CategoryDAV</ulink> <ulink url="CategoryTutorial">CategoryTutorial</ulink> <ulink url="CategoryDocumentation">CategoryDocumentation</ulink> <ulink url="CategoryBriefcase">CategoryBriefcase</ulink> <ulink url="CategoryODS">CategoryODS</ulink> <ulink url="CategoryOdsBriefcase">CategoryOdsBriefcase</ulink> </para>
</section></docbook>