<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>aws &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/aws/</link>
	<description>Feed of posts on WordPress.com tagged "aws"</description>
	<pubDate>Fri, 25 Dec 2009 10:46:53 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[AWS Management Console をビデオでど～ぞ！]]></title>
<link>http://agilecat.wordpress.com/2009/12/23/aws-management-console-%e3%82%92%e3%83%93%e3%83%87%e3%82%aa%e3%81%a7%e3%81%a9%ef%bd%9e%e3%81%9e%ef%bc%81/</link>
<pubDate>Wed, 23 Dec 2009 03:57:26 +0000</pubDate>
<dc:creator>Agile Cat</dc:creator>
<guid>http://agilecat.wordpress.com/2009/12/23/aws-management-console-%e3%82%92%e3%83%93%e3%83%87%e3%82%aa%e3%81%a7%e3%81%a9%ef%bd%9e%e3%81%9e%ef%bc%81/</guid>
<description><![CDATA[AWS Management Console A Web-based Interface to Manage Your Services この新しい、Webベースの point-and-click U]]></description>
<content:encoded><![CDATA[AWS Management Console A Web-based Interface to Manage Your Services この新しい、Webベースの point-and-click U]]></content:encoded>
</item>
<item>
<title><![CDATA[SSH to EC2 Instance and GitHub on a Mac]]></title>
<link>http://michaelbushe.wordpress.com/2009/12/19/ssh-to-ec2-instance-and-github-on-a-mac/</link>
<pubDate>Sat, 19 Dec 2009 03:58:43 +0000</pubDate>
<dc:creator>michaelbushe</dc:creator>
<guid>http://michaelbushe.wordpress.com/2009/12/19/ssh-to-ec2-instance-and-github-on-a-mac/</guid>
<description><![CDATA[Yup, I&#8217;m moving to the Mac.  It&#8217;s really cool &#8211; it has this terminal thingy that y]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Yup, I&#8217;m moving to the Mac.  It&#8217;s really cool &#8211; it has this terminal thingy that you can just type commands into &#8211; what an elegant interface!  Simple black and white and it&#8217;s real clear that all I need to do is type!  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>A windows user asked me how to log into an Amazon EC2 instance using SSH.  I said, &#8220;um, well , you, wait, I was just doing this &#8230; um.  I&#8217;ll look it up and send you instructions.&#8221;  Yes, I had already done it, but was confused because I was actually in the middle of setting up secure access for <a title="GitHub" href="http://www.github.org" target="_blank">GitHub</a> as well.   I&#8217;m going to host some demos for the <a href="http://www.eventbus.org" target="_blank">EventBus</a> (particularly for <a href="http://incubator.apache.org/pivot" target="_blank">Apache Pivot</a>) on GitHub since my project on java.net will forever be stuck in CVS even though new projects can use SVN or Mercurial.</p>
<p>So let&#8217;s configure this Mac to talk to a new EC2 instance, then allow it to hook up to GitHub too (in a second post).  That might be mildly interesting since there may be a cat of keys involved &#8211; OK, maybe not interesting anyway.</p>
<p>To use ssh on an EC2 instance, ensure that when you create the instance, you also create a security group with port 22 open, since that&#8217;s what SSH runs over.   You will also create a keypair.  (You don&#8217;t need the Access Key Identifiers that you use for command line tools.  The ssh keys for an instance are different from the Access Key Identifiers and are created when you create (or reuse) a keypair for the instance. )</p>
<p>When you create the keypair for the instance you are prompted to download the key file (pem).  This is the private part of the keypair.  If you lose it, you are out of luck, AFAIK.  By default, on my Mac using Firefox, the download, the private part of the pair, gets downloaded to /Users/mbushe/Downloads/&#60;name-of-key-pair&#62;.pem.  The public part of the keypair is held on the server.  You will be forced by ssh to protect your private key, so run:</p>
<p>chmod 700 /Users/mbushe/Downloads/&#60;name-of-key-pair&#62;.pem</p>
<p>..so that only you can access it on your local box.  I&#8217;m going to assume you are connecting as root, but a good image will have you connect as another user, set up special.  (OTOH, sometimes you have to log in as root.  For example, if you are using a Content Management System that opens the CIFS port, you need to log in as root since it&#8217;s under 1000.)  The supported Alfresco EC2 image will boot you if you log in as root and ask you to in as ubuntu.</p>
<p>To connect using ssh as root, do the following (I&#8217;m giving all my info since I&#8217;m trashing this instance and key anyway):</p>
<p>ssh -i /Users/mbushe/Downloads/my-key-pair-name.pem root@ec2-67-202-0-107.compute-1.amazonaws.com</p>
<p>You will get this:The authenticity of host &#8216;ec2-67-202-0-107.compute-1.amazonaws.com (67.202.0.107)&#8217; can&#8217;t be established.<br />
RSA key fingerprint is 24:e6:b6:62:fd:f3:54:c0:5f:86:06:97:8d:b7:d4:4f.<br />
Are you sure you want to continue connecting (yes/no)?</p>
<p>At this point, you are connecting with something out there in the world that has a public key with a certain fingerprint that&#8217;s displayed.  Some nafarious teenager in your neighbor could be sitting on your wireless network and be running a DNS server for you that points you to his machine instead of yours, or someone scarier anywhere between you and what you are connecting to.  My neighbors likely haven&#8217;t hacked into my amazon box and stolen the public key though.  Can you trust everyone on Amazon&#8217;s staff though?  If I wanted to cause trouble, that&#8217;s the job I&#8217;d be applying for. This is why <a href="http://www.google.com/url?sa=t&#38;source=web&#38;ct=res&#38;cd=1&#38;ved=0CAkQFjAA&#38;url=http%3A%2F%2Fwww.torrentz.com%2F2d7942ff504735c43ad2ddc311353eecfcab2d3f&#38;ei=QEwsS8jeDNCplAfruKWjBw&#38;usg=AFQjCNFda-QSyTeHF3K-gic3PjcGENFctg&#38;sig2=A6qL8qe2VFFuvrxBVlqzOA"><em>Bruce Schneier</em></a> consults on human hacks now.  But to limit the risk, you should connect to your AWS console, click on the instance (not the keypairs), and show the system log.  Likely somewhere near the bottom, you&#8217;ll see the keys for the fingerprints:</p>
<pre>ec2: #############################################################
ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
ec2: 2048 66:27:32:9f:05:f7:84:97:53:f4:53:46:67:36:5f:6d /etc/ssh/ssh_host_rsa_key.pub (RSA)
ec2: 1024 00:84:16:fd:4e:5f:7d:8d:07:20:40:1a:e3:36:0b:94 /etc/ssh/ssh_host_dsa_key.pub (DSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
</pre>
<p>Look at the RSA fingerprint from the system log and see if it matches the output of ssh.  If it does, type yes, get warm fuzzy feelings and continue on.  If it doesn&#8217;t type no and trash your instance!  Hopefully you set up your instance via a script you can run again on a new instance.  Isn&#8217;t virtualization great?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Paremus ServiceFabric on EC2 day 5]]></title>
<link>http://blog.thestateofme.com/2009/12/18/paremus-servicefabric-on-ec2-day-5/</link>
<pubDate>Fri, 18 Dec 2009 18:19:58 +0000</pubDate>
<dc:creator>Chris Swan</dc:creator>
<guid>http://blog.thestateofme.com/2009/12/18/paremus-servicefabric-on-ec2-day-5/</guid>
<description><![CDATA[Between snow, getting some prerequisite scripts and docs a bit too late and various other stuff gett]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Between snow, getting some prerequisite scripts and docs a bit too late and various other stuff getting in the way, there hasn&#8217;t been too much progress today. I think I have everything set up to launch a complete cluster of Atlas agents in the sky, and get them to attach to the overlay VPN and call home, but the mechanics aren&#8217;t quite working yet (I&#8217;m drowning in Ruby dependency issues).</p>
<p>Today was supposed to be my last working day of the year (though I&#8217;ll be in the office on Monday for a client meeting that couldn&#8217;t be moved), so this saga will draw to a halt for the time being. I may get some time to hack away over Christmas, but no promises.</p>
<p>Two small victories:</p>
<ol>
<li>I figured out the command line I need to kill the SSL Elastic Server manager (which conflicts with Atlas in wanting port 4433):<br />
ps -ef &#124; grep ssl_server &#124; awk &#8216;{ print $2; }&#8217; &#124; xargs kill -9</li>
<li>I also figured out why my security groups between vpncubed-client and vpncubed-mgr weren&#8217;t working &#8211; I was using public IPs for wget and in vpncubed.conf rather than private IPs &#8211; doh!</li>
</ol>
<p>Hopefully this story will have a quick and happy ending in the New Year.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Paremus ServiceFabric on EC2 day 4]]></title>
<link>http://blog.thestateofme.com/2009/12/17/paremus-servicefabric-on-ec2-day-4/</link>
<pubDate>Thu, 17 Dec 2009 17:11:35 +0000</pubDate>
<dc:creator>Chris Swan</dc:creator>
<guid>http://blog.thestateofme.com/2009/12/17/paremus-servicefabric-on-ec2-day-4/</guid>
<description><![CDATA[The multicast woes are now behind me (thanks Dimitriy), and I now have a fabric that spans my home n]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The multicast woes are now behind me (thanks Dimitriy), and I now have a fabric that spans my home network and EC2. The problem with multicast turned out to be firewall related, and the simple fix was:</p>
<pre style="padding-left:30px;">/sbin/iptables -I OUTPUT -o tun0 -j ACCEPT
/sbin/iptables -I INPUT -i tun0 -j ACCEPT</pre>
<p>Tomorrow I&#8217;ll try to get something running on the fabric, and will also take a look at automating the deployment process for members of the fabric.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Paremus ServiceFabric on EC2 days 2/3]]></title>
<link>http://blog.thestateofme.com/2009/12/17/paremus-servicefabric-on-ec2-days-23/</link>
<pubDate>Thu, 17 Dec 2009 09:58:13 +0000</pubDate>
<dc:creator>Chris Swan</dc:creator>
<guid>http://blog.thestateofme.com/2009/12/17/paremus-servicefabric-on-ec2-days-23/</guid>
<description><![CDATA[I didn&#8217;t get to spend my full attention on this over the last couple of days, and somewhat as ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I didn&#8217;t get to spend my full attention on this over the last couple of days, and somewhat as expected I&#8217;ve run into trouble with <a href="http://en.wikipedia.org/wiki/Multicast">multicast</a>. Right now it seems that whenever I put a node into the VPN overlay network it stops being capable of doing multicast.</p>
<p>I&#8217;ll report back once these issues are resolved, and hopefully getting a fabric up and running that spans my home network and the cloud will be a few simple steps beyond.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[EC2: On the Spot!]]></title>
<link>http://cloudbuzz.wordpress.com/2009/12/16/ec2-on-the-spot/</link>
<pubDate>Wed, 16 Dec 2009 15:15:28 +0000</pubDate>
<dc:creator>samof76</dc:creator>
<guid>http://cloudbuzz.wordpress.com/2009/12/16/ec2-on-the-spot/</guid>
<description><![CDATA[Amazon Web Services is out with another offering: Spot Instance. This falls under the EC2 umbrella w]]></description>
<content:encoded><![CDATA[Amazon Web Services is out with another offering: Spot Instance. This falls under the EC2 umbrella w]]></content:encoded>
</item>
<item>
<title><![CDATA[Sharing Amazon AMI with other Users]]></title>
<link>http://gopalsinghal.wordpress.com/2009/12/16/sharing-amazon-ami-with-other-users/</link>
<pubDate>Wed, 16 Dec 2009 09:01:02 +0000</pubDate>
<dc:creator>gopalsinghal</dc:creator>
<guid>http://gopalsinghal.wordpress.com/2009/12/16/sharing-amazon-ami-with-other-users/</guid>
<description><![CDATA[Follow the below steps to share your owned Amazon AMI with other user. AMIs can be listed with ec2-d]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Follow the below steps to share your owned Amazon AMI with other user.</p>
<p>AMIs can be listed with ec2-describe-images command of ec2 api.</p>
<p>The flag “-o self” is used to list only images owned by us.</p>
<p>Prompt&#62; ec2-describe-images -o self<br />
IMAGE ami-4ac2529b my-bucket/ubuntu-base.manifest.xml 495219955132 available private<br />
IMAGE ami-5ad964c3 my-bucket/windows-server.manifest.xml 495219955132 available private</p>
<p>Launch permissions for an image are set by modifying an AMIs launch permission attribute.</p>
<p>To make the Ubuntu image public, we add all to the launch permission attribute.</p>
<pre>Prompt&#62; ec2-modify-image-attribute ami-4ac2529b --launch-permission --add all
launchPermission ami-4ac2529b ADD group all</pre>
<p>Now we want to give a specific user access to windows server.</p>
<p>We do this by adding only his AWS account ID to the launch permission attribute.</p>
<p>In this example, we use the short hand forms of &#8211;launch-permission and &#8211;add.</p>
<pre>Prompt&#62; ec2-modify-image-attribute ami-5ad964c3 -l -a 349782532074
launchPermission ami-5ad964c3 ADD userId 349782352074</pre>
<p>NOTE: Instead of “-a” we can use “-r” to remove / revoke launch permissions from the user.</p>
<p>Launch permissions on an AMI can be checked at any time by running ec2-describe-image-attribute.</p>
<pre>$ ec2-describe-image-attribute ami-4ca2529b -l
launchPermission ami-4ca2529b group all</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Picture: Amazon Spot Pricing Explained #cloudcomputing #cio]]></title>
<link>http://palocumulus.wordpress.com/2009/12/14/picture-amazon-spot-pricing-explained-cloudcomputing-cio/</link>
<pubDate>Mon, 14 Dec 2009 21:35:41 +0000</pubDate>
<dc:creator>Raj Badarinath</dc:creator>
<guid>http://palocumulus.wordpress.com/2009/12/14/picture-amazon-spot-pricing-explained-cloudcomputing-cio/</guid>
<description><![CDATA[Just a simpler graphic to explain the pricing from the AWS page.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://palocumulus.wordpress.com/files/2009/12/amazon-spot-pricing-raj-badarinath-palocumulus-blog1.png"><img class="size-full wp-image-55 alignleft" title="Amazon Spot Pricing-Raj Badarinath-PaloCumulus Blog" src="http://palocumulus.wordpress.com/files/2009/12/amazon-spot-pricing-raj-badarinath-palocumulus-blog1.png" alt="-Raj Badarinath-PaloCumulus Blog" width="315" height="236" /></a></p>
<p style="text-align:left;">Just a simpler graphic to explain the pricing from the <a href="http://aws.amazon.com/ec2/spot-instances/">AWS page</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Paremus ServiceFabric on EC2 - day 1]]></title>
<link>http://blog.thestateofme.com/2009/12/14/paremus-servicefabric-on-ec2-day-1/</link>
<pubDate>Mon, 14 Dec 2009 19:53:21 +0000</pubDate>
<dc:creator>Chris Swan</dc:creator>
<guid>http://blog.thestateofme.com/2009/12/14/paremus-servicefabric-on-ec2-day-1/</guid>
<description><![CDATA[I&#8217;ve known the chaps at Paremus since shortly after they set up shop, and I&#8217;ve watched t]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve known the chaps at <a href="http://www.paremus.com/">Paremus</a> since shortly after they set up shop, and I&#8217;ve watched the evolution of <a href="http://www.paremus.com/products/products_psf.html">ServiceFabric</a> since its earliest days. Since it has all the makings of a killer <a href="http://blog.capitalscf.com/2009/08/25/paas-salami-or-gourmet-burger/">PaaS</a> offering I thought I&#8217;d sharpen up my practical cloud skills by getting it running on EC2.</p>
<p>The first challenge is that ServiceFabric uses multicast to communicate between nodes in the fabric, and this isn&#8217;t something supported by EC2 (or any other IaaS that I&#8217;m aware of). This isn&#8217;t a problem though, as I set up <a href="http://cohesiveft.com/">CohesiveFT&#8217;s</a> <a href="http://www.cohesiveft.com/vpncubed/">VPNcubed</a>, which supports multicast. It also has the side benefit of allowing me to create a network topology that spans cloud and non cloud machines, so I can throw in some boxes from my home network to try out hybrid configurations. I kept things simple, and set up a single manager for the VPN-Cubed for EC2 Free Edition, which went pretty much as described in the <a href="http://www.cohesiveft.com/dnld/VPN-Cubed_051_SSL-to-Cloud_Free-Edition_20091207.pdf">step by step guide</a>.</p>
<p>The next stage was to create some workload, so I used <a href="http://www.cohesiveft.com/ElasticServer/">Elastic Server</a> to create an AMI that had Ubuntu 9.04 as the base, along with the VPN-Cubed client, Sun Java 6 and Paremus&#8217;s <a href="http://www.paremus.com/products/products_nimble.html">Nimble</a>. Nimble wasn&#8217;t there already, but it was a few minutes work to upload the package and enrol it into the build system, which then created and provisioned an EC2 instance for me automatically.</p>
<p>Once the Nimble enabled AMI was up and running I got it connected into the VPN overlay, and started up Nimble with:</p>
<pre style="padding-left:30px;">./posh -sc "repos -l springdm;add
org.springframework.osgi.samples.simplewebapp@active"</pre>
<p>I recommend giving this a go yourself if you have 5 minutes to spare &#8211; it&#8217;s a wonderful demo of dynamic provisioning.</p>
<p>Once Nimble had done it&#8217;s stuff it was then just a question of browsing to the http://nimble-machine-vpn-addr:8080/simple-web-app and I could see that the plumbing was working.</p>
<p>Snags along the way:</p>
<ul>
<li>Firewalls &#8211; maybe stating the obvious, but it really is crucial to get the right end points defined as being able to talk to each other, and security groups didn&#8217;t quite seem to cut it as expected.</li>
<li>OpenVPN throwing its toys out of the pram over an SSL verification error because the date was wrong on one of my home VMs. This stuff is much easier to diagnose when using OpenVPN straight from the command line (openvpn vpncubed.conf) rather than via it&#8217;s daemon.</li>
</ul>
<p>So, that&#8217;s it for day one, a working dynamically provisioned web application running within a VPN overlay network.</p>
<p>For day two I&#8217;m moving on to full fat ServiceFabric, and will join battle properly with multicast and VPN binding issues. Wish me luck.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The virtual resource market comes a step closer]]></title>
<link>http://blog.capitalscf.com/2009/12/14/the-virtual-resource-market-comes-a-step-closer/</link>
<pubDate>Mon, 14 Dec 2009 17:49:09 +0000</pubDate>
<dc:creator>Chris Swan</dc:creator>
<guid>http://blog.capitalscf.com/2009/12/14/the-virtual-resource-market-comes-a-step-closer/</guid>
<description><![CDATA[I first came across the concept of a virtual resource market at the Grid Today conference in 2004 wh]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I first came across the concept of a virtual resource market at the <a href="http://web.archive.org/web/20040803043815/www.gridtoday.com/04/conference/program.html">Grid Today conference in 2004</a> when Steve Yatko (who later became my boss) made his keynote presentation on &#8216;Service Oriented Computing&#8217;. Apparently we were not alone in thinking about this convergence of grid computing (as we called it then) and economics, with <a href="http://www.confusedofcalcutta.com/">JP Rangaswami</a> and <a href="http://www.parkparadigm.com/">Sean Park</a> discussing similar concepts back in <a href="http://twitter.com/jobsworth/statuses/6664262134">2002</a>. A few years later I found myself presenting on the same topic at <a href="http://www.ogf.org/OGF20/materials/711/OGF20_GMB_Chris_Swan.ppt">OGF20</a>, and a short while later Steve, Vlad and I applied for a <a href="http://www.faqs.org/patents/app/20080244607">patent</a> (which still remains pending).</p>
<p>It was only a couple of weeks ago that I was discussing how soon this would come to pass with a friendly cloud startup CEO at IGT2009, and he thought it was some way off. He can join <a href="http://blog.gardeviance.org/2009/12/mystic-meg-epic-fail.html">Simon Wardley</a> in the camp that thought this would happen but take longer. I personally was always optimistic that this would happen sooner than later, though I must confess to some recent confusion over Amazon&#8217;s capacity management for AWS &#8211; just what is &#8217;spare&#8217; capacity, and what happens when Amazon itself is busy (in the run up to Christmas)?</p>
<p>Today saw those questions answered as Amazon announced the introduction of <a href="http://aws.amazon.com/ec2/spot-instances/">spot instances</a>, which allows Amazon to auction EC2 capacity (in addition to the existing on demand and reserved instance prices). Right now the market is closed[1], and people can&#8217;t sell their reserved instances to others, but it&#8217;s reasonable to expect that these things will come to pass. I&#8217;m not sure at this stage whether the VRM will become a reality first in the Amazon public cloud (and I guess I&#8217;m with Simon on thinking that there&#8217;s a <a href="http://blog.gardeviance.org/2009/12/where-is-amazon-heading.html">great opportunity for them there</a>) or in the private data centres of large enterprises (which is the problem we were looking at 5 years or more ago); but as of today we&#8217;re a whole lot closer to that vision.</p>
<p>[1] and there&#8217;s some speculation about transparency &#8211; do different people see different prices?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[AWS Announces Spot Instances: Market-Priced Cloud Computing]]></title>
<link>http://codesimian.wordpress.com/2009/12/14/aws-announces-spot-instances-market-priced-cloud-computing/</link>
<pubDate>Mon, 14 Dec 2009 16:11:44 +0000</pubDate>
<dc:creator>codesimian</dc:creator>
<guid>http://codesimian.wordpress.com/2009/12/14/aws-announces-spot-instances-market-priced-cloud-computing/</guid>
<description><![CDATA[AWS recently announced a new service: Spot Instances. Today we launched a new option for acquiring A]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>AWS recently announced a new service: <a href="http://www.allthingsdistributed.com/2009/12/amazon_ec2_spot_instances.html">Spot Instances.</a></p>
<blockquote><p>Today we launched a new option for acquiring <a href="http://aws.amazon.com/ec2">Amazon EC2</a> Compute resources: <em><a href="http://aws.amazon.com/ec2/spot-instances/">Spot Instances</a></em>. Using this option, customers bid any price they like on unused Amazon EC2 capacity and run those instances for as long their bid exceeds the current &#8220;Spot Price.&#8221; Spot Instances are ideal for tasks that can be flexible as to when they start and stop. This gives our customers an exciting new approach to IT cost management.</p>
<p>The central concept in this new option is that of the <em>Spot Price</em>, which we determine based on current supply and demand and will fluctuate periodically. If the maximum price a customer has bid exceeds the current Spot Price then their instances will be run, priced at the current Spot Price. If the Spot Price rises above the customer&#8217;s bid, their instances will be terminated and restarted (if the customer wants it restarted at all) when the Spot Price falls below the customer&#8217;s bid. This gives customers exact control over the maximum cost they are incurring for their workloads, and often will provide them with substantial savings. It is important to note that customers will pay only the existing Spot Price; the maximum price just specifies how much a customer is willing to pay for capacity as the Spot Price changes.</p></blockquote>
<p>Interestingly, this isn&#8217;t a technological innovation but is a major business innovation. The instances they are offering are the same instances offered in the tried and true AWS EC2 system. However, now they can offer these instances at a (presumed) lower price with the caveat that you may lose your instance if the market price for that compute power goes above what you are willing to pay for it.</p>
<p>What strikes me about this is the amazing efficiency of the system. Amazon could (in theory) rent out 100% of their aalable computing power through the EC2/spot instance system. If Amazon needs the computer power back, such as during the Christmas shopping season, they can raise the spot price and reclaim many of the resources. If a third party needs more compute power than is available, they increase their bid and drive up the price.</p>
<p>It should be interesting to see applications built around this model. Protein folding is the obvios example, but I can also see this as very useful for graphics rendering or even mundane tasks such as sending out newsletters. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[3 steps to Bundle Amazon EC2 Image]]></title>
<link>http://gopalsinghal.wordpress.com/2009/12/14/3-steps-to-bundle-amazon-ec2-image/</link>
<pubDate>Mon, 14 Dec 2009 06:27:24 +0000</pubDate>
<dc:creator>gopalsinghal</dc:creator>
<guid>http://gopalsinghal.wordpress.com/2009/12/14/3-steps-to-bundle-amazon-ec2-image/</guid>
<description><![CDATA[Following are the 3 easy steps to bundle an Amazon EC2 Instance to an AMI (Amazon Image) These steps]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Following are the 3 easy steps to bundle an <a href="http://aws.amazon.com/ec2/">Amazon EC2</a> Instance to an <a href="http://en.wikipedia.org/wiki/Amazon_Machine_Image">AMI</a> (Amazon Image)</p>
<p>These steps require Amazon EC2 API tools to be installed on your system.</p>
<p>&#60;and private key, certificate and access keys for your AWS account&#62;</p>
<p>Step 1.</p>
<p>Login to the Unix / Linux instance and run the following command to create a bundle</p>
<pre><em>Prompt&#62; ec2-bundle-vol --destination /mnt/bundle-image/ </em></pre>
<pre><em> --prefix &#60;target image prefix&#62; </em></pre>
<pre><em> --cert &#60;Path to X509 Certificate&#62; </em></pre>
<pre><em> --privatekey &#60;Path to X509 private key &#62; </em></pre>
<pre><em> --user &#60;AWS Account Number&#62; </em></pre>
<pre><em> --exclude &#60;exclude dir if any&#62;</em></pre>
<p>Step 2.</p>
<p>Execute following command to upload the Bundled Image to <a href="http://aws.amazon.com/s3/">Amazon S3</a> Bucket -</p>
<pre><em>Prompt&#62;ec2-upload-bundle </em></pre>
<p><em> -b $bucket </em></p>
<p><em> -m /mnt/bundle-image/$prefix.manifest.xml </em></p>
<p><em> -a $AWS_ACCESS_KEY_ID </em></p>
<p><em> -s $AWS_SECRET_ACCESS_KEY</em></p>
<p>Step 3.</p>
<p>Now that the AMI files have been uploaded to S3, you register the image as a new AMI.</p>
<p>This is done back with the EC2 API tools installed:</p>
<pre><em>Prompt&#62; ec2-register $bucket/$prefix.manifest.xml</em></pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Benchmark Cloud Computing]]></title>
<link>http://itbenchmark.wordpress.com/2009/12/11/cloud-provider-scorecard/</link>
<pubDate>Fri, 11 Dec 2009 22:12:52 +0000</pubDate>
<dc:creator>Rick Mathieu</dc:creator>
<guid>http://itbenchmark.wordpress.com/2009/12/11/cloud-provider-scorecard/</guid>
<description><![CDATA[Powered by PathView Cloud, the Cloud Provider Scorecard rates the performance of leading cloud provi]]></description>
<content:encoded><![CDATA[Powered by PathView Cloud, the Cloud Provider Scorecard rates the performance of leading cloud provi]]></content:encoded>
</item>
<item>
<title><![CDATA[Cybercrooks use Amazon to Run Botnet]]></title>
<link>http://technologizer.com/2009/12/10/cybercrooks-use-amazon-to-run-botnet/</link>
<pubDate>Fri, 11 Dec 2009 00:28:10 +0000</pubDate>
<dc:creator>David Worthington</dc:creator>
<guid>http://technologizer.com/2009/12/10/cybercrooks-use-amazon-to-run-botnet/</guid>
<description><![CDATA[Robert McMillan of the IDG News Service is reporting that cyber criminals gained access to an Amazon]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Robert McMillan of the IDG News Service is <a href="http://www.pcworld.com/businesscenter/article/184159/hackers_find_a_home_in_amazons_ec2_cloud.html">reporting</a> that cyber criminals gained access to an Amazon Web Services (AWS) account, and used Amazon&#8217;s cloud infrastructure to manage and run its botnet. Expect more cloud-based attacks such as this one in the future.</p>
<p>The botnet was a Zeus bot (Zbot) variant. The Zeus trojan is a  program that criminals use to gather personal and financial data from its victims.</p>
<p>Hackers that create trojans such as Zeus are becoming increasingly organized and function like corporations, according to a security <a href="http://technologizer.com/2009/11/02/malware-inc-the-criminals-behind-the-attacks/">recent report</a> published by Microsoft. That structure enables regular malware release schedules, and gives criminals the ability to exploit complex vulnerabilities in software&#8211;even as operating systems become more secure.</p>
<p>Law enforcement has made some progress toward shutting down the data centers that criminals use to host their infrastructure, but the crooks are seemingly one step ahead, and have now migrated to Web-based services. IDG reports that unnamed law enforcement officials have begun to worry that stolen credit cards could be used to purchase cloud computing services such as AWS.</p>
<p>That&#8217;s a given. I hope that cloud providers take action to discover malware on their server, and have the capacity to shut it down before serious damage can be done. They have a responsibility to do so.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[My head's in the "cloud"]]></title>
<link>http://jacobcynamon.wordpress.com/2009/12/09/my-heads-in-the-cloud/</link>
<pubDate>Thu, 10 Dec 2009 02:49:26 +0000</pubDate>
<dc:creator>Jacob Cynamon-Murphy</dc:creator>
<guid>http://jacobcynamon.wordpress.com/2009/12/09/my-heads-in-the-cloud/</guid>
<description><![CDATA[Cloud computing seems to be one of the big industry buzzwords.  But what&#8217;s all the buzz about?]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>Cloud computing</em> seems to be one of the big industry buzzwords.  But what&#8217;s all the buzz about?</p>
<p>Well, for one thing, $50/application and a potential $15K in prize money, thanks to <a href="http://affiliates.elance.com/t/url.php/cid/74/sid/1806">Elance</a> and Microsoft&#8230; but more on that later.  In addition to crafty gimmicks in which yours truly hopes to take part, cloud computing seems to be catching on in organizations and among professionals seeking to reduce time to market, equipment costs and service outages.  Several major players are on board, including Microsoft (<a title="Windows Azure" href="http://www.microsoft.com/windowsazure/" target="_blank">Windows Azure</a>), Amazon.com (<a title="Amazon Web Services" href="http://aws.amazon.com/" target="_blank">Amazon Web Services</a>), Google (Google Apps, <a title="Google AppEngine" href="http://code.google.com/appengine/" target="_blank">AppEngine</a>) and Salesforce.com (<a title="Force.com" href="http://www.salesforce.com/platform/" target="_blank">Force.com</a>).  There are many other players and I&#8217;m not intentionally leaving any off the list &#8211; for the detail-oriented (and marketing managers), feel free to add a comment promoting your service of choice.  I don&#8217;t mind&#8230; really.</p>
<p>I&#8217;ve personally dabbled with Windows Azure and Amazon Web Services.  It&#8217;s worth discussing both, as they represent fairly different service models.  Amazon Web Services encompasses a number of offerings within the AWS brand (like <a title="Amazon Mechanical Turk" href="http://aws.amazon.com/mturk/" target="_blank">Mechanical Turk</a>, my personal favorite), but is most well-known for EC2, the <em>elastic compute cloud</em>.  To put it as simply as possible, imagine an unlimited number of servers that you had access to whenever you needed to scale up or down your applications and services.  Essentially, that&#8217;s what Amazon offers with EC2.  It&#8217;s akin to an infinite supply of ready-to-use servers in a remote data center &#8211; you can access the machines remotely, set up software and services and be up and running.  This is often referred to as &#8220;infrastructure as a service.&#8221;  On the other end of the spectrum, you have Windows Azure, often described as &#8220;platform as a service.&#8221;  To be frank, I hear that most often from people who are not fond of Microsoft, so I&#8217;m not sure how far removed from Amazon&#8217;s service Azure truly is.  Many of the services available to users are mirrored; if Amazon has a data storage service, Microsoft&#8217;s is comparable, both in terms of functionality and price.  However, I have heard that the encapsulation of some functionality &#8211; you don&#8217;t create &#8220;from scratch&#8221; images in Windows Azure &#8211; makes it easier to get up and running, while limiting your overall flexibility.</p>
<p>For the past few months, I have been attending the recently organized <a title="AWS Chicago Meet-up" href="http://www.amazonchicago.com" target="_blank">Amazon Web Services Chicago Meet-up</a> to learn more about AWS and cloud computing.  For those of you in the area, I encourage dropping in for the January meeting.  Everyone is very friendly, the breakfast hits the spot and lots of knowledge is served up.  On the other hand, if you are into Windows Azure, you might check out this promotion that Microsoft and Elance are offering (which I eluded to above&#8230; you were patient enough to read everything first, right?).  Yesterday night, I got an email from Elance inviting me to participate in <a href="http://affiliates.elance.com/t/url.php/cid/74/sid/1806/url/http://www.elance.com/c/rfp/main/rfpBid.pl?jobid=18582044#">a special project to create a Windows Azure application</a>.  Every successful proposal would receive $50 on completion of a live project &#8211; it&#8217;s brilliant and everyone wins.  Microsoft has several new developers using and promoting Azure, Elance has a bunch of new professionals seeking projects (not to mention the publicity from this event) and I get $50 &#8211; sweet!</p>
<p>Stay tuned &#8211; once I get approved, I will share details of my Windows Azure application, which everyone will be welcome to beta test.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Amazon EC2 - Boot from EBS and AMI conversion]]></title>
<link>http://coderslike.us/2009/12/07/amazon-ec2-boot-from-ebs-and-ami-conversion/</link>
<pubDate>Mon, 07 Dec 2009 02:31:36 +0000</pubDate>
<dc:creator>dkavanagh</dc:creator>
<guid>http://coderslike.us/2009/12/07/amazon-ec2-boot-from-ebs-and-ami-conversion/</guid>
<description><![CDATA[Amazon recently announced an important new feature for their Elastic Compute Cloud. Previously, each]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Amazon recently announced an important <a href="http://aws.amazon.com/about-aws/whats-new/2009/12/03/amazon-ec2-instances-now-can-boot-from-amazon-ebs/">new feature</a> for their Elastic Compute Cloud. Previously, each instance was based on an image that could be a maximum of 10 GB in size. So, each machine you brought up could have a root partition up to 10 GB in size and additional storage would need to be added in other ways. The size restriction alone is somewhat limiting. Amazon has not only addressed that, but given users some other very powerful abilities.</p>
<p>Now, you can define an image in an EBS snapshot. That means the size of your root partition can be as large as 1 TB. Yes, that&#8217;s 100 times larger than the old 10 GB limit. Beyond the obvious benefit of having larger images, you can also stop instances. Stopping an instance is different than terminating an instance. The distinction is important because stopping an instance is very much like hitting the &#8220;pause&#8221; button. It doesn&#8217;t take a lot to realize that pausing a running instance and being able to start it up again later is very powerful! Instances tend to boot faster off EBS. As  you might expect, if you create a really large volume for a root partition (like 100s of GBs), it will take longer to come up. That&#8217;s just because it takes longer to create larger volumes than smaller ones.</p>
<p>Let&#8217;s go further and look at how powerful it is to have snapshots as the basis for images. By having a snapshot that you can create EBS volumes from, that means you can mount a volume, based on your snapshot (which represents your image) and make modifications to it! This is immensely helpful when trying to make changes to an image. Previously, it was somewhat more awkward to modify an image. You actually had to boot it up and run it. But now, even if there is an error that prevents proper running, you can access the image storage and make changes. Very useful!</p>
<p>Of course judging by the number of public AMIs out there, there are a great number of images backed by S3 that people will want to convert. Towards this end, I came up with a script to convert AMIs from the old to the new style. Here&#8217;s the cliff&#8217;s notes version.</p>
<p>Use an instance in the same region as your image to do the following,</p>
<ul>
<li>download the image bundle to the ephemeral store</li>
<li>unbundle the image (resulting in a single file)</li>
<li>create a temporary EBS volume in the same availability zone as the instance</li>
<li>attach the volume to your instance</li>
<li>copy the unbundled image onto the raw EBS volume</li>
<li>mount the EBS volume</li>
<li>edit /etc/fstab on the volume to remove the ephemeral store mount line</li>
<li>unmount and detach the volume</li>
<li>create a snapshot of the EBS volume</li>
<li>register the snapshot as an image, and you&#8217;re done!</li>
</ul>
<p>During the private beta for this feature, I created an AMI to handle all of this, so you boot the AMI with a set of parameters and it does the dirty work. The script uses the standard <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&#38;categoryID=88">API</a> and <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=368&#38;categoryID=88">AMI</a> tools that Amazon supplies. I&#8217;ll roll that out on the public cloud shortly.</p>
<p>Here&#8217;s the interesting portion of the script (parsing arguments and setting up environment variable for the tools has been omitted) :</p>
<div id="_mcePaste">Using the AMI ID, get the manifest name and architecture</div>
<div>
<pre class="brush: plain;">
AMI_DESC=`$EC2_HOME/bin/ec2dim &#124;grep $AMI_ID`
MANIFEST=`echo $AMI_DESC &#124; awk '{ print $3 }'`
ARCH=`echo $AMI_DESC &#124; awk '{ print $7 }'`
MANIFEST_PATH=`dirname $MANIFEST`/
MANIFEST_PREFIX=`basename $MANIFEST &#124;awk -F. '{ print $1 }'`
</pre>
</div>
<p>Download the bundle to /mnt</p>
<pre class="brush: plain;">
echo grabbing bundle $MANIFEST_PATH $MANIFEST_PREFIX
/usr/local/bin/ec2-download-bundle -b $MANIFEST_PATH -a $ACCESS_ID -s $SECRET_KEY -k pk.pem -p $MANIFEST_PREFIX -d /mnt
</pre>
<p>Unbundle the image into a single (rather large) file.</p>
<pre class="brush: plain;">

echo unbundling, this will take a while
/usr/local/bin/ec2-unbundle -k pk.pem -m /mnt/$MANIFEST_PREFIX.manifest.xml  -s /mnt -d /mnt
</pre>
<p>Create an EBS volume, 10 GB. This size is used because that is the largest size for an S3 based AMI. Using launch options I show at the end of this article, you can increase that at run time. Notice, the availability zone comes from instance metadata. We must wait till the volume is created before moving on.</p>
<pre class="brush: plain;">

ZONE=`curl http://169.254.169.254/latest/meta-data/placement/availability-zone`
VOL_ID=`$EC2_HOME/bin/ec2addvol -s 50 -z $ZONE &#124; awk '{ print $2 }'`
STATUS=creating
while [ $STATUS != &#34;available&#34; ]
do
echo volume $STATUS, waiting for volume create...
sleep 3
STATUS=`$EC2_HOME/bin/ec2dvol $VOL_ID &#124; awk '{ print $5 }'`
done
</pre>
<p>Attach the volume</p>
<pre class="brush: plain;">
INST_ID=`curl http://169.254.169.254/latest/meta-data/instance-id`
$EC2_HOME/bin/ec2attvol $VOL_ID -i $INST_ID -d $EBS_DEV
</pre>
<p>Here&#8217;s where we turn the image into a real volume, using our old friend &#8220;dd&#8221;</p>
<pre class="brush: plain;">
echo copying image to volume, this will also take a while
dd if=/mnt/$MANIFEST_PREFIX of=$EBS_DEV
</pre>
<p>Mount the volume and remove ephemeral store entry from /etc/fstab. This is required because &#8220;Boot from EBS&#8221; doesn&#8217;t use the ephemeral store by default.</p>
<pre class="brush: plain;">
mount $EBS_DEV /perm
cat /perm/etc/fstab &#124;grep -v mnt &#62;/tmp/fstab
mv /perm/etc/fstab /perm/etc/fstab.bak
mv /tmp/fstab /perm/etc/
</pre>
<p>Then, unmount and detach the volume. We&#8217;re nearly there.</p>
<pre class="brush: plain;">
umount /perm
$EC2_HOME/bin/ec2detvol $VOL_ID -i $INST_ID
</pre>
<p>Create a snapshot and wait for it to complete.</p>
<pre class="brush: plain;">
SNAP_ID=`$EC2_HOME/bin/ec2addsnap $VOL_ID -d &#34;created by createAMI.sh&#34; &#124; awk '{ print $2 }'`
# now, wait for it
STATUS=pending
while [ $STATUS != &#34;completed&#34; ]
do
echo volume $STATUS, waiting for snap complete...
sleep 3
STATUS=`$EC2_HOME/bin/ec2dsnap $SNAP_ID &#124; awk '{ print $4 }'`
done
</pre>
<p>Finally, delete the volume and register the snapshot</p>
<pre class="brush: plain;">

$EC2_HOME/bin/ec2delvol $VOL_ID
$EC2_HOME/bin/ec2reg -s $SNAP_ID -a $ARCH -d $DESCR -n $MANIFEST_PREFIX
</pre>
<p>To run your AMI with a larger root partition, use a command like this (which specifies 100GB);<br />
<span style="font-family:verdana, sans-serif, arial;line-height:normal;white-space:normal;">  ec2-run-instances &#8211;key &#60;KEYPAIR&#62; &#8211;block-device-mapping /dev/sda1=:100 &#60;AMI_ID&#62;<br />
</span></pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[AWS RAID 0 performance issue]]></title>
<link>http://ec2lab.com/2009/12/04/aws-raid-0-performance-issue/</link>
<pubDate>Fri, 04 Dec 2009 12:55:06 +0000</pubDate>
<dc:creator>webtoprint</dc:creator>
<guid>http://ec2lab.com/2009/12/04/aws-raid-0-performance-issue/</guid>
<description><![CDATA[Not all EBS were created equal. Some are slower than the others. Having 2 or 3 EBS as disks in a RAI]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Not all EBS were created equal. Some are slower than the others. Having 2 or 3 EBS as disks in a RAID 0 array will give you performance of the slowest.</p>
<p>Test your AWS RAID0 before deploying real data onto it. You may want to try different EBS drives to arrive to a more or less equal configuration.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Amazon EC2 - A New Chapter Begins]]></title>
<link>http://blog.rightscale.com/2009/12/03/amazon-ec2-a-new-chapter-begins/</link>
<pubDate>Thu, 03 Dec 2009 15:22:36 +0000</pubDate>
<dc:creator>Thorsten</dc:creator>
<guid>http://blog.rightscale.com/2009/12/03/amazon-ec2-a-new-chapter-begins/</guid>
<description><![CDATA[Tonight Amazon made a milestone release introducing the ability to boot instances from an EBS volume]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Tonight Amazon made a milestone release introducing the ability to boot instances from an EBS volume and stop &#38; start instances. In addition, just a few weeks after <a href="http://aws.amazon.com/about-aws/whats-new/2009/11/12/aws-asia/">announcing</a> their plans to expand AWS to the far east, today they&#8217;ve moved west and made a US west coast cloud available. (Do they need a compass?) For the AWS view on all this see <a href="http://www.allthingsdistributed.com/2009/12/amazon_ec2_boot_from_ebs.html">Werner&#8217;s Blog</a> as well as Jeff Barr&#8217;s <a href="http://aws.typepad.com/aws/2009/12/expanding-the-aws-footprint.html">postings</a>. But one thing at a time&#8230;</p>
<h2>Amazon introduces US west coast cloud</h2>
<p>Almost exactly a year after the first geographical expansion of EC2 to Europe today is the second big step to the west coast. What is notable about the EC2 architecture is that each one of these expansions constitutes a new cloud or &#8220;region&#8221; in EC2 speak. This means that now in addition to the US-EAST-1 and EU-WEST-1 regions we have a new US-WEST-1 region. Each region operates autonomously from the others in order to provide failure isolation, which has benefits as well as downsides. A major benefit is obviously the redundancy one can get by operating in more than one region or placing DR in a region other than the one used for one&#8217;s primary service. The downside is that sharing across regions is not as easy as one might imagine. For example, machine images (AMIs) are not shared, so for each image you&#8217;re using in one region you have to copy and re-register the image in the other, and then it has a different id you need to keep track of and reference. We didn&#8217;t plan it this way, but our multi-cloud support turns out to be very helpful in managing operations in multiple EC2 regions. For example, in RightScale you can define ServerTemplates that use different images in different clouds, this means that as you update your ServerTemplate it automatically works across clouds and thus EC2 regions.</p>
<p>For redundant operations the comparison between the cloud and DIY datacenters is becoming ever more lopsided. Who can really afford to lose the man-hours, the cap-ex, the time-to-market, and incur the headaches it takes to set-up a datacenter from scratch, even if it&#8217;s in a traditional colo? And who can afford to go through all that again to set-up a second or DR site? The ease with which it is now possible to set-up a DR site in the cloud that is a faithful replica of the primary site is really remarkable. And the best is that the second site can be extremely low cost because very little needs to be running there: most of it can be fired up on-demand in the case something happens. If you already have your own datacenter/colo set-up then all hope is not lost. Setting up DR in the cloud is one of the common use-cases we see.</p>
<h2>Amazon Instances Boot from EBS</h2>
<p>The real sea change about to occur in EC2 is booting from EBS. Tonight&#8217;s release includes a ton of new features which build on the recently introduced ability to publish EBS snapshots. Here&#8217;s a quick summary:</p>
<ul>
<li>instances can boot from an EBS snapshot instead of a traditional AMI, EC2 creates an EBS volume from the snapshot and makes it the root partition</li>
<li>instances can also boot from an EBS volume, which means that a &#8220;boot from EBS&#8221; instance can effectively be stopped and restarted later by keeping the volume around and launching a fresh instance from the same volume</li>
<li>instances can now be stopped and restarted later, which works almost exactly as described in the bullet above except for the fact that the instance id (the i-12345678 number) remains the same</li>
<li>almost all attributes of an instance can change while stopped, including the instance size (naturally the availability zone is one thing that can&#8217;t change)</li>
<li>EBS snapshots can be registered and published as images, so now we have &#8220;traditional images&#8221; as well as &#8220;EBS images&#8221; (I wonder what AWS will call these)</li>
<li>images can specify snapshots and volumes to be automatically mounted at boot, and they can specify EIPs to be attached at boot, the run-instances API call can add/override these &#8220;image defaults&#8221;</li>
<li>instances can be &#8220;locked&#8221;, which prevents their accidental termination</li>
<li>instances can be bundled into images using an API call (with shutdown or optionally without)</li>
</ul>
<p>That&#8217;s a long list of features to digest! What&#8217;s going on here is that AWS is responding to the needs of enterprise customers who have many &#8216;legacy&#8217; applications that are not designed to scale out or to play nice with the operations agility enabled by the cloud. It&#8217;s for the apps that sysadmins spend weeks setting up and then do their utmost not to touch again. Now they can be installed on an EBS root volume and servers can be launched and relaunched as needed without having to touch the config. Basically this enables the old-school way of managing servers to be applied to EC2.</p>
<p>But these new features are also of great benefit to those operating scalable arrays of servers or web 2.0 web sites. It is now much easier to make changes to a clean server image: mount the image as a volume onto an extra server, edit the software/config on the image (e.g. using chroot and the native packaging system), when happy create an image from the volume and boot a server. Test it out and fix any problems in the original volume. Repeat until happy. If done correctly, this results in clean images that are not polluted by repeated boots and other operations, which is one goal we&#8217;ve always pursued with the RightImages we publish.</p>
<p>The stopping and starting of servers can also make development more cost effective. Developers that use dev &#38; test servers can stop them at the end of the day and start them back up when they next need them. In fact, many servers could be set-up to stop by themselves if there has been no activity for a while. (This reminds me that I saw that the three longest running instances visible by RightScale have been running for over 1000 days and that the account they run in has seen no activity since then, except for credit card charges I assume, impressive and scary at the same time!)</p>
<p>Stopping and starting servers can also be abused. For example, it can be used to implement &#8220;dumb auto-scaling&#8221;: simply stop some servers when the load drops and start them back up later. The good thing is that you don&#8217;t end up with fresh servers on start, so they don&#8217;t have to self-configure, the bad thing is, well, that you don&#8217;t end up with fresh servers, servers come up believing the world hasn&#8217;t changed since they were last stopped. I think of this as abuse because it&#8217;s easy to forget to update one of the stopped servers when making changes to the system, whether these are changes to the software installed on each server or changes to the rest of the system each server needs to communicate with. In other words, the danger of having a zombie come back to life and create mayhem is high. Better keep a basic amount of hygiene and start with fresh servers.</p>
<h2>The Cloud Marches On&#8230;</h2>
<p>It will be interesting to see how EC2 and its user base continue to evolve. With each release Amazon offers more options. That&#8217;s more ways to do interesting stuff, but also more ways to shoot oneself in the foot and more stuff to &#8216;grok&#8217; to get started. Maybe the most important, though, is that the Boot from EBS features rank very high on the &#8220;remove sales objections&#8221; scale: not every application is ready for the former EC2 cloud, not every sysadmin is ready for it either, by far not. I have to admit that all this leaves me with mixed feelings. EC2 used to have a simple &#38; clean model, it required some rethinking but that was for the better. It was clear how to deploy highly scalable, highly redundant applications with a high degree of automation. Now that there are 10 ways to skin the proverbial cat it&#8217;s much harder to stay on track and to leverage automation. Where early customers needed help figuring out how to operate in the world of EC2&#8217;s disposable servers today&#8217;s customers need help just navigating through all the options available in EC2 and which to apply to each application or use-case.</p>
<p>Support for the new features and the new US-WEST region in RightScale will become available with our next release, currently scheduled to go live just before xmas. Full support for booting from EBS will take a little longer as it has far-reaching implications. I&#8217;m sure that many of our customers will be operating in the new west coast region and that  it may even have some appeal to those in the far east and south pacific as &#8220;one step closer&#8221; to a local presence.  As always, we&#8217;d love to hear your thoughts on the new features, how you&#8217;re planning to use them, and how you&#8217;d like to see us support them.</p>
<h2>Updates:</h2>
<ul>
<li>AWS now gives each region a little local character: US-WEST-1 is <a href="http://aws.amazon.com/ec2/#pricing">listed</a> as &#8220;N. California&#8221;, US-EAST-1 as &#8220;N. Virginia&#8221;, and &#8220;EU-WEST-1&#8243; as &#8220;Ireland&#8221;.</li>
<li>Nice <a href="http://clouddevelopertips.blogspot.com/2009/07/boot-ec2-instances-from-ebs.html">blog post</a> on some of the mechanics of using Boot from EBS by Shlomo Swidler (but see comment below)</li>
<li>Some things you can&#8217;t do with traditional AMIs: start &#38; stop instance, create image (new way of bundling)</li>
<li>Some things you can&#8217;t do with EBS-based AMIs: dev pay, protect the content of public AMIs (someone can mount the content as a data volume and pull files off it)</li>
<li>If you plan to create a public EBS-based AMI beware of deleted files: don&#8217;t just &#8220;delete&#8221; files with sensitive data on the volume because they can be &#8220;undeleted&#8221;, you have to erase the blocks, or better, not put anything sensitive there in the first place</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[New Architectural Woodwork Standards Discussions]]></title>
<link>http://gheuer212.wordpress.com/2009/11/25/new-architectural-woodwork-standards-discussions/</link>
<pubDate>Wed, 25 Nov 2009 20:08:45 +0000</pubDate>
<dc:creator>Greg</dc:creator>
<guid>http://gheuer212.wordpress.com/2009/11/25/new-architectural-woodwork-standards-discussions/</guid>
<description><![CDATA[The discussions surrounding the new Architectural Woodwork Standards are heating up. While it&#8217;]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The discussions surrounding the new Architectural Woodwork Standards are heating up. While it&#8217;s an imperfect solution, we&#8217;ve started a set of wiki pages to capture these discussions, share ideas, and offer support to both the construction and design community. </p>
<p>The pages have a &#8216;notify me&#8217; tab which allows users to set certain pages or the whole wiki to broadcast an email anytime there is a change made. It&#8217;s a charming way to stay up to date about an on-going discussion or technical point.</p>
<p>The wiki also includes a hot link to an online area to submit suggestions for improvement to the Architectural Woodwork Standards directly to the AWI Technical Committee.</p>
<p>To be part of this virtual office, go to this URL: http://tinyurl.com/AWstandards</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[1 Year of cloud]]></title>
<link>http://cippino.wordpress.com/2009/11/23/year-of-cloud/</link>
<pubDate>Mon, 23 Nov 2009 15:23:49 +0000</pubDate>
<dc:creator>cippino</dc:creator>
<guid>http://cippino.wordpress.com/2009/11/23/year-of-cloud/</guid>
<description><![CDATA[Hi all, this post is around AWS, my server farm. November 25th will be the first anniversary of usin]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Hi all,</p>
<p>this post is around AWS, my server farm.</p>
<p>November 25th will be the first anniversary of using Amazon Web Services. After an year, I can say that I changed my mind, but this is the end of the story, so we back to the start.</p>
<p>I&#8217;m a computer programmer, I love all things about that, and what I found really interesting is the low level. For example, my favorite language is C (not ++), I like to assemble pcs, create myself the boards, cables  and whatelse. In few words: hardware is my life.</p>
<p>One year ago, I changed my job and I started to work for Reflab, as sysadmin, and they ask me about AWS. The first reaction was not so very good: virtualization of server, no physical contact with the server,  mmmm, too much&#8230; I didn&#8217;t like it. With a package full of doubts, I made the registration and I started my first server.</p>
<p>The documentation was not so good in really, but merging different sources it was not so hard. I&#8217;d like to say that my first server is running today, but is not the true: I had to shutdown that server cos was a small instance for testing. What I can say is that start a server takes 5 minutes.</p>
<p>Now we have 11 server online who are running happy and healthy. The counter of fault is less than 5 who required to restart the server. I thing it is a good result: more the 60% of server runs 100% of time, and the other 40% runs for 99.99% of time. After that, we do not have any problem about connection or disk fault.</p>
<p>The conclusion: we are very enjoy about this choice.</p>
<p>As I say, i&#8217;m the one who likes to see his hardware, but this solution is very great.</p>
<p>So&#8230; Happy birthday to you, happy birthday to you <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Uploading and Serving files with Amazon S3/CloudFront and Rails]]></title>
<link>http://devender.wordpress.com/2009/11/20/uploading-and-serving-files-with-amazon-s3cloudfront-and-rails/</link>
<pubDate>Fri, 20 Nov 2009 21:10:35 +0000</pubDate>
<dc:creator>devender</dc:creator>
<guid>http://devender.wordpress.com/2009/11/20/uploading-and-serving-files-with-amazon-s3cloudfront-and-rails/</guid>
<description><![CDATA[The attachment_fu plugin written by technoweenie takes care of uploading and retrieving files using ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The <a href="http://github.com/technoweenie/attachment_fu">attachment_fu</a> plugin written by technoweenie takes care of uploading and retrieving files using S3 and CloudFront, it has other options too such has saving to the database, local file system, rack space. Anyways in this post I describe how to use the plugin with S3 and CloudFront</p>
<ol style="line-height:2.0;">
<li>Create a sample rails project.</li>
<li>Install aws-s3 gem, &#8216;<em>sudo gem install aws-s3</em>&#8216;.</li>
<li>Install attachment_fu plugin &#8220;<em>./script/plugin install git://github.com/technoweenie/attachment_fu.git</em>&#8220;.</li>
<li> Assuming that you already have an Amazon S3 account, create a new S3 bucket.</li>
<li>Next step is to sign up for the Amazon <a href="http://aws.amazon.com/cloudfront/">CloudFront</a>, this is Amazon&#8217;s <a href="http://en.wikipedia.org/wiki/Content_delivery_network">CDN</a> and like any other AWS you pay for what you use, in addition it integrates with your S3 buckets.</li>
<li>Now log into the CloudFront&#8217;s <a href="http://aws.amazon.com/cloudfront/">console</a> and create a new distribution channel that is backed with the S3 bucket created in above steps.</li>
<li>Rename amazon_s3.yml.tpl to amazon_s3.yml (it will be in your config folder)</li>
<li>Edit the amazon_s3.yml file and fill in the appropriate information.</li>
<li>Make a model &#8216;./script/generate model file_meta_data size:integer content_type:string filename:string&#8217; .</li>
<li>Edit the newly created model and add the following lines to it.( &#8216;has_attachment&#8217; and &#8216;validated_as_attachment&#8217; are provided by the plugin, there are many other options that you can specify to read more on the options refer to this <a href="http://github.com/technoweenie/attachment_fu">page</a>).</li>
<pre class="brush: ruby;">
has_attachment   :storage =&#38;gt; :s3,
:cloudfront =&#62; true
validates_as_attachment
</pre>
<li> Generate controller &#8216;./script/generate controller Upload index show new edit create update destroy&#8217;.</li>
<li>Edit the Upload controller and add the following</li>
<pre class="brush: ruby;">
def index
  @fileMetaDatas = FileMetaData.all
end
def new
  @fileMetaData = FileMetaData.new
end
def create
  @fileMetaData = FileMetaData.new(params[:fileMetaData])
  if @fileMetaData.save
    flash[:notice] = 'File was successfully created.'
    redirect_to :controller =&#62; :upload, :action =&#62; :index
  else
    render :action =&#62; :new
  end
end
</pre>
<li>Edit the new.erb.html file under the upload controller folder and add the following</li>
<pre class="brush: ruby;">
&#60;form_for(:fileMetaData, :url =&#62; upload_file_path, :html =&#62; { :multipart =&#62; true }) do &#124;f&#124; &#62;

Upload A File:
&#60;%= f.file_field :uploaded_data %&#62;
&#60;%= submit_tag 'Create' %&#62;
&#60;% end -%&#62;
</pre>
<li>Edit the index.html.erb file under the Uploads controller and add the following</li>
<pre class="brush: ruby;">
File List
&#60;% for fileMetaData in @fileMetaDatas -%&#62;
&#60;%= link_to fileMetaData.public_filename,fileMetaData.public_filename %&#62;
&#60;% end %&#62;
</pre>
<li>Edit the Routes and add this new route &#8220;<em>map.upload_file &#8216;/new&#8217;, :controller =&#62; &#8216;upload&#8217;, :action =&#62; &#8216;create&#8217;</em>&#8220;</li>
<li>Run migrations</li>
<li>And run the server, that&#8217;s it now you browse to <a href="http://localhost:3000/upload/new">http://localhost:3000/upload/new</a> to upload a file.</li>
</ol>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Alternatives to AMIs?]]></title>
<link>http://elastic-security.com/2009/11/18/alternatives-to-amis/</link>
<pubDate>Wed, 18 Nov 2009 09:44:22 +0000</pubDate>
<dc:creator>Matthias</dc:creator>
<guid>http://elastic-security.com/2009/11/18/alternatives-to-amis/</guid>
<description><![CDATA[Foto: ilovecode Some weeks ago, I discussed the dangers of using Amazon Machine Images (AMIs) from t]]></description>
<content:encoded><![CDATA[Foto: ilovecode Some weeks ago, I discussed the dangers of using Amazon Machine Images (AMIs) from t]]></content:encoded>
</item>
<item>
<title><![CDATA[Synaptic: New Kid of an Old Bloke]]></title>
<link>http://cloudbuzz.wordpress.com/2009/11/17/synaptic-new-kid-of-an-old-bloke/</link>
<pubDate>Tue, 17 Nov 2009 05:20:29 +0000</pubDate>
<dc:creator>samof76</dc:creator>
<guid>http://cloudbuzz.wordpress.com/2009/11/17/synaptic-new-kid-of-an-old-bloke/</guid>
<description><![CDATA[Synaptic Compute as a Service is from AT&amp;T. So, now the noose is getting tighter around Amazon]]></description>
<content:encoded><![CDATA[Synaptic Compute as a Service is from AT&amp;T. So, now the noose is getting tighter around Amazon]]></content:encoded>
</item>
<item>
<title><![CDATA[Amazon の Asia 宣言は カッコイイ！]]></title>
<link>http://agilecat.wordpress.com/2009/11/14/amazon-%e3%81%ae-asia-%e5%ae%a3%e8%a8%80%e3%81%af-%e3%82%ab%e3%83%83%e3%82%b3%e3%82%a4%e3%82%a4%ef%bc%81/</link>
<pubDate>Sat, 14 Nov 2009 00:39:43 +0000</pubDate>
<dc:creator>Agile Cat</dc:creator>
<guid>http://agilecat.wordpress.com/2009/11/14/amazon-%e3%81%ae-asia-%e5%ae%a3%e8%a8%80%e3%81%af-%e3%82%ab%e3%83%83%e3%82%b3%e3%82%a4%e3%82%a4%ef%bc%81/</guid>
<description><![CDATA[AWS Announces Expansion into Asia なんてステキなんでしょう、この Amazon Asia 宣言は！ 最新の Relational Database Service や]]></description>
<content:encoded><![CDATA[AWS Announces Expansion into Asia なんてステキなんでしょう、この Amazon Asia 宣言は！ 最新の Relational Database Service や]]></content:encoded>
</item>

</channel>
</rss>
