<?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>marius &#187; S3</title>
	<atom:link href="http://devilx.net/tag/s3/feed/" rel="self" type="application/rss+xml" />
	<link>http://devilx.net</link>
	<description></description>
	<lastBuildDate>Wed, 25 Jan 2012 07:42:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Amazon EC2: How to Setup an Instance and Bundle it</title>
		<link>http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/</link>
		<comments>http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 16:25:46 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[AMI]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Bucket]]></category>
		<category><![CDATA[Bundle]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[EBS]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Elastic]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[Instance]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1033</guid>
		<description><![CDATA[I know, that there are several documentations concerning Amazon&#8217;s Elastic Cloud Computing, though I&#8217;d like to describe some very first steps for using their infrastructure to build (Linux-) instances that fulfill your needs. Let&#8217;s not beat around the bush and &#8230; <a href="http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know, that there are several documentations concerning Amazon&#8217;s Elastic Cloud Computing, though I&#8217;d like to describe some very first steps for using their infrastructure to build (Linux-) instances that fulfill your needs. Let&#8217;s not beat around the bush and start-over by setting up the very first instance.</p>
<p>The first thing needed is a client computer running any kind of the supported OSs by the Amazon API tools and of course the tools themselves. After you&#8217;ve installed those and configured all credentials the right way, we can create a new pair of SSH keys for our new project. Due to the location I&#8217;m currently in, I&#8217;ve chosen to use Amazon Instances in the western EU. Execute the following line on your command-line:</p>
<blockquote><p>ec2-add-keypair &#8211;region eu-west-1 test-keypair</p></blockquote>
<p>The result should look something like this:</p>
<blockquote><p>[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US<br />
KEYPAIR	test-keypair	e1:1a:d1:a1:a1:1c:10:a1:b1:d1:cb:11:11:1a:11:11:f1:11:ae:fe<br />
&#8212;&#8211;BEGIN RSA PRIVATE KEY&#8212;&#8211;<br />
XXX<br />
&#8212;&#8211;END RSA PRIVATE KEY&#8212;&#8211;</p></blockquote>
<p>You can now copy the lines from <i>BEGIN&#8230;</i> until <i>END&#8230;</i> (including those two) into a file which you&#8217;ll be using as SSH-key for connecting to your instance. Don&#8217;t forget to <i>chmod 600</i> it!</p>
<p>Next, let&#8217;s see what base-images for creating our instance we could you &#8211; first, provided by Amazon themselves:</p>
<blockquote><p>
ec2-describe-images &#8211;region eu-west-1 -o &#8216;amazon&#8217;
</p></blockquote>
<p>The list is contained of several different OSs and versions, although in our current project we can&#8217;t make use of any of those. Therefor, we&#8217;re now searching for a perfectly fitting, really good operating system:</p>
<blockquote><p>
ec2-describe-images &#8211;region eu-west-1 -a | grep -i debian
</p></blockquote>
<p>And yet, we receive another list with several different versions of the Debian Linux distribution. After we&#8217;ve picked the one we&#8217;d like to run, we should check what instances are currently up and running:</p>
<blockquote><p>
ec2-describe-instances &#8211;region eu-west-1
</p></blockquote>
<p>If you&#8217;re using Amazon&#8217;s EC2 for the first time, there shouldn&#8217;t be any items listed. We can now start our very first instance, by copying the instance&#8217;s identifier (in the second column, a string starting with ami-<id>) and pasting it into our command:</p>
<blockquote><p>
ec2-run-instances &#8211;region eu-west-1 -k test-keypair -g &#8216;http/s&#8217; -g &#8216;ssh&#8217; ami-b8446fcc
</p></blockquote>
<p>In this command, we tell Amazon to start up a new instance that&#8217;s built on top of the ami-b8446fcc-image, using the key-pair we just created before and using some custom built firewall-rules named &#8220;http/s&#8221; (which allows us to connect to port 80 and 443) and &#8220;ssh&#8221; (port 22).</p>
<p>We need to wait a few seconds, until the instance comes up. We can use the describe-instances command from above to check the instance&#8217;s status:</p>
<blockquote><p>
ec2-describe-instances &#8211;region eu-west-1
</p></blockquote>
<p>As soon as it&#8217;s up and running, the &#8220;pending&#8221; column should have been replaced by a dynamically allocated hostname and the status &#8220;running&#8221;. Keep in mind, that this hostname/ip is dynamically allocated! If you want a fixed IP, you need to allocate and assign an Elastic IP &#8211; I&#8217;ll show you later how to do so.<br />
If our firewall rules worked out, we can now connect using SSH:</p>
<blockquote><p>
ssh -i ~/Library/EC2/id_rsa-test-keypair root@ec2-11-111-11-111.eu-west-1.compute.amazonaws.com
</p></blockquote>
<p>By default, Amazon sets up a Small Instance, that provides around 10 GB of hard drive, an Dual-Core AMD Opteron 2218 with 2600 MHz and around 1.7 GB of RAM. Small instances, in comparison to the bigger ones, also still provide a real swap-partition which is limited to 895 MB. Here, you could run into problems when installing some Oracle for example, since the DB would like to have 1 GB or more Swap-space. If 895 MB should not be enough, the only way to enlarge it seems to be to use a file within your file-system for that. Either, by placing it somewhere into / or by using /mnt for that. /mnt is a special mount in Amazon instances which provides you 147 GB of additional <i>volatile</i> storage. Amazon doesn&#8217;t guarantee in any way the storage to be stable/solid or even backed up &#8211; and usually /mnt is only used for bundling your instance. You might now think <i>&#8220;so, where could I place my data, if / is only providing me 10 GB of space and /mnt should not be used for storing sensitive data?&#8221;</i> &#8211; well, there&#8217;s a third possibility named Elastic Block Storage. An EBS is being displayed to your instance as regular block-device (/dev/sdb, &#8230;) that&#8217;s format- and mountable. There, sensitive data could be stored, by bind-mounting the directories you&#8217;d like to have your data in. I&#8217;m not going to explain how this works, else I&#8217;ll never finish writing this brief documentation.</p>
<p>However, since we&#8217;re connected to the instance now, we can set it up the way we want it, with whatever software we need on it. I&#8217;ve assumed, that most people would set it up as regular LAMP-instance, therefor I&#8217;ve also added the firewall-rule for HTTP/HTTPS. After we finished installing the software we need, there&#8217;s one more package that should be plugged into the system: The Amazon AMI Tools. Simply wget them from http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.zip and unzip the package. Those tools make use of Ruby, so ensure having it installed on your instance. Also, you need to have the private key (pk-<id>.pem) and the certificate (cert-<id>.pem) you created the instance with somewhere within your instance&#8217;s filesystem, for later use.</p>
<p>Before we bundle up our system now, let&#8217;s come back to the topic we had before: The hostname/IP. Amazon allocates some dynamic address, unless you tell them to give you a fixed (called Elastic) IP. You can do that by simply executing:</p>
<blockquote><p>
ec2-allocate-address &#8211;region eu-west-1
</p></blockquote>
<p>&#8230; within your client&#8217;s command-line (where the Amazon API Tools have been installed &#8211; not on the instance!). As result you&#8217;ll get some IP address that has now being allocated by Amazon for you. The IP isn&#8217;t bound to any instance yet &#8211; it&#8217;s just allocated for you to be able to use it. ATTENTION: You pay for Elastic IPs as long as you do not assign them to an instance. Yes, that&#8217;s right. Amazon charges you for every allocated but unused IP hourly. By that, they want to prevent people &#8220;collecting&#8221; addresses, I guess. To assign the address you just received to your instance, simply run:</p>
<blockquote><p>
ec2-associate-address &#8211;region eu-west-1 -i i-11e11b1e 79.125.11.11
</p></blockquote>
<p>The i-<id> is your actual instance&#8217;s ID, where the last, dot-separated number is the IP you&#8217;ve received. And yes, those are fake numbers &#8211; so don&#8217;t even try. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';]' class='wp-smiley' /> </p>
<p>Now it could take a bit for Amazon to reconfigure the instance, but as soon as it finished, you should be able to re-connect to the instance using the IP you just assigned to it.</p>
<p>As last task for today, let&#8217;s bundle up the image the way we have it now. Bundling an image allows you more than just eating up your credit card&#8217;s limit by dumping your S3 buckets. On the one hand, with bundles you can recover machines that crashed or lost data within a few blinks and on the other, you can created new instances out of a bundle (talking about &#8220;scalability&#8221;).</p>
<p>For bundling, we use the AMI tools we installed. First of all, let&#8217;s create a directory for the bundle:</p>
<blockquote><p>
mkdir /mnt/myimage
</p></blockquote>
<p>After that, run the bundle-vol-tool:</p>
<blockquote><p>
ec2-bundle-vol -k pk-<id>.pem -c cert-<id>.pem -s <bundle size in MB, e.g. 5000> -u <user-id, without dashes> -d /mnt/myimage/
</p></blockquote>
<p>This command takes several parameters for the private key, the certificate, the size of the resulting bundle in MB and your User-ID (without dashes). The User-ID can be found within your Account Information on Amazon&#8217;s EC2 site. The command should ask you, what architecture you&#8217;d like to bundle the system for &#8211; i386 should work out perfectly for what we&#8217;re doing. The following procedure could take some time, since the tool collections every peace of the system and builds a bundle into the directory we specified. As soon as the tool finished, we can upload our bundle to our S3-bucket:</p>
<blockquote><p>
ec2-upload-bundle &#8211;location EU -b <some unique bucket name>  -m /mnt/myimage/image.manifest.xml -a <access-key> -s <secret-key>
</p></blockquote>
<p>Again, we need to specify some credentials (our access-key and the secret-key) for the upload to work. Also, we need to pick a globally unique bucket-name for uploading the bundle, what shouldn&#8217;t be that hard as long as you don&#8217;t try stuff like &#8220;linux&#8221; or other common words. The bundle will then be uploaded to your (private) bucket, so you have it for later use.</p>
<p>From within the web-interface you could now simply create new instances out of the uploaded bundle, without even knowing how the actual system was set up or having the Amazon API tools installed on your client.</p>
<p>Cool stuff, enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing Around with Ubuntu One</title>
		<link>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/</link>
		<comments>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 19:47:16 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MobileMe]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu One]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1005</guid>
		<description><![CDATA[So, after I&#8217;ve received my confirmation for my Ubuntu One account on July the 19th, this evening I&#8217;ve finally found at least a bit time to play around with it and check out how good this service really works. For &#8230; <a href="http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, after I&#8217;ve received my confirmation for my <a title="Ubuntu One" href="https://one.ubuntu.com/" target="_blank">Ubuntu One</a> account on July the 19th, this evening I&#8217;ve finally found at least a bit time to play around with it and check out how good this service really works.</p>
<p>For my tests, I was using a vanilla Ubuntu 9.04 with latest package versions/updates installed. The installation of the PPA was pretty simple, thanks to the DEB provided on the Ubuntu One site, although I could not install the Ubuntu One GNOME-Client using the one-click feature implemented on the official Install-site. This probably could be the first thing a regular user could trap on.</p>
<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Menu.png"><img class="alignleft size-full wp-image-1006" title="UbuntuOne-Menu" src="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Menu.png" alt="UbuntuOne-Menu" width="223" height="31" /></a>So, after installing the packages manually by using a terminal and aptitude, the client appeared in Ubuntu&#8217;s &#8220;Internet&#8221;-submenu of the panel-main-menu. When a user installs Ubuntu One on a new computer and clicks the client&#8217;s icon within the menu to start the service, he will get a browser-window containing an Ubuntu One authorization-page. There, the user needs to click the &#8220;Authorize this Computer&#8221; button, so the computer will be able to sync with the Ubuntu One cloud. I took a quick look behind the scenes and as far as I&#8217;ve seen, Ubuntu One uses regular OAuth to authenticate computers to the cloud. The OAuth-token therefor will be saved within the &#8220;Passwords &amp; Keys&#8221; thingy, that&#8217;s found somewhere in the main-menu.</p>
<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Updating.png"><img class="alignright size-full wp-image-1007" title="UbuntuOne-Updating" src="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Updating.png" alt="UbuntuOne-Updating" width="270" height="106" /></a>However, the sync service itself creates a &#8220;Ubuntu One&#8221; folder within your home-directory, which syncs up into the cloud. Within this folder, there&#8217;s also a sym-linked-folder for Public content. The client-daemon doesn&#8217;t seem to be using some mechanism like iNotify to sync the folder contents up to the cloud, or if it does, it&#8217;s simply broken. At least on my test-machine, the client synchronized periodically &#8211; and by periodically I mean cycles with noticeable pauses in between. On one way that&#8217;s good, because not every tiny-whiny change that will be made to the folder&#8217;s contents will be pushed up to the cloud, what would literally kill your bandwidth, but on the other hand, the actual duration from one sync to another is just too big to be used with multiple devices simultaneously (e.g. an Android implementation or even another client-computer).</p>
<p>Talking about the simultaneousness, I don&#8217;t think that Ubuntu One is (yet) planned to be used on multiple computers simultaneous. On my test-setup I&#8217;ve created a sub-folder named &#8220;Home&#8221;, where I moved some dot-starting-folders from within my actual $HOME to and soft-linked them back to their actual location. My setup then looked something like:</p>
<p><code><br />
devilx@vm-ubuntu:~$ ls -la | grep ^lrw*<br />
lrwxrwxrwx  1 devilx devilx   38 2009-09-12 20:32 .evolution -&gt; /home/devilx/Ubuntu One/Home/evolution<br />
lrwxrwxrwx  1 devilx devilx   36 2009-09-12 20:31 .mozilla -&gt; /home/devilx/Ubuntu One/Home/mozilla<br />
lrwxrwxrwx  1 devilx devilx   35 2009-09-12 20:33 .purple -&gt; /home/devilx/Ubuntu One/Home/purple<br />
devilx@vm-ubuntu:~$<br />
</code></p>
<p>By this, I&#8217;ve pushed the preferences and information of my Firefox, my Evolution and my Pidgin into the cloud. A quick test showed me, that none of those three applications complained about their new &#8220;home&#8221; being a symlink to some directory within the cloud &#8211; and neither about any insufficient permissions that could have happened, if the cloud was set-up crappy (+1P for Ubuntu One). Still, this setup seems not that perfect for me, at the moment.</p>
<p>The synchronization of a modified .mozilla and especially of a modified .evolution folder seems to take for years. While I&#8217;m writing this text, the client-daemon is still synchronizing the files (it started nearly at the same time I&#8217;ve started writing this entry) and says &#8220;Updating 6 of 270 files&#8230;&#8221; &#8211; this could become a looooong night. Though, I don&#8217;t want to complain about Ubuntu One&#8217;s performance, since yet, it&#8217;s still in Beta (even if I don&#8217;t know, if Beta isn&#8217;t just an upcoming trend every company has to stick with -&gt; e.g. Google).</p>
<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-DesktopSync.png"><img class="alignleft size-thumbnail wp-image-1008" title="UbuntuOne-DesktopSync" src="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-DesktopSync-150x150.png" alt="UbuntuOne-DesktopSync" width="150" height="150" /></a>I&#8217;ll try to clone this Ubuntu-installation and run them both with Ubuntu One being active &#8211; first, one after another (to see, if the applications could be synced without them complaining about parameters, that are incorrect for the secondary host they get synced to -&gt; e.g. hostname information) and then I&#8217;ll try to run them simultaneously and hope for the best. If it should work out (what I don&#8217;t expect, just from what I&#8217;ve seen in similar projects), it would be really cool, because then, most applications could be synced this way without much hassle. I&#8217;d be really surprised, if this should be working, because then, the cloud seems to implement some kind of &#8220;merge&#8221; service, which allows you to upload data from two (or more) clients and seamlessly merge it up in the cloud together to one, consistent state.</p>
<p>Eh, I will see. Altogether, Ubuntu One is yet already working pretty cool, though I&#8217;m not quite sure, what a regular user should do with it, if he&#8217;s already aware of service like <a href="http://www.dropbox.com/referrals/NTIxODYyMjk5">Dropbox</a> or Amazon&#8217;s S3 &#8211; because at the moment, Ubuntu One unfortunately isn&#8217;t any better than those services. It just integrates more seamless into the GNOME-desktop. Hm&#8230; oh well. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu One: MobileMe for the Rest of Us?</title>
		<link>http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/</link>
		<comments>http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/#comments</comments>
		<pubDate>Tue, 12 May 2009 19:12:56 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MobileMe]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu One]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=885</guid>
		<description><![CDATA[Today, I&#8217;ve just subscribed to the invitations-list of Canonical&#8217;s new service called Ubuntu1. UbuntuONE. U1. Ubuntu One. The service is yet a beta, not public available and seems to become for Ubuntu what MobileMe is for the Mac. The current &#8230; <a href="http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, I&#8217;ve just subscribed to the invitations-list of Canonical&#8217;s new service called <span style="text-decoration: line-through;">Ubuntu1.</span> <span style="text-decoration: line-through;">UbuntuONE.</span> <span style="text-decoration: line-through;">U1.</span> Ubuntu One. The service is yet a beta, not public available and seems to become for Ubuntu what MobileMe is for the Mac.</p>
<p>The current service-site describes the services mainly as synchronization option for your Ubuntu workstations, so that everything is kept up to date. My first thought on this was, that they&#8217;re using webdav (just like Apple does for their iDisk) for accomplishing this task, but as it seems, there&#8217;s no webdav involved. Maybe it&#8217;s built-up on Amazon&#8217;s S3?</p>
<p>I don&#8217;t know yet, since up to now I haven&#8217;t received my invitation to join and use this service. I was told that invitations are being sent amongst others depending on the service&#8217;s usage, so I really hope (since the ubuntuone.com isn&#8217;t that popular, yet) to receive mine soon.</p>
<p>Depending of how good this service works already, it could be a really good competitor to Apple&#8217;s MobileMe &#8211; especially if it should get an own &#8220;Exchange for the Rest of Us&#8221;, heh. I don&#8217;t know what&#8217;s planned to be implemented and as it seems there&#8217;s not much talking about that, but I&#8217;d really welcome it to see a working solution on that area.</p>
<p>As soon as I&#8217;ll receive the invitation, I will take Ubuntu One on a test-drive and try to see whether it would be possible to use this service on other distributions as well. I really can&#8217;t wait to get my hands on the service&#8217;s software, heh&#8230; <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud Simplicity and Elasticity</title>
		<link>http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/</link>
		<comments>http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 19:06:07 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Bucket]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Cyberduck]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[Smooth]]></category>
		<category><![CDATA[Test]]></category>
		<category><![CDATA[Transmit]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=830</guid>
		<description><![CDATA[Some days ago I finally managed it to register on Amazon&#8217;s Simple and Elastic Services named EC2 and S3. Since I&#8217;ve  implemented some stuff at work a few weeks ago, I got really interested into the services. Now I&#8217;ve setup &#8230; <a href="http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some days ago I finally managed it to register on Amazon&#8217;s Simple and Elastic Services named EC2 and S3. Since I&#8217;ve  implemented some stuff at work a few weeks ago, I got really interested into the services. Now I&#8217;ve setup my private account and already played around some more with this services, tested out some ideas and used it as web-share.</p>
<p>I&#8217;m using the service for the first time on a Mac, since at work I only tested out their functionality under linux and had quite some problems with S3. Amazon&#8217;s Simple Storage Service is pretty cool regarding their pricing and provides a very acceptable up- and download speed &#8211; other than for example my Strato FTP does. The only complicated thing for somebody who&#8217;s new in that domain might be the &#8220;<em>How do I start?</em>&#8220;-point. S3 uses a &#8220;web-interface&#8221; which communicates using a documented REST-API. Unfortunately, under Linux there aren&#8217;t many clients which actually can communicate with this interface. Actually, I&#8217;ve only found the S3-Firefox-Plugin, which provided a way to maintain the different buckets and their content. Under OS X, there are some more (mostly Java-based) clients, including the native Cyberduck more-than-FTP client, what surprised my pretty much. This was actually the point where I&#8217;ve switched from Panic&#8217;s &#8220;Transmit&#8221; to Cyberduck, by the way.</p>
<p>However, I created my own buckets and uploaded some content to use it as web-share and test out a bit more the speed it provides. One con I&#8217;ve found up to now is the bucket-naming. Your personal bucket subjects a global namespace, what can lead to period of time needed for finding a name which is not occupied yet. This makes it for example pretty hard to automize bucket creations, for using them in an own Cloud-Service.</p>
<p>Besides, the EC2 is pretty cool, too. It provides a very flexible and (in comparison to S3) very automatable solution for cloud computing in general. It&#8217;s very fast to set up a new instance of whatever linux or windows on EC2 and run the stuff needed on it. The only con is the pricing, I guess &#8211; In my opinion it&#8217;s way too much for a Xen-I-think-it-is machine. For the price you would pay within one frequent month you could get a real root server at some hosting provider. Of course, you would lose the flexibility, but surely it depends on what you&#8217;re looking for.</p>
<p>In total, I&#8217;m really stunned of the infrastructure Amazon provides with their EC2/S3/etc. Services and I like the smooth way everything works out on them. I could really think of some cool projects to realize on top of these services&#8230; hm.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

