<?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>Linux, Programming, Telephony, Asterisk, Apache, Tips &#38; Tricks &#187; Amazon</title>
	<atom:link href="http://shahidz.com/tag/amazon/feed/" rel="self" type="application/rss+xml" />
	<link>http://shahidz.com</link>
	<description>Passionate About Technology</description>
	<lastBuildDate>Sun, 10 Jan 2010 17:38:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eucalyptus in Ubuntu Jaunty</title>
		<link>http://shahidz.com/eucalyptus-in-ubuntu-jaunty/</link>
		<comments>http://shahidz.com/eucalyptus-in-ubuntu-jaunty/#comments</comments>
		<pubDate>Fri, 01 May 2009 12:18:52 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[elastic]]></category>
		<category><![CDATA[eucalyptus]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=79</guid>
		<description><![CDATA[The Ubuntu 9.04 Server Edition beta includes Eucalyptus, an open source software infrastructure for implementing “cloud computing” on clusters, such as Amazon’s EC2 (Elastic Compute Cloud). Eucalyptus is provided as a technology preview to allow users “to experiment with cloud computing”.
EUCALYPTUS &#8212; Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems &#8212; is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">The Ubuntu 9.04 Server Edition beta includes Eucalyptus, an open source software infrastructure for implementing “cloud computing” on clusters, such as Amazon’s EC2 (Elastic Compute Cloud). Eucalyptus is provided as a technology preview to allow users “to experiment with cloud computing”.</p>
<p style="text-align: justify;"><strong>EUCALYPTUS</strong> &#8212; <strong>Elastic Utility Computing Architecture for Linking Your Programs To Useful Systems</strong> &#8212; is an open-source software infrastructure for implementing Elastic/Utility/Cloud computing using computing clusters and/or workstation farms.  The current interface to EUCALYPTUS is interface-compatible with Amazon.com&#8217;s EC2 (arguably the most commercially successful Cloud computing service), but the infrastructure is designed to be modified and extended so that multiple client-side interfaces can be supported.  In addition, EUCALYPTUS is implemented using commonly-available Linux tools and basic web service technology making it easy to install and maintain. For more information click <a href="http://open.eucalyptus.com/wiki/EucalyptusOverview" target="_blank">here</a>.</p>
<p style="text-align: justify;">Get the User Guide from this link <a href="http://http://open.eucalyptus.com/wiki/EucalyptusUserGuide_v1.4" target="_blank">http://open.eucalyptus.com/wiki/EucalyptusUserGuide_v1.4</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Feucalyptus-in-ubuntu-jaunty%2F&amp;linkname=Eucalyptus%20in%20Ubuntu%20Jaunty"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/eucalyptus-in-ubuntu-jaunty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount Amazon S3 bucket to a Local Linux File System</title>
		<link>http://shahidz.com/mounting-amazon-s3-bucket-to-a-local-linux-file-system/</link>
		<comments>http://shahidz.com/mounting-amazon-s3-bucket-to-a-local-linux-file-system/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 07:52:35 +0000</pubDate>
		<dc:creator>Shahid</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Micellanious]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[S3-Backup]]></category>
		<category><![CDATA[s3fs]]></category>

		<guid isPermaLink="false">http://shahidz.com/?p=17</guid>
		<description><![CDATA[FUSE-based file system backed by Amazon S3 
Amazon S3 Indroduction
&#160;
Amazon s3 is a remote file storing system. It is totally different from Normal Servers like Apache, FTP server etc. If your site burns more bandwidth due to backups or multimedia contents such a video, image, audio etc, the maintenance cost will be very high. For [...]]]></description>
			<content:encoded><![CDATA[<p><strong>FUSE-based file system backed by Amazon S3 </strong></p>
<p><u><strong>Amazon S3 Indroduction</strong></u></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal"><span class="hilite">Amazon</span> <span class="hilite">s3</span> is a remote file storing system. It is totally different from Normal Servers like Apache, FTP server etc. If your site burns more bandwidth due to backups or multimedia contents such a video, image, audio etc, the maintenance cost will be very high. For a limited number of page views, local file saving mechanism is ok. Because the cost of bandwidth is comparatively low. But when the data transfer rate become higher, the bandwidth cost should be considered.</p>
<p class="MsoNormal">In such a case instead of saving files or images in local servers, You can use <span class="hilite">Amazon</span> s3 server (<span class="hilite">S3</span> stands for Simple Storage Service). For this you have do two things</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in"><!--[if !supportLists]-->1)      <!--[endif]-->Register on <a href="http://www.amazon.com/gp/browse.html?node=16427261">http://www.<span class="hilite">amazon</span>.com/gp/browse.html?node=16427261</a></p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in"><!--[if !supportLists]-->2)      <!--[endif]-->Use  api for uploading your files into <span class="hilite">s3 for web applications<br />
</span></p>
<p class="MsoNormal" style="margin-left: 0.5in; text-indent: -0.25in">3) Mount  Amazon S3 bucket and use as a local file system for backups.</p>
<p><u><strong>S3fs Indroduction</strong></u></p>
<p><a id="Overview"><strong>s3fs</strong> is a </a>FUSE (<strong>Filesystem in Userspace</strong>) filesystem that allows you to mount an Amazon S3 bucket as a local filesystem. It stores files natively and transparently in S3 (i.e., you can use other programs to access the same files). Maximum file size=5G.Its quite useful and stable, e.g., can be used to easily copy daily backup tarballs to s3</p>
<p>To use it:</p>
<ol>
<li>get an amazon s3 account</li>
<li>download the source, <a href="http://shahidz.com/wp-content/uploads/2008/04/s3fs-r130-source.tar.gz" title="s3fs-r130-source.tar.gz">s3fs-r130-source.tar.gz</a> (I&#8217;ve used Ubuntu 7.10 ) and slap the binary in, say, /usr/bin/s3fs
<ol>
<li> you&#8217;ll need at least fuse-2.6</li>
<li> for fedora probably need to do: <strong>yum install fuse-devel</strong></li>
<li> for ubuntu probably need to do something like: <strong>sudo apt get fuse-libs</strong></li>
<li>I got one dependency libcurl-dev, libxml2-dev libfuse-dev ( <strong>sudo apt-get install libcurl4-openssl-dev libxml2-dev  libfuse-dev</strong> )</li>
</ol>
</li>
<li>Installation
<ol>
<li>$ sudo tar -xzvf s3fs-r130-source.tar.gz</li>
<li>$ cd s3fs</li>
<li>$ sudo make</li>
<li>$ sudo make install</li>
</ol>
</li>
<li>Mounting Amazon S3 Bucket</li>
</ol>
<pre>$ sudo /usr/bin/s3fs mybucket -o accessKeyId=myaccessKeyId -o secretAccessKey=mysecretAccessKey /mnt</pre>
<p>Now you can read / write  files to your bucket using Linux commands.</p>
<p>List the contents in the Bucket mounted to /mnt/ directory</p>
<pre>$ sudo ls /mnt</pre>
<p>s3fs will retry s3 transactions on certain error conditions. The default retry count is 2, i.e., s3fs will make 2 retries per s3 transaction (for a total of 3 attempts: 1st attempt + 2 retries) before giving up. You can set the retry count by using the &#8220;retries&#8221; option, e.g., &#8220;-oretries=2&#8243;</p>
<p><strong>Options</strong></p>
<ul>
<li>    accessKeyId</li>
<li>    secretAccessKey</li>
<li>    defailt_acl ( default=&#8221;private&#8221;)
<ul>
<li>    the default canned acl to apply to all written S3 Onjects</li>
<li>    any created files will have this canned acl</li>
<li>    any updated files will also have this canned acl applied</li>
</ul>
</li>
<li>     prefix (default=&#8221;") (comming soon!)
<ul>
<li>    a prefix to append to all S3 objects</li>
</ul>
</li>
<li>     retries (default=&#8221;2&#8243;)
<ul>
<li>    number of times to retry a failed S3 transaction</li>
</ul>
</li>
<li>use_cache (default=&#8221;" which means disabled)
<ul>
<li>    local folder to use for local files cache</li>
</ul>
</li>
</ul>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fshahidz.com%2Fmounting-amazon-s3-bucket-to-a-local-linux-file-system%2F&amp;linkname=Mount%20Amazon%20S3%20bucket%20to%20a%20Local%20Linux%20File%20System"><img src="http://shahidz.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://shahidz.com/mounting-amazon-s3-bucket-to-a-local-linux-file-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
