<?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>Random Musings&#187; Cloud computing</title> <atom:link href="http://www.nslms.com/category/software/cloud-computing/feed/" rel="self" type="application/rss+xml" /><link>http://www.nslms.com</link> <description></description> <lastBuildDate>Wed, 06 Jul 2011 20:47:34 +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>Policy for an S3 only Amazon IAM User</title><link>http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/#comments</comments> <pubDate>Mon, 27 Jun 2011 18:42:14 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[Snippets]]></category> <category><![CDATA[access management]]></category> <category><![CDATA[amazon]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[cloud computing]]></category> <category><![CDATA[iam]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[policy]]></category> <category><![CDATA[s3]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=1417</guid> <description><![CDATA[Now that Amazon&#8217;s Identity and Access Management (IAM) is more widely known, and you can use your IAM credentials to login to the AWS Console, you might be wondering how to really leverage the IAM offering. One really good use for IAM is allowing access for specific users to specific S3 buckets. This is what [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F06%2F27%2Fpolicy-for-an-s3-only-amazon-iam-user%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F06%2F27%2Fpolicy-for-an-s3-only-amazon-iam-user%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>Now that Amazon&#8217;s Identity and Access Management (<a
href="http://aws.amazon.com/iam/">IAM</a>) is more widely known, and you can use your IAM credentials to <a
href="http://www.nslms.com/2011/04/04/enabling-aws-console-login-for-iam-users/">login to the AWS Console</a>, you might be wondering how to really leverage the IAM offering.<br
/> <span
id="more-1417"></span><br
/> One really good use for IAM is allowing access for specific users to specific S3 buckets.  This is what the IAM policy would look like.</p><pre>
{
  "Statement": [
    {
      "Action": [
        "s3:ListAllMyBuckets"
      ],
      "Effect": "Allow",
      "Resource": "arn:aws:s3:::*"
    },
    {
      "Action": "s3:*",
      "Effect": "Allow",
      "Resource": "arn:aws:s3:::bucket_name_here"
    },
    {
      "Action": "s3:*",
      "Effect": "Allow",
      "Resource": "arn:aws:s3:::bucket_name_here/*"
    }
  ]
}
</pre><p>This contains three simple IAM statements.</p><ol><li>The s3:ListAllMyBuckets for the entirety of S3 (arn:aws:s3:::*)</li><li>Full control of the specified bucket (bucket_name_here, in this case)</li><li>Ful control of the contents of the specified bucket</li></ol><p>Sadly, there is no way to limit a user to which buckets are listed, instead you have to let them see all buckets which is accomplished by the first statement.</p><p>The second and third statement gives the user full control of the bucket itself, and it&#8217;s contents respectively.  Assign this policy directly to a user, or a group that the user belongs to, and you&#8217;re all set!</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Policy%20for%20an%20S3%20only%20Amazon%20IAM%20User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=Policy+for+an+S3+only+Amazon+IAM+User&amp;link=http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/&amp;notes=Now%20that%20Amazon%27s%20Identity%20and%20Access%20Management%20%28IAM%29%20is%20more%20widely%20known%2C%20and%20you%20can%20use%20your%20IAM%20credentials%20to%20login%20to%20the%20AWS%20Console%2C%20you%20might%20be%20wondering%20how%20to%20really%20leverage%20the%20IAM%20offering.%0D%0A%0D%0AOne%20really%20good%20use%20for%20IAM%20is%20allowing%20access%20for%20specific%20users%20to%20specific%20S3%20buckets.%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2011/06/27/policy-for-an-s3-only-amazon-iam-user/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Taking Route 53 to Optimized Website Performance</title><link>http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/#comments</comments> <pubDate>Mon, 11 Apr 2011 12:00:00 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[linkedin]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=917</guid> <description><![CDATA[When Amazon announced it&#8217;s Authoritative DNS service, cheekily named Route 53 a few things popped into my head immediately. First, this should be a much easier way to get the effects of Dynamic DNS which we were currently leveraging DNS Made Easy for. Secondly, I wonder how much of a performance boost using it might [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F04%2F11%2Ftaking-route-53-to-optimized-website-performance%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F04%2F11%2Ftaking-route-53-to-optimized-website-performance%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>When Amazon announced it&#8217;s Authoritative DNS service, cheekily named Route 53 a few things popped into my head immediately.  First, this should be a much easier way to get the effects of Dynamic DNS which we were currently leveraging <a
href="http://www.dnsmadeeasy.com/">DNS Made Easy</a> for.  Secondly, I wonder how much of a performance boost using it might provide.<br
/> <span
id="more-917"></span></p><p>Amazon&#8217;s entire model for providing services through AWS is predicated on the idea of distributing load.  They have several availability zones for computing and storage, they have a Content Delivery Network (CDN) which will deliver your static web content to users at blazing speeds because it&#8217;s coming from a data center as close to them as possible.</p><p>So why wouldn&#8217;t that persist to their new DNS offering?</p><p>Turns out I wasn&#8217;t the only one wondering this.  Brant recently revealed some performance and stability findings in a <a
href="http://x-pose.org/2011/02/amazon-route-53-benchmark-comparisons/">blog post</a> about Route 53.</p><h2>How does it improve speed?</h2><p>With the increasing focus on the speed of websites, everything is getting optimized.  Image sizes, whitespace in your CSS and JS files, the number of additional files you load, etc.  Each of these techniques strips a millisecond or two off of the time it takes your browser to find and download all of the components which make up the page you&#8217;re looking at.</p><p>But there is another facet of browsing the web which takes time, the DNS lookup.  See, your browser has no idea which server to send the request for &#8220;www.google.com&#8221; to, since servers are identified not by their domain or hostnames, but by their IP address.  DNS is used to translate the hostname you enter into your browser, into an IP address which can be used to actually locate the server.</p><p>Of course, this lookup takes time, and if you have lots of components on your page, perhaps even some from other servers, this time could add up.</p><p>Google launched a recursive DNS service for this some time back.  By using the recursive (think &#8220;cached&#8221;) servers you could drastically improve your DNS lookup times which is demonstrated quite well in <a
href="http://code.google.com/speed/public-dns/docs/performance.html">this FAQ</a> for the service.</p><p>The downside of course is that you only get the benefit if you change your computers network settings to use the Google DNS servers, and since the DNS data is cached it can lag behind when changes are made to the authoritative DNS records.</p><p>On the other hand, if you use Route 53 as the authority for your DNS records, every internet user will benefit from the performance boost of making a DNS request to a much closer (and faster) DNS server.  Sweet!</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Taking%20Route%2053%20to%20Optimized%20Website%20Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=Taking+Route+53+to+Optimized+Website+Performance&amp;link=http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/&amp;notes=When%20Amazon%20announced%20it%27s%20Authoritative%20DNS%20service%2C%20cheekily%20named%20Route%2053%20a%20few%20things%20popped%20into%20my%20head%20immediately.%20%20First%2C%20this%20should%20be%20a%20much%20easier%20way%20to%20get%20the%20effects%20of%20Dynamic%20DNS%20which%20we%20were%20currently%20leveraging%20DNS%20Made%20Easy%20for.%20%20Secondly%2C%20I%20wonder%20how%20much%20of%20a%20performance%20b&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2011/04/11/taking-route-53-to-optimized-website-performance/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Create AWS Service Accounts with IAM</title><link>http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/#comments</comments> <pubDate>Mon, 28 Mar 2011 12:00:00 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[linkedin]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=1072</guid> <description><![CDATA[I&#8217;ve been making use of Amazon Web Services (AWS) quite a lot lately. In order to really enjoy the benefits of Cloud Computing (automation, agility, etc) I&#8217;ve had to use a number of tools to interact with AWS on my behalf. All of these external tools ask for the same thing to enable them to [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F03%2F28%2Fcreate-aws-service-accounts-with-iam%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F03%2F28%2Fcreate-aws-service-accounts-with-iam%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>I&#8217;ve been making use of Amazon Web Services (AWS) quite a lot lately.  In order to really enjoy the benefits of Cloud Computing (automation, agility, etc) I&#8217;ve had to use a number of tools to interact with AWS on my behalf.</p><p>All of these external tools ask for the same thing to enable them to make AWS API calls, your AWS Access Key ID, and your AWS Secret Access Key.  Common practice is usually to just hand over the main set of these credentials, but there is a better (more secure) way, using Amazon Identity and Access Management (IAM).<br
/> <span
id="more-1072"></span></p><h2>What is IAM?</h2><p>In September 2010, amidst very little fanfare (as is the Amazon way) Amazon released their Identity and Access Management offering.  To this day, the IAM is still technically in Beta, but it is stable tested offering.</p><p>As of this writing, you can only interact with the IAM via the API.  Amazon also makes a nice set of command line tools available which work equally well in Windows or *nix (including mac OSX) environments.</p><p>IAM is a set of tools which allow you to create user groups with defined security policies, as well as unique AWS users with their own credentials who can be assigned to those groups.</p><p>This is an extraordinarily powerful tool for managing your use of AWS.  No longer is every request to AWS made as your super user account, but you can assign particular users their own credentials to more easily control and audit what they&#8217;re doing in your AWS environment.</p><p>This concept extends to services and tools you might use to manage your AWS environment as well.  Rather than handing over your super user credentials, you can create a unique key and secret pair for each management tool you use, effectively isolating that service.</p><p>Now it&#8217;s true that you can already create many sets of credentials, and invalidate old ones using the <a
href="http://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key">Security Credentials</a> link off of your account management in AWS, but these are all still super user credentials.  They still have the same level of access (full control) and any audit information for objects created by those keys show up as the super user.</p><p>With IAM you can restrict a set of credentials using an <a
href="http://awspolicygen.s3.amazonaws.com/policygen.html">AWS policy</a>, to only the specific AWS API calls you want to allow that user to make, and the objects they create or interact with get audit data showing their username.  This makes it possible to know who (or which service) did what to objects inside your AWS environment.</p><p>Do you use a tool like <a
href="https://addons.mozilla.org/en-US/firefox/addon/amazon-s3-organizers3fox/">S3 Fox</a> to manage the contents of your S3 buckets?  You can create a unique user and policy which allows access only to S3 calls, or even narrow it to a particular bucket, or filenames!</p><p>So, how exactly do you do that?  To best explain it, I&#8217;m going to walk through the steps necessary to create a new group and user, and then use those new credentials with RightScale my favorite tool for automating AWS.</p><h2>Prerequisites</h2><p>Before we get started, you&#8217;ll need to go ahead and download the <a
href="http://aws.amazon.com/developertools/AWS-Identity-and-Access-Management/4143">IAM Command Line Toolkit</a> (IAM CLI) and add the bin directory to your PATH environment variable.  Once you&#8217;ve done that, you&#8217;re ready to follow the steps below.</p><h2>Creating a Service Account</h2><p>The first thing we&#8217;ll want to do is create a security policy which we will apply to the service account.  Since RightScale helps to manage nearly every aspect of the AWS, the policy document is going to be quite simple, and will grant full access to all services.</p><p>Don&#8217;t be too intimidated by the creating policies for more restrictive cases though, the <a
href="http://awspolicygen.s3.amazonaws.com/policygen.html">Policy Generator</a> makes it easy.</p><p>So lets write out our full control policy somewhere to disk so that we can use it later.</p><pre>
{
  &quot;Statement&quot;: [
    {
      &quot;Action&quot;: &quot;*&quot;,
      &quot;Effect&quot;: &quot;Allow&quot;,
      &quot;Resource&quot;: &quot;*&quot;
    }
  ]
}
</pre><p
class="filename">/tmp/fullcontrol_iam_policy.json</p><p>With that out of the way, lets create a new IAM user group named <strong>RightScaleDash</strong> and upload our new policy file using the IAM CLI tools.</p><pre>
$ iam-groupcreate -g RightScaleDash
$ iam-groupuploadpolicy -g RightScaleDash -p FullControl -f /tmp/fullcontrol_iam_policy.json
</pre><p>Then, we create a new user named <strong>rsdash</strong> and assign the new user to the <strong>RightScaleDash</strong> group.  Note the <strong>-k</strong> parameter, this instructs the IAM CLI tools to create a new AWS key and secret pair.</p><pre>
$ iam-usercreate -u rsdash -g RightScaleDash -k
</pre><p>Some things like signing your custom Amazon Machine Images (AMI&#8217;s) require an x.509 certificate, and RightScale has a place for entering this type of &#8220;credential&#8221; as well, so we&#8217;ll create a self signed one for this example.</p><pre>
$ openssl genrsa -out iam.key 1024
$ openssl req -new -key iam.key -out iam.csr
$ openssl x509 -req -in iam.csr -signkey iam.key -out iam.pem
$ iam-useraddcert -u rsdash -f iam.pem
</pre><p>That&#8217;s really all there is to creating your service account.  Once you&#8217;ve set things up you aren&#8217;t locked in to your choices either.  At any time you can go back and add or remove security policies using the IAM CLI.</p><p>So now that we&#8217;ve set up our new user, let&#8217;s configure RightScale to use it.</p><h2>RightScale Configuration</h2><p>These steps are very easy, I&#8217;m going to describe how you would change the credentials for an existing RightScale account since adding your credentials for the first time is handled by the RightScale setup wizard.</p><p>Once you&#8217;ve logged in, hover over the <em>Clouds</em> menu, then under <em>AWS Global</em> click the <em>Credentials</em> link.<br
/> <a
href="http://www.nslms.com/wp-content/Screen-shot-2011-03-21-at-3.21.13-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-03-21-at-3.21.13-PM-300x97.png" alt="" title="Screen shot 2011-03-21 at 3.21.13 PM" width="300" height="97" class="size-medium wp-image-1168" /></a></p><p>On the next page, click <em>Edit</em> then enter the newly created credentials into the appropriate fields.</p><p>That&#8217;s it, you&#8217;ve just configured your RightScale account to use it&#8217;s very own AWS credentials!</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Create%20AWS%20Service%20Accounts%20with%20IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=Create+AWS+Service+Accounts+with+IAM&amp;link=http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/&amp;notes=I%27ve%20been%20making%20use%20of%20Amazon%20Web%20Services%20%28AWS%29%20quite%20a%20lot%20lately.%20%20In%20order%20to%20really%20enjoy%20the%20benefits%20of%20Cloud%20Computing%20%28automation%2C%20agility%2C%20etc%29%20I%27ve%20had%20to%20use%20a%20number%20of%20tools%20to%20interact%20with%20AWS%20on%20my%20behalf.%0D%0A%0D%0AAll%20of%20these%20external%20tools%20ask%20for%20the%20same%20thing%20to%20enable%20them%20to%20make&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2011/03/28/create-aws-service-accounts-with-iam/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to host WordPress for Free</title><link>http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/#comments</comments> <pubDate>Mon, 14 Feb 2011 12:00:50 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[amazon]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[cloud]]></category> <category><![CDATA[email]]></category> <category><![CDATA[free tier]]></category> <category><![CDATA[hosting]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[RightScale]]></category> <category><![CDATA[t1.micro]]></category> <category><![CDATA[virtual computing]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wordpress blog]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=1013</guid> <description><![CDATA[If you&#8217;re looking to start a blog to promote your business, or boost your presence on the internet, you&#8217;ve probably heard of WordPress. You may also have heard about the benefits of hosting your own instance of WordPress, but you&#8217;re intimidated by the idea of setting up and maintaining your own server, or trusting your [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F02%2F14%2Fhow-to-host-wordpress-for-free%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2011%2F02%2F14%2Fhow-to-host-wordpress-for-free%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>If you&#8217;re looking to start a blog to promote your business, or boost your presence on the internet, you&#8217;ve probably heard of <a
href="http://wordpress.org">WordPress</a>.</p><p>You may also have heard about the <a
href="http://en.support.wordpress.com/com-vs-org/">benefits</a> of hosting your own instance of WordPress, but you&#8217;re intimidated by the idea of setting up and maintaining your own server, or trusting your business to a shared hosting solution.</p><p>What if I told you that I&#8217;ve got a solution that&#8217;ll let you run your WordPress blog, on your very own server, with automated backups and disaster recover, completely free?</p><p>Wait wait! I know it sounds too good to be true, but don&#8217;t leave just yet, hear me out&#8230;<br
/> <span
id="more-1013"></span></p><h2>Amazon AWS Free Tier</h2><p>First, let me be straight with you.  When I say &#8220;free&#8221; I&#8217;m referring to the <a
href="http://aws.amazon.com/free/">free tier</a> of Amazon&#8217;s virtual computing and storage platform AWS.</p><p>This free tier allows you to run their smallest instance free for one year.  In practice you actually end up paying them a very small sum (around $0.12 average for me thus far) each month for transfer costs to run a low to medium traffic blog.</p><p>After your first year of free usage has expried, it&#8217;ll start to cost around $15 per month to keep using the same size instance.</p><h2>Managed by RightScale</h2><p>You may be looking at AWS and thinking that setting up your own server, and keeping it running and backed up would be a daunting task, and it can be.  That&#8217;s where <a
href="http://www.rightscale.com/">RightScale</a> comes into the picture.</p><p>RightScale offers a <a
href="http://www.rightscale.com/products/free_edition.php">Free Developer Edition</a> that gives you access to their shared library of ServerTemplates.</p><p>In that library is one little gem that I published, expressly for the purpose of running a server that hosts my blog, a few sites for other domains I own, as well as all of the email traffic for my various domains.</p><p>In fact, you&#8217;re reading this right now from a server running from <a
href="http://www.rightscale.com/library/server_templates/Web-LAMP-Email-Postfix-vhost-A/17057">this ServerTemplate</a>.</p><h2>Full Disclosure</h2><p>Before I give you the skinny on how to start using these tools to host a WordPress blog on your own virtual server, a few warnings are in order.</p><p>I am using <a
href="http://www.opscode.com/chef/">Opscode Chef</a> to configure the server.  Chef support is currently in <em><strong>Beta</strong></em> on RightScale, meaning that they do not recommend you use it to configure and manage &#8220;Production&#8221; servers.</p><p>It also means that there can be some hiccups when you&#8217;re launching and configuring a server with this ServerTemplate.</p><p>So, don&#8217;t be surprised if the first time you launch your server, it doesn&#8217;t work.  Try launching a second time.</p><p>Lastly, I can&#8217;t take any responsibility for any loss of self esteem, data, productivity, or sanity.  You have been warned.</p><p>That said, I&#8217;m using this server to run the very blog you&#8217;re reading, and I haven&#8217;t had any significant glitches yet.  RightScale is working as we speak to improve their support for Chef and things will only get better from here.</p><p>Haven&#8217;t scared you off yet? Okay, good..  Here we go..</p><h2>20 Minute Quickstart</h2><p>The RightScale management tool, and this ServerTemplate offer all sorts of cool functionality which we can explore later, but if you&#8217;re in a hurry to get started here&#8217;s all you need to know.</p><ol><li>Go sign up for an <a
href="http://aws.amazon.com/">AWS Account</a></li><li>Sign up for a RightScale <a
href="http://www.rightscale.com/products/free_edition.php">Free Developer Edition</a></li><li>Enter your AWS credentials into the RightScale dashboard using <a
href="http://support.rightscale.com/index.php?title=03-Tutorials/01-RightScale/3._Upgrade_Your_Account/1.7_Add_AWS_Credentials_to_the_Dashboard">these</a> directions</li><li>Browse to my <a
href="https://my.rightscale.com/library/server_templates/Web-LAMP-Email-Postfix-vhost-A/17057">All-In-One ServerTemplate</a> and click &#8220;Import&#8221;</li><p><a
href="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.25.23-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.25.23-PM-300x220.png" alt="" title="Import ServerTemplate" width="300" height="220" class="size-medium wp-image-1026" /></a></p><li>Click &#8220;Add to Deployment&#8221;</li><p><a
href="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.05.02-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.05.02-PM-300x87.png" alt="" title="Add to Deployment" width="300" height="87" class="alignnone size-medium wp-image-1024" /></a></p><li>Pick the AWS Cloud closest to you and click &#8220;OK&#8221;</li><li>Change the &#8220;Instance Type&#8221; dropdown to &#8220;t1.micro&#8221;, and select the &#8220;default&#8221; Security Group from the dropdown.  You can also provide you server a name, then click &#8220;Add&#8221;</li><p><a
href="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.04.40-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.04.40-PM-300x288.png" alt="" title="Server Details" width="300" height="288" class="alignnone size-medium wp-image-1023" /></a></p><li>Click the &#8220;Play&#8221; button, provide inputs for the Database Administrator password, Postfix DB password, and EBS volume size, then click &#8220;Save and Launch&#8221;</li><p><a
href="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.17.24-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.17.24-PM-300x124.png" alt="" title="Launch Server" width="300" height="124" class="alignnone size-medium wp-image-1033" /></a><br
/> <a
href="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.13.36-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.13.36-PM-269x300.png" alt="" title="Server Inputs" width="269" height="300" class="alignnone size-medium wp-image-1025" /></a></p><p>And now.. We wait.. Until the instance is up and running..</p><li>Click on the server&#8217;s nickname, then navigate to the &#8220;Scripts&#8221; tab</li><li>Run the &#8220;rjg_utils::aio_ebs_volume_enable_continuous_backup&#8221; operational script to make sure your server is backed up daily</li><li>Run the &#8220;app_wordpress::deploy&#8221; operational script to setup WordPress for your domain</li><p><a
href="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.45.33-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-1.45.33-PM-300x151.png" alt="" title="Wordpress Deploy Inputs" width="300" height="151" class="alignnone size-medium wp-image-1036" /></a></p><li>Navigate to your websites URL (we used http://ec2.ryangeyer.com in this example) and setup your WordPress preferences</li><p><a
href="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-2.27.07-PM.png"><img
src="http://www.nslms.com/wp-content/Screen-shot-2011-02-11-at-2.27.07-PM-300x285.png" alt="" title="Configure WordPress" width="300" height="285" class="alignnone size-medium wp-image-1044" /></a></p><li>Start Blogging!</li></ol><h2>What&#8217;s Next?</h2><p>That&#8217;s really all there is to it.  As I mentioned the ServerTemplate does a number of other cool things, which you can read about in it&#8217;s <a
href="http://www.rightscale.com/library/server_templates/Web-LAMP-Email-Postfix-vhost-A/17057">description</a>.</p><p>The best part is that because this ServerTemplate is what I use for my own blog and email hosting duties, you can be sure that I&#8217;ll keep it up to date, secure, and be adding features fairly regularly.</p><h2>Drop me a note</h2><p>If you followed these directions, or if you&#8217;re using this ServerTemplate, or if you&#8217;re having trouble, by all means drop me a note in the comments here.</p><p>I&#8217;ll be happy to answer any questions I can, and I&#8217;d love to get a sense for how many people are out there running servers based on this template, it&#8217;ll keep me motivated to publish more stuff in the public ServerTemplate library!</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20to%20host%20Wordpress%20for%20Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+host+Wordpress+for+Free&amp;link=http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/&amp;notes=If%20you%27re%20looking%20to%20start%20a%20blog%20to%20promote%20your%20business%2C%20or%20boost%20your%20presence%20on%20the%20internet%2C%20you%27ve%20probably%20heard%20of%20Wordpress.%0D%0A%0D%0AYou%20may%20also%20have%20heard%20about%20the%20benefits%20of%20hosting%20your%20own%20instance%20of%20Wordpress%2C%20but%20you%27re%20intimidated%20by%20the%20idea%20of%20setting%20up%20and%20maintaining%20your%20own%20s&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2011/02/14/how-to-host-wordpress-for-free/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Chef for RightScale Quick Start</title><link>http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/#comments</comments> <pubDate>Mon, 29 Nov 2010 12:00:15 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[chef]]></category> <category><![CDATA[cloud]]></category> <category><![CDATA[configuration]]></category> <category><![CDATA[cookbooks]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[RightScale]]></category> <category><![CDATA[script]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=768</guid> <description><![CDATA[For the past few weeks I have been getting down and dirty writing Chef recipes for use in RightScale. With Chef support still in beta on RightScale, and me being a complete Chef newbie it&#8217;s I&#8217;m still on the front side of the learning curve. If you&#8217;re just getting started with Chef for RightScale, you [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F29%2Fchef-for-rightscale-quick-start%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F29%2Fchef-for-rightscale-quick-start%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>For the past few weeks I have been getting down and dirty writing Chef recipes for use in RightScale.</p><p>With Chef support still in beta on RightScale, and me being a complete Chef newbie it&#8217;s I&#8217;m still on the front side of the learning curve.</p><p>If you&#8217;re just getting started with Chef for RightScale, you might benefit from this quick start and some of the lessons I learned while getting started.</p><h1>Mise en place</h1><p>While you could just open up Notepad or TextEdit and start writing your Chef recipes, there are a few resources that will make the experience much more enjoyable.</p><h2>Install Chef</h2><p>The first thing you&#8217;re going to want to do is install the Chef Ruby Gem.  This will add all of the libraries and binaries for Chef.</p><p>While we&#8217;re writing our recipes for use with RightScale we won&#8217;t need to worry about using the Chef Server, Chef Solo, or Chef Client, so don&#8217;t bother configuring any of those.</p><p>I&#8217;m developing on a Mac and the only suitable installation method seems to be using Ruby Gems to install.  This mechanism should also work for most Linux and Debian machines which already have Ruby installed.</p><pre>
sudo gem install chef
</pre><p>Be sure that you run this as root, or with sudo or Chef will get installed at ~/.gem and won&#8217;t be in your $PATH or consequently accessible to other users.</p><h2>Sharpen your knives</h2><p>Now that you have all of the Chef goodies installed, you&#8217;ll have a binary named &#8220;knife&#8221;.  The knife is a utility which we&#8217;ll be using as we develop our cookbooks and recipes which you&#8217;ll see later.</p><p>First though, we need to configure knife.  Since we&#8217;ll only be using knife to act locally on our recipes and cookbooks we don&#8217;t need to give it legit values for a Chef server, but we do need to complete the configuration step to satisfy knife and prevent it from crashing when we use it.</p><p>To create a simple configuration file for knife, just run knife config, and accept all of the defaults.</p><pre>
knife configure
No knife configuration file found
Where should I put the config file? [~/.chef/knife.rb]
Please enter the chef server URL: [http://localhost:4000]
Please enter an existing username or clientname for the API: [rgeyer]
Please enter the validation clientname: [chef-validator]
Please enter the location of the validation key: [/etc/chef/validation.pem]
Please enter the path to a chef repository (or leave blank):
WARN: *****
WARN:
WARN: You must place your client key in:
WARN:   /Users/rgeyer/.chef/rgeyer.pem
WARN: Before running commands with Knife!
WARN:
WARN: *****
WARN:
WARN: You must place your validation key in:
WARN:   /etc/chef/validation.pem
WARN: Before generating instance data with Knife!
WARN:
WARN: *****
WARN: Configuration file written to /Users/rgeyer/.chef/knife.rb
</pre><p>You&#8217;re safe to ignore the warnings since they only pertain to actually connecting to a Chef server, which we won&#8217;t be doing.</p><p>That&#8217;s it for installing and configuring Chef if you&#8217;re using it with RightScale!</p><h2>Prepare your pantry</h2><p>Once you get going with Chef you&#8217;re going to need to store your cookbooks somewhere for RightScale to find them and run them.</p><p>RightScale will use svn or git repositories, as well as simply downloading a tar or zip file, but my personal preference is to use a git repository.</p><p>The quickest and easiest way to get started with git is to head over to <a
href="https://github.com/">github</a> and sign up for a free account.</p><p>Once you&#8217;re setup, go ahead and create the repository we&#8217;ll be using for our Chef cookbooks, and note the SSH URL to your new repository.  It should look something like <em>git@github.com:&lt;github_username&gt;/&lt;repo_name&gt;.git</em>.  Write it down or keep the browser window open so you can reference it later.</p><h1>Heat things up</h1><p>Now that you&#8217;ve got your <a
href="http://en.wikipedia.org/wiki/Mise_en_place">mise en place</a> it&#8217;s time to get cooking for RightScale with Chef.</p><h2>Create your repo</h2><p>The first step is to get the file structure of your Chef repository setup.  You could just take a look at an existing repository like the <a
href="https://github.com/opscode/cookbooks">opscode</a> cookbooks, or RightScale&#8217;s <a
href="https://github.com/rightscale/cookbooks_public">public repository</a> and replicate it manually, but there is a better way.</p><h2>Clone the OpsCode repo</h2><p>OpsCode, (the folks behind Chef) have conveniently provided a public github repository that represents the skeleton of a fully operational Chef repository.  You can clone this repository to get you started.</p><pre>
git clone git://github.com/opscode/chef-repo.git
</pre><p>Once you&#8217;ve cloned the skeleton repository, you&#8217;ll want to configure git to use the new github repository we created earlier.  Here&#8217;s where you&#8217;ll use the SSH URL I told you to take note of.  Substitute that URL where you find &lt;ssh_url&gt; below.</p><pre>
cd chef-repo/
git remote rename origin opscode-github
git remote add origin &lt;ssh_url&gt;
git remote rm opscode-github
git push origin master
</pre><h2>Create cookbook</h2><p>With the repository skeleton all ready, we&#8217;re going to want to create our first cookbook and add a recipe to it.</p><p>Creating a cookbook is our first chance to use our freshly sharpened knife, like so.</p><pre>
knife cookbook create my-first-cookbook -o cookbooks/
</pre><p>This should create a nice new cookbook skeleton directory at &lt;path_to_your_repo&gt;/cookbooks/my-first-cookbook.</p><p>With that done, let&#8217;s put our first recipe in the cookbook.  Using your favorite IDE, create and save a file named <em>helloworld.rb</em> inside the new cookbook directory.</p><p
class="filename">helloworld.rb</p><pre>
log &quot;Hello World&quot;
</pre><p>With the recipe created, we need to add it to our metadata file so that Chef and RightScale can know it&#8217;s there.  Here&#8217;s a copy of our default <em>metadata.rb</em> file.  The highlighted line is added to define the recipe we&#8217;ve added.</p><p
class="filename">metadata.rb</p><pre>
maintainer       &quot;YOUR_COMPANY_NAME&quot;
maintainer_email &quot;YOUR_EMAIL&quot;
license          &quot;All rights reserved&quot;
description      &quot;Installs/Configures my-first-cookbook&quot;
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version          &quot;0.0.1&quot;
recipe &quot;my-first-cookbook::helloworld&quot;, &quot;My first recipe, prints Hello World to the RightScale dashboard&quot;
</pre><p>We only have one more step before we&#8217;re ready to commit our new cookbook and recipe to our new git repository.</p><p>RightScale reads the metadata to determine which recipes are available in the repository, and which inputs are available for those recipes.  The file that RightScale evaluates though is a json file named <em>metadata.json</em>.</p><p>The contents of <em>metadata.json</em> are effectively the same as <em>metadata.rb</em>, but take heart, you only need maintain the <em>metadata.rb</em> file, then convert it using another Chef command.  To generate <em>metadata.json</em> from <em>metadata.rb</em> just run the following command.</p><pre>
rake metadata
</pre><p>You can run this command either right at the root of your repository, or inside each cookbook.  If you run it from the root directory of your repository, it will convert all the metadata files in all of the cookbooks.</p><p>Now we&#8217;re ready to commit our repository and try out our new cookbook.</p><pre>
git add cookbooks/
git commit -am &quot;Added my-first-cookbook and helloworld recipe&quot;
git push
</pre><h1>RightScale Configuration</h1><p>I&#8217;m going to assume that you already have some familiarity with the RightScale dashboard, and creating things like ServerTemplates and RightScripts.</p><p>What I&#8217;m going to cover here are steps are necessary to start using Chef with your ServerTemplates.</p><h2>Tell RightScale about your Repo</h2><p>The first thing you need to start using your cookbooks in RightScale is to tell the RightScale dashboard where to find your repo.  To do that, you need to create a new <em>RepoPath</em> in the designer.</p><p><a
href="http://www.flickr.com/photos/rgeyer/5216898582/" title="Screen shot 2010-11-28 at 7.33.05 PM by qwikrex, on Flickr"><img
src="http://farm6.static.flickr.com/5128/5216898582_2c0d17f8d8_z.jpg" width="640" height="359" alt="Screen shot 2010-11-28 at 7.33.05 PM" /></a></p><p><a
href="http://www.flickr.com/photos/rgeyer/5216898726/" title="Screen shot 2010-11-28 at 7.33.35 PM by qwikrex, on Flickr"><img
src="http://farm6.static.flickr.com/5205/5216898726_cbc1351324_z.jpg" width="640" height="359" alt="Screen shot 2010-11-28 at 7.33.35 PM" /></a></p><p>When you&#8217;re adding the RepoPath, for the URL field, supply the &#8220;Git Read-Only URL&#8221; for your repository, and make sure to specify the path to your cookbooks as <em>cookbooks</em>.</p><p><a
href="http://www.flickr.com/photos/rgeyer/5216310951/" title="Screen shot 2010-11-28 at 7.34.37 PM by qwikrex, on Flickr"><img
src="http://farm5.static.flickr.com/4104/5216310951_0400b36fd8_z.jpg" width="640" height="440" alt="Screen shot 2010-11-28 at 7.34.37 PM" /></a></p><h2>Add your RepoPath to a ServerTemplate</h2><p>Now that you&#8217;ve added your repo to the RightScale dashboard, you need to add that RepoPath to a ServerTemplate.  To do that, open the ServerTemplate you want to run Chef cookbooks on, and click the edit pencil on the <em>Repos</em> tab.</p><p>Then select the RepoPath we just made, and click OK.</p><p><a
href="http://www.flickr.com/photos/rgeyer/5216937566/" title="Screen shot 2010-11-28 at 7.56.33 PM by qwikrex, on Flickr"><img
src="http://farm6.static.flickr.com/5128/5216937566_30f703fb4b_z.jpg" width="640" height="440" alt="Screen shot 2010-11-28 at 7.56.33 PM" /></a></p><h2>Add a recipe to your ServerTemplate</h2><p>Our very last step is to add our helloworld recipe to a our ServerTemplate so that we can run it on one of our instances.  Go back to the <em>Scripts</em> tab, and in the script category of your choosing, click <em>Add Recipe</em> and select the helloworld recipe.</p><p><a
href="http://www.flickr.com/photos/rgeyer/5216369965/" title="Screen shot 2010-11-28 at 8.02.27 PM by qwikrex, on Flickr"><img
src="http://farm5.static.flickr.com/4083/5216369965_469cafb59b_z.jpg" width="640" height="440" alt="Screen shot 2010-11-28 at 8.02.27 PM" /></a></p><p><a
href="http://www.flickr.com/photos/rgeyer/5216958398/" title="Screen shot 2010-11-28 at 8.02.34 PM by qwikrex, on Flickr"><img
src="http://farm6.static.flickr.com/5127/5216958398_b087c4abb2_z.jpg" width="640" height="440" alt="Screen shot 2010-11-28 at 8.02.34 PM" /></a></p><p>From an instance running with the ServerTemplate we just modified, we can run the recipe, and see &#8220;Hello World&#8221; appear in the RightScale dashboard.</p><p><a
href="http://www.flickr.com/photos/rgeyer/5216405207/" title="Screen shot 2010-11-28 at 8.18.58 PM by qwikrex, on Flickr"><img
src="http://farm5.static.flickr.com/4088/5216405207_bfa688f098_z.jpg" width="640" height="440" alt="Screen shot 2010-11-28 at 8.18.58 PM" /></a></p><h1>Tips &#038; Tricks</h1><p>As stated before, Chef support in RightScale is still in Beta.  Because of this there are some gotchas to watch out for.</p><h2>Sanity Check Recipe</h2><p>If there are any syntax errors or anything else amiss in your repository, you&#8217;ll find that not just the cookbook or recipe which you&#8217;re working on is failing, but absolutely <strong><em>every</em></strong> recipe in your repo (or any other repo that&#8217;s part of your RepoPath) will fail with this super informative error message.</p><pre>
*ERROR&gt; Chef process failed with return code 1
</pre><p>Of course, you can also get that error message if you have some other problem in the recipe you&#8217;re working on.</p><p>Because of this I find it useful to keep a &#8220;smoke test&#8221; recipe in my repo, and assigned to the operational scripts on my ServerTemplate when I&#8217;m doing Chef development.  This recipe should be something simple that you know will always succeed, assuming that everything else is in order.</p><p>The helloworld recipe that we created in this exercise is actually a perfect choice for this purpose.</p><h1>Taste Test</h1><p>So there it is, everything you need to know to get started using Chef on RightScale condensed from my few weeks of experience.  I hope it helps you get started configuring your server instances with Chef, which brings a whole new dimension of power and flexibility to the RightScale ServerTemplates.</p><p>I&#8217;m excited to see how Chef support progresses and makes it to <em>production</em> status.</p><p>If you&#8217;re hungry for more info, check out some of the early documentation available about using Chef in RightScale <a
href="http://support.rightscale.com/index.php?title=09-Clouds/Multi_Cloud/Chef">here</a>.</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Chef%20for%20RightScale%20Quick%20Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=Chef+for+RightScale+Quick+Start&amp;link=http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/&amp;notes=For%20the%20past%20few%20weeks%20I%20have%20been%20getting%20down%20and%20dirty%20writing%20Chef%20recipes%20for%20use%20in%20RightScale.%0D%0A%0D%0AWith%20Chef%20support%20still%20in%20beta%20on%20RightScale%2C%20and%20me%20being%20a%20complete%20Chef%20newbie%20it%27s%20I%27m%20still%20on%20the%20front%20side%20of%20the%20learning%20curve.%0D%0A%0D%0AIf%20you%27re%20just%20getting%20started%20with%20Chef%20for%20RightSca&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2010/11/29/chef-for-rightscale-quick-start/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>How I would improve RightScale&#8217;s ServerTemplates</title><link>http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/#comments</comments> <pubDate>Mon, 22 Nov 2010 12:00:05 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[linkedin]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=825</guid> <description><![CDATA[One of RightScale&#8217;s key differentiators from other cloud management platforms is the concept of the ServerTemplate. A ServerTemplate is like a blueprint of the server you want to launch in the cloud. It defines things like what software and services will be installed and configured, what will be ready when the server boots, and what [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F22%2Fhow-i-would-improve-rightscales-servertemplates%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F22%2Fhow-i-would-improve-rightscales-servertemplates%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>One of RightScale&#8217;s key differentiators from other cloud management platforms is the concept of the ServerTemplate.</p><p>A ServerTemplate is like a blueprint of the server you want to launch in the cloud.  It defines things like what software and services will be installed and configured, what will be ready when the server boots, and what can be run periodically for maintenance during the lifetime of that server instance.</p><p><span
id="more-825"></span></p><p>ServerTemplates offer a great deal of power, and abstract a lot of the cloud specific dependencies but there&#8217;s room for improvement.</p><h2>Optional Boot Scripts</h2><p>One of the cool aspects of ServerTemplates is that you can specify a set of scripts which will be run on your new server instance the moment it boots up.</p><p>These bootscripts can be customized by inputs that you provide for each instance of the server template, allowing you to customize the exact details of your server instance.</p><p>Once you&#8217;ve selected the inputs that will produce the desired server instance, you just press a button to launch and the server starts up with exactly the configuration that you specified.</p><h3>Tweaked with metadata</h3><p>The problem though, is that sometimes you might create a ServerTemplate which could be used in more than one configuration.  A great example is my <a
href="http://www.rightscale.com/library/server_templates/Tomcat6-Java-or-Grails-App-Fro/14552">Tomcat All-In-One</a> template.  This template is designed to run every service necessary for various Grails applications.</p><p>However, depending on the actual instance I&#8217;m trying to start I won&#8217;t need certain services, or I may need to configure some services differently for different purposes.</p><p>To accomplish this sort of functionality using the existing ServerTemplate functionality, I use optional input parameters for the scripts that control the outcome of those scripts.  The input <strong>LDAP_ENABLED</strong> determines if an OpenLDAP server is installed on boot or not, and the value of <strong>DB_SOURCE</strong> determines which scripts are used for setting up the database.</p><h3>Configure it later</h3><p>Another strategy is to only launch the common services at boot, and allow the user to initialize other services after startup using operational scripts.  I use this strategy on my <a
href="http://www.rightscale.com/library/server_templates/Dev-Team-All-in-One-v1/14785">Dev Team All-in-One</a> ServerTemplate.</p><h3>A better mouse trap</h3><p>Neither of these approaches are particularly elegant though.  In the case of the optional inputs, you have to specify a lot more metadata for a server instance before you launch it, and it may not be immediately obvious that the consequence of setting a certain input is that a service you depend upon won&#8217;t be installed or configured.</p><p>When you force the user to install the services they need after the server is booted, a lot of the convenience and agility afforded by ServerTemplates is lost.</p><p>A better solution to the problem is to allow scripts which are added to the boot section of a ServerTemplate to be flagged as <em>optional</em>.  This would mean that when a user clicks the &#8220;launch&#8221; button for their server instance, they would be prompted not only for the inputs necessary to start the instance, but they would also be asked to select which optional boot scripts should run.</p><p>In this model, the optional boot scripts should probably also be able to define dependencies.  For instance, an optional script for continuously backing up an LDAP server may be dependent upon an optional boot script used to install that LDAP server in the first place</p><p>Darryl Eaton eluded to the coming availability of optional boot scripts in his <a
href="http://assets.rightscale.com/11-03-10-user-conference/41-UCB-Sharing-Best-Practices.pdf">presentation</a> at CloudExpo 2010 in Santa Clara, and I am anxious to see how it&#8217;s implemented.  As a <a
href="http://www.rightscale.com/ambassador/">RightScale Ambassador</a> I&#8217;m hoping to get a sneak peek of this as soon as it becomes available, and I&#8217;ll be sure to share my experience.</p><h2>Script Packs</h2><p>Another feature that I think ServerTemplates are missing is the ability to group sets of scripts together into <em>packs</em>, then allow many instances of those packs to be assigned to a server instance with discret sets of inputs for each pack.</p><p>What exactly do I mean by that?</p><p>All of the existing ServerTemplates that you find in the library make the assumption that a particular server instance is only running one of any given service or application.</p><p>Take a look at all of the MySQL Database templates, they all operate under the assumption that you are running only one database.</p><p>The application servers?  Yup, those assume you&#8217;re only running a single application on each server instance.</p><p>Now, in production for high traffic applications and services which demand easy and rapid scalability, that&#8217;s exactly how your servers should be configured.  But what about lower traffic applications?</p><p>Take a small development team running an all-in-one server with a few applications running on it for smoke testing or experimentation.  Or a smallish business or social media personality who wants to host a website or two.</p><p>In both of the above cases a single m1.small EC2 instance could easily handle the load of even a few hundred users on a couple applications or services.</p><p>In fact I am exactly that sort of user.  I currently have six small WordPress sites, and an email server all running on a single Linode VPS with just over 700MB of memory.  A single t1.micro instance running on Amazon could easily accomodate my needs, and with RightScale I can monitor and manage it a lot more effectively.</p><p>To that end I&#8217;m working on a ServerTemplate to run these services in a t1.micro instance with Ubuntu 10.10, stay tuned for details on that.</p><h3>The workaround</h3><p>One of the challenges I face is having a set of scripts which I want to do the same operations on each of my six sites.</p><p>Things like a script to install WordPress to the proper directory, a script to update WordPress in the proper directory, scripts to backup or restore the database, scripts to backup or restore the files under htdocs, etc.</p><p>The best way I&#8217;ve found to add these scripts to my ServerTemplate and allow them to act on all of these sites individually, is to include them all in the operational scripts section of the template.  Then when I launch my instance I leave the inputs for those scripts blank, requiring me to enter inputs which target a particular site when I run the script.</p><p>Obviously, this is error prone.  What if I mis-type the path to the site directory and accidentally install WordPress in the wrong directory?  Or maybe I am planning a wordpress upgrade and I backup a sites database, then update a different site that hasn&#8217;t been backed up because I provided the wrong inputs to the script.</p><h3>Tightening things up</h3><p>With a script pack I could group together all of the scripts that run against my various applications (database backup, htdocs backup, wordpress installation &#038; updates, etc) into a pack and define (and save) the inputs for each distinct instance.  Being able to label each pack would be a nice touch too.</p><p>There could be a www.nslms.com pack which performs those operational tasks only on the assets specific to that site.</p><p>And a tasforwp.ryangeyer.com pack which performed those operational tasks only on the assets specific to that site.</p><p>A www.ryangeyer.com pack&#8230;.  You get the idea.</p><p>Imagine adding one (or many) of these packs to the boot phase of a ServerTemplate.  You could setup several websites to be launched as soon as your server instance is ready, or restore all of them from a current backup.  This could be useful for scaling your server horizontally to a bigger instance.</p><p>If you combine optional boot scripts and script packs, you could do some really cool stuff.   You might take a clone of your existing multiple site instance, and using optional boot scripts, only launch one of the sites on a new instance, allowing vertical scaling.  Powerful stuff indeed!</p><h2>What would you like to see?</h2><p>These are the improvements I would love to see added to ServerTemplates to improve my ability to manage servers in the cloud, but what do you think?</p><p>Would these improvements appeal to you?</p><p>What else would help you create better, faster, smarter ServerTemplates?</p><p>Feel free to speak your mind in the comments!</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20I%20would%20improve%20RightScale%27s%20ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=How+I+would+improve+RightScale%27s+ServerTemplates&amp;link=http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/&amp;notes=One%20of%20RightScale%27s%20key%20differentiators%20from%20other%20cloud%20management%20platforms%20is%20the%20concept%20of%20the%20ServerTemplate.%0D%0A%0D%0AA%20ServerTemplate%20is%20like%20a%20blueprint%20of%20the%20server%20you%20want%20to%20launch%20in%20the%20cloud.%20%20It%20defines%20things%20like%20what%20software%20and%20services%20will%20be%20installed%20and%20configured%2C%20what%20will%20be&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2010/11/22/how-i-would-improve-rightscales-servertemplates/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Add Agility to Dev &amp; Test with the Cloud &#8211; Managed by RightScale</title><link>http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/#comments</comments> <pubDate>Wed, 17 Nov 2010 18:05:23 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[agility]]></category> <category><![CDATA[cloud]]></category> <category><![CDATA[development]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[RightScale]]></category> <category><![CDATA[testing]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=816</guid> <description><![CDATA[Whether you are a small development company with a tight budget, or an established enterprise with some trepidation about wading into the murky waters of cloud computing, RightScale just made it easier to empowering your development and test teams with cloud computing. In late September RightScale announced a Development and Test solution pack. This solution [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F17%2Fadd-agility-to-dev-test-with-the-cloud-managed-by-rightscale%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F17%2Fadd-agility-to-dev-test-with-the-cloud-managed-by-rightscale%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>Whether you are a small development company with a tight budget, or an established enterprise with some trepidation about wading into the murky waters of cloud computing, RightScale just made it easier to empowering your development and test teams with cloud computing.</p><p>In late September RightScale announced a Development and Test solution pack.  This solution pack is a suite of tools, best practices, and professional services that helps deliver the agility promised by the cloud to your development and test phases.</p><p><a
href="http://www.cmcrossroads.com/">CM Crossroads</a> interviewed RightScale&#8217;s CEO Michael Crandell about the new offering and has recently made the interview available.</p><p>If you want to know more after watching the interview, checkout the RightScale <a
href="http://www.rightscale.com/products/plans-pricing/dev-test-solution-pack.php">Dev and Test Solution Pack</a> landing page for more info.</p><p><object
width="640" height="385"><param
name="movie" value="http://www.youtube.com/v/RRPl2sPCsWw?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1&amp;color1=0x3a3a3a&amp;color2=0x999999"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><embed
src="http://www.youtube.com/v/RRPl2sPCsWw?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1&amp;color1=0x3a3a3a&amp;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object></p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=Add%20Agility%20to%20Dev%20%26%20Test%20with%20the%20Cloud%20-%20Managed%20by%20RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=Add+Agility+to+Dev+%26+Test+with+the+Cloud+-+Managed+by+RightScale&amp;link=http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/&amp;notes=Whether%20you%20are%20a%20small%20development%20company%20with%20a%20tight%20budget%2C%20or%20an%20established%20enterprise%20with%20some%20trepidation%20about%20wading%20into%20the%20murky%20waters%20of%20cloud%20computing%2C%20RightScale%20just%20made%20it%20easier%20to%20empowering%20your%20development%20and%20test%20teams%20with%20cloud%20computing.%0D%0A%0D%0AIn%20late%20September%20RightScal&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2010/11/17/add-agility-to-dev-test-with-the-cloud-managed-by-rightscale/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to become a Cloud Computing Rockstar</title><link>http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/#comments</comments> <pubDate>Fri, 12 Nov 2010 20:07:03 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[amazon]]></category> <category><![CDATA[cloud]]></category> <category><![CDATA[ec2]]></category> <category><![CDATA[ipad]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[RightScale]]></category> <category><![CDATA[rockstar]]></category> <category><![CDATA[servertemplate]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=773</guid> <description><![CDATA[It&#8217;s now the end of my first full week back at work since I attended the 2010 Cloud Expo and RightScale User Conference, and I&#8217;m still feeling the motivation and enthusiasm I picked up there. You see, a few weeks before the conference, RightScale announced a contest for the best ServerTemplate published to their public [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F12%2Fhow-to-become-a-cloud-computing-rockstar%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F12%2Fhow-to-become-a-cloud-computing-rockstar%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>It&#8217;s now the end of my first full week back at work since I attended the 2010 Cloud Expo and RightScale User Conference, and I&#8217;m still feeling the motivation and enthusiasm I picked up there.</p><p><span
id="more-773"></span></p><p>You see, a few weeks before the conference, RightScale announced a contest for the best ServerTemplate published to their public <a
href="http://www.rightscale.com/library/">library</a>.  Three winners would be announced at the RightScale User Conference and be thanked for their contribution with a shiny new iPad.  I couldn&#8217;t resist submitting my <a
href="http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/">own work</a> for a chance to win.</p><p>If you follow me on <a
href="http://twitter.com/#!/rjgeyer">Twitter</a> you already saw this.<br
/><div
class="status"><div
class="author"> <a
href="http://twitter.com/rjgeyer" target="_blank"> <img
alt="rjgeyer" height="48" src="http://a2.twimg.com/profile_images/704592778/4368556663_e975200d19_m_normal.jpg" width="48"> </a></div><div
class="status-body"><div
class="status-content"> <strong><a
href="http://twitter.com/rjgeyer" target="_blank">rjgeyer</a></strong> <span
class="entry-content">I won the &quot;Most Useful&quot; category of the #rightscale ServerTemplate showdown! Stiff competition, so I'm stoked. Cool!!</span></div><div
class="meta entry-meta"> On <a
class="entry-date" rel="bookmark" href="http://twitter.com/rjgeyer/status/29593902654" target="_blank"> <span
class="published timestamp">November 3, 2010 6:10 pm</span> </a> via <a
href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></div></div></div></p><p>Yup, I won a shiny new iPad for my <a
href="http://www.rightscale.com/library/server_templates/OpenLDAP-Directory-Server-v1-1/14818">OpenLDAP ServerTemplate</a> in the &#8220;Most Useful&#8221; category of the competition.  What&#8217;s more my blog post about the ServerTemplate showdown made it into the opening slides for the day!</p><p>That pretty well set the tone, and I felt like a Rockstar for the rest of the day.  All of the RightScale staff knew my name, and many of the other attendees chatted with me about how we&#8217;re using the Amazon and Rightscale, and how I built my ServerTemplate.</p><p>Groupies lined up to get my autograph and get their picture taken with me, and I had a few room keys slipped into my pockets.</p><p>Okay, maybe that last part was an exaggeration but I definitely felt like &#8220;somebody&#8221; that day.</p><p>On top of that, this has created a nice little buzz within my department and the company at large and it&#8217;s motivating them to take a more serious look at how we can leverage cloud computing for our IT needs.</p><p>And if all of that wasn&#8217;t enough I&#8217;ve also been accepted as a RightScale ambassador which gives me early access to betas and the attention of the product development folks to share our needs and use cases.</p><p>But I have a <em>juicy confession</em>&#8230;</p><h2>My dirty little secret</h2><p>All of this happened not because I am particularly charismatic, or because I extended some special effort to produce something amazing then market the crap out of it in social media.  No, this all happened because I was just doing my job.</p><p>The OpenLDAP ServerTemplate was one I&#8217;d already created to meet the needs of our application development, and the possibility of winning an iPad (and a little notoriety) was all the motivation I needed to polish it a bit and share it with the community.</p><p>This all serves to strengthen a point which I picked up on at Cloudexpo and I think it will become a serious marketing trend for cloud computing.  Making IT the &#8220;Hero&#8221;.</p><div
class="status"><div
class="author"> <a
href="http://twitter.com/rjgeyer" target="_blank"> <img
alt="rjgeyer" height="48" src="http://a2.twimg.com/profile_images/704592778/4368556663_e975200d19_m_normal.jpg" width="48"> </a></div><div
class="status-body"><div
class="status-content"> <strong><a
href="http://twitter.com/rjgeyer" target="_blank">rjgeyer</a></strong> <span
class="entry-content">I love the subtext of &quot;Making IT the hero (again)&quot; at #cloudexpo Let users serve themselves from a well controlled &amp; audited system</span></div><div
class="meta entry-meta"> On <a
class="entry-date" rel="bookmark" href="http://twitter.com/rjgeyer/status/29589020775" target="_blank"> <span
class="published timestamp">November 3, 2010 5:01 pm</span> </a> via <a
href="http://www.tweetdeck.com" rel="nofollow">TweetDeck</a></div></div></div><p>In a lot of organizations, the IT folks are viewed as little more than an obstacle to getting things done, like the roadie who spends more time smoking behind the van than he does setting up the stage.</p><p>The experience of acquiring IT resources usually goes like this.</p><p>Request resources by following an often rigorous process&#8230;</p><p>Wait an extraordinarily long time to get the resources, usually so long that your project suffers&#8230;</p><p>Once you get the resources you need you&#8217;re bound by what seems like an endless list of apparently burdensome and unreasonable restrictions in the name of &#8220;security&#8221;&#8230;</p><p>Not an attractive scenario for the IT &#8220;customers&#8221; but it&#8217;s just as bad for the IT team.  You see it&#8217;s not that the poor IT team does not want to move quickly, and provide the resources, but they also want to must sure that the users are protected and that they will be able to weather a security and compliance audit.</p><h2>Sign your own record deal</h2><p>Using the cloud computing paradigms though, IT can have a whole portfolio of ready to run servers and IT infrastructure.  All of those images and templates are already pre-configured with all of the companies regulatory requirements, security best practices, and ready to interface with the rest of the IT infrastructure.</p><p>All the user has to do is log in and configure the environment they need for their particular business purpose all of the automation magic makes the resources available almost <strong><em>instantly</em></strong>!</p><p>That is really the beauty of cloud computing (if you&#8217;re doing it right).  You can improve IT efficiency and agility, while maintaining or even improving your system of checks and balances, and you can make your users happy to use the system you&#8217;ve put in place.  Now everyone wins!</p><p>Of course the very best news for IT guys is, you can sit back and enjoy the perks of rockstar status just by doing your job.  In fact, by leveraging the promise of agility that cloud computing offers, you&#8217;re job will actually become much easier, and you still get to party like a rockstar.</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20to%20become%20a%20Cloud%20Computing%20Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+become+a+Cloud+Computing+Rockstar&amp;link=http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/&amp;notes=It%27s%20now%20the%20end%20of%20my%20first%20full%20week%20back%20at%20work%20since%20I%20attended%20the%202010%20Cloud%20Expo%20and%20RightScale%20User%20Conference%2C%20and%20I%27m%20still%20feeling%20the%20motivation%20and%20enthusiasm%20I%20picked%20up%20there.%0D%0A%0D%0A%0D%0A%0D%0AYou%20see%2C%20a%20few%20weeks%20before%20the%20conference%2C%20RightScale%20announced%20a%20contest%20for%20the%20best%20ServerTemplat&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2010/11/12/how-to-become-a-cloud-computing-rockstar/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to resize billions of images in the cloud</title><link>http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/#comments</comments> <pubDate>Mon, 01 Nov 2010 17:11:44 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[php]]></category> <category><![CDATA[linkedin]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=750</guid> <description><![CDATA[As I was clearing out my RSS reader a few days back, I stopped to read a post on the Flickr dev blog about the &#8220;new&#8221; 640px image size. In the article they lament that they wished they had made &#8220;Large&#8221; copies of all uploaded images because it would make generating the new 640px size [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F01%2Fhow-to-resize-billions-of-images-in-the-cloud%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F11%2F01%2Fhow-to-resize-billions-of-images-in-the-cloud%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>As I was clearing out my RSS reader a few days back, I stopped to read a post on the Flickr dev blog about the &#8220;new&#8221; <a
href="http://code.flickr.com/blog/2010/10/26/the-not-so-new-image-size-medium-640/">640px image size</a>.  In the article they lament that they wished they had made &#8220;Large&#8221; copies of all uploaded images because it would make generating the new 640px size easier.</p><p>This got me thinking, what if they did want to convert every image ever uploaded to this new size and cache it?  How would they do it? How much would it cost?  The more I thought about it, the more curious I became, so I launched a little research project to see what I could find out, and to show how I would work through the problem.</p><h1>Approach</h1><h2>How to resize?</h2><p>I tried searching to find out exactly how Flickr is resizing their images, but it is apparently a well kept secret.  There was a fair amount of speculation that they use Lanczos resampling, and my own research suggested it was a strong choice for quality resizing, so I chose to use it for the purposes of this experiment.</p><p>I wrote a very quick PHP script that uses ImageMagick with the Lanczos &#8220;filter&#8221; to do the work.  This resizer was built with this particular experiment in mind, but it is fairly flexible.  If you POST an image, and a value &#8220;largestDimInPx&#8221; it will resize the image and send it back as the response to the HTTP POST, thus the &#8220;RESTFul&#8221; name.  The resizer also accepts an array of parameters which it sends back in the HTTP header.  So if you were actually taking on a mass resizing project like we&#8217;re proposing, you can pass the unique ID of the photo in your system and get it back when the resize is complete.</p><p>You can find the code for it over on my <a
href="http://github.com/rgeyer/RESTful-PHP-Resizer">GitHub</a>.</p><h2>Just how many images we talkin&#8217;?</h2><p>Another carefully guarded secret it seems, is the total number of images that Flickr is currently hosting.  I did a lot of searching and tried a few naughty tricks to see if I could get the API or website to tell me, but it was to no avail.</p><p>Some previous &#8220;official&#8221; numbers were as high as 6 <em>billion</em> images.  So for the purposes of my test I assumed that they had 10 <em>billion</em> images that they wanted to resize to this new 640px image size.</p><h2>CPU Cycles &#8211; Pick your poison</h2><p>I have to assume that Flickr has a pretty impressive infrastructure built out, and that they have a huge amount of processing power at their disposal.  Still, to accomplish something like this it&#8217;s unlikely that they&#8217;d reallocate existing resources.  The task is too monumental to just have a couple servers work at it.</p><p>I also have to assume that they&#8217;re carefully optimizing their servers so that they don&#8217;t have to build and maintain more than necessary.  So that begs the question, how do you get the processing horsepower necessary to convert all of these images?</p><p>Since I&#8217;ve recently been engrossed in creating and refining reusable <a
href="http://www.rightscale.com/library/">RightScale ServerTemplates<a
/> for our own servers in the </a><a
href="http://aws.amazon.com/">AWS cloud</a>, my thoughts for a solution instantly gravitated toward launching a bunch of servers in the cloud for this purpose then terminating them when the task was done.  What I didn&#8217;t know is if this made more sense than, say, buying a bunch of servers and configuring them to do the same task.</p><p>In order to do some tests, I created <a
href="">ServerTemplate</a> which can be launched on AWS using RightScale that will immediately be able to start resizing images posted to it using my aforementioned PHP resizer.</p><h1>The experiment</h1><p>What I learned in short was&#8230;  This is a <b><em>HUGE</em></b> undertaking!  I also found that while any approach would probably be cost prohibitive, performing this resizing task using on-demand servers in the cloud is still the cheapest route by far.</p><h2>Assumptions</h2><p>First, some of the assertions for this exercise.</p><ul><li>The server(s) performing the resize task will be of the <a
href="http://aws.amazon.com/ec2/instance-types/">m1.large</a> type from AWS</li><li>Flickr has 10 <em>billion</em> images to convert</li><li>Those images are (on average 12MP and about 4MB</li><li>The images are being resized so that the largest dimension is 640px</li></ul><p>You&#8217;ll also find that as I describe the results, and the costs they represent, I conveniently exclude data transfer from my numbers.  This is actually intentional.  My goal is to compare just CPU time.</p><p>Yes, bandwidth has a tangible cost when you use it in the cloud.  But the same is true for a bare metal server doing the same task, not to mention the networking hardware which must be acquired, configured, and maintained.  So for the purposes of this experiment, only the cost of CPU cycles is really being examined.</p><h2>Findings</h2><p>With my new m1.large instance launched in the AWS cloud, and exposing the resizer service, I did a few tests to get a feel for just how long it would take to do all of this resizing.  What I found out pretty quickly was that the actual task of resizing the image actually only took around 1 second, sometimes less!  It should come as no surprise that the real time consumer in the process was I/O bandwidth.</p><p>Over my home cable connection (measures at 3.5Mbps up and 11.83Mbps down), using Firefox to post and FireBug to measure, it took an average of 12 seconds to complete the process of posting the image and receiving the response.  If I removed the overhead of Firefox and simply used a bash script and cURL, that dropped considerably to 8 seconds.</p><p>In an effort to get a &#8220;best case scenario&#8221; measurement, I copied the file to be resized onto the AWS instance, and ran the same cURL command locally.  On what can be effectively called &#8220;infinite&#8221; bandwidth, the process of posting, resizing, and fetching the result took about 2 seconds.</p><h2>The tortoise and the hare</h2><p>One very tangible benefit to using the cloud for this purpose though is the time to market for such a huge task.  You can imagine that if Flickr did decide to go ahead with this, they wouldn&#8217;t really want to announce that they&#8217;ve started but that the process will take many months, or even years.  Assuming again that the per image resize time is 2 seconds, it would take one server just over 633 <strong>years</strong> to convert all of the images.  Something tells me that wouldn&#8217;t exactly go over well.</p><p>Say that they wanted to convert all of the images in one week, at 2 seconds per image for 10B images, it would require just over 33,000 servers to convert that many images in the cloud.  What&#8217;s more is that it would take effectively &#8220;no time&#8221; to deploy that many servers, use them for a week, then terminate them.  Try rolling out that many real, bare metal servers in that timeframe!</p><h2>What&#8217;s it gonna cost?</h2><p>You might look at those results and think that these times are fairly reasonable.  However, if you take these figures and start multiplying them by ludicrously large numbers (like 10 <em>billion</em> for example), those reasonable numbers start to look very unreasonable.</p><p>Using these results, and (as I stated before) only accounting for CPU time, it would cost approximately $1.9M for Flickr to convert all of their images in the cloud.  That is assuming that they&#8217;re connecting to the servers with effectively infinite bandwidth, ensuring that the upload and download transfer times for the image were less than 1 second (combined!).  Seems like a lot of money, but then it&#8217;s a lot of images!</p><p>Compare that though, to building out a farm of bare metal servers to do the same task.  We&#8217;ve already established that we&#8217;d need a little over 33,000 servers to be able to convert all of the images in a week.  If we just take the lowest configuration Dell rack mounted server, the <a
href="http://configure.us.dell.com/dellstore/config.aspx?c=us&#038;cs=555&#038;l=en&#038;oc=MLB1931&#038;s=biz">R-415</a> at a retail price of $4531, it would cost just over $149M, just for the hardware.  Worse still, the Dell doesn&#8217;t actually have as much processing horsepower as an AWS m1.large does, so you&#8217;d probably significantly effect the time per image.</p><h1>Conclusion</h1><p>At the end of the day, any approach for converting all of those images would be cost prohibitive, and I&#8217;m betting Flickr won&#8217;t be taking on this project.  Still, if I had to accomplish this task for real, I think I&#8217;ve demonstrated fairly convincingly that doing it in the cloud with on demand computing power is totally the way to go.</p><p>I&#8217;m not a mathematician or a statistician, and I did paint this topic with very broad strokes.  You can check my work with the simple <a
href="https://spreadsheets.google.com/ccc?key=0AroG_EaGJ08tdHM5Z0syaWJBbkZkWnFqN3c2bFZ6OUE&#038;hl=en">Google Spreadsheet</a> I created to track my results.  If this were an actual task, I&#8217;d be a bit more precise, but I wanted to show the differences between the approaches, without getting into too much minutia.</p><p>That said, discussion about factors I may have missed are welcome, I think you&#8217;ll find that the delta in price for just the CPU horsepower between the cloud and a bare metal solution more than absorb any real differences I may have excluded. <img
src='http://www.nslms.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=How%20to%20resize%20billions%20of%20images%20in%20the%20cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=How+to+resize+billions+of+images+in+the+cloud&amp;link=http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/&amp;notes=As%20I%20was%20clearing%20out%20my%20RSS%20reader%20a%20few%20days%20back%2C%20I%20stopped%20to%20read%20a%20post%20on%20the%20Flickr%20dev%20blog%20about%20the%20%22new%22%20640px%20image%20size.%20%20In%20the%20article%20they%20lament%20that%20they%20wished%20they%20had%20made%20%22Large%22%20copies%20of%20all%20uploaded%20images%20because%20it%20would%20make%20generating%20the%20new%20640px%20size%20easier.%0D%0A%0D%0AThis%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2010/11/01/how-to-resize-billions-of-images-in-the-cloud/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>RightScale crowd sources value-add content</title><link>http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/#comments</comments> <pubDate>Mon, 25 Oct 2010 22:26:06 +0000</pubDate> <dc:creator>RyanG</dc:creator> <category><![CDATA[Cloud computing]]></category> <category><![CDATA[cloud]]></category> <category><![CDATA[contest]]></category> <category><![CDATA[ipad]]></category> <category><![CDATA[linkedin]]></category> <category><![CDATA[RightScale]]></category> <category><![CDATA[servertemplate]]></category> <category><![CDATA[showdown]]></category> <guid
isPermaLink="false">http://www.nslms.com/?p=735</guid> <description><![CDATA[RightScale is definitely doing the whole &#8220;social media thing&#8221; right. They&#8217;re active on Twitter and Facebook. The CEO]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F10%2F25%2Frightscale-crowd-sources-value-add-content%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nslms.com%2F2010%2F10%2F25%2Frightscale-crowd-sources-value-add-content%2F&amp;source=rjgeyer&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br
/> </a></div><p>RightScale is definitely doing the whole &#8220;social media thing&#8221; right.  They&#8217;re active on <a
href="http://twitter.com/rightscale">Twitter</a> and <a
href="http://www.facebook.com/RightScale">Facebook</a>.  The CEO <a
href=http://blog.rightscale.com/">blogs</a>, they have a community <a
href="http://forums.rightscale.com/">forum</a> and the very nature of their product encourages users to interact and share with one another.  Clearly they&#8217;ve ticked all of the big social media checkboxes, but their latest announcement is sheer evil genius!<br
/> <span
id="more-735"></span></p><h2>How to motivate your users to add value</h2><p>RightScale is holding a <a
href="http://blog.rightscale.com/2010/10/07/rightscale-servertemplate-showdown/">contest</a> for the best Server Template submitted to the community.  They&#8217;ve also dangled the most trendy carrot available (a shiny new iPad) as the grand prize for winners in three categories.  This is social media 101.  Get the users involved, and motivate them to generate great content that drives interest and brings you even more users who will in turn create great content.  Plus, because it&#8217;s a contest it gives users more incentive to share their best work with the community, rather than just the left overs.</p><p>What&#8217;s really cool about this contest besides encouraging users to share their best work, is that it may also motivate them to really put the finishing touches on the templates and scripts which they may have already written.  In fact, that&#8217;s exactly the effect it had on me when I read about the contest.</p><h2>My ServerTemplate submissions</h2><p>When we first started using RightScale to build out an infrastructure for our SaaS application at work, there were a few things we needed.</p><p>First, our application was going to use LDAP for authentication.  We needed a decentralized database for our users since we plan to have many different applications and websites that a user can access with the same credentials.</p><p>We were also leveraging the paid RightScale ServerTemplates <a
href="http://www.rightscale.com/library/server_templates/Tomcat6-FrontEnd-v9/12326">Tomcat6 FrontEnd</a>, <a
href="http://www.rightscale.com/library/server_templates/Tomcat6-App-Server-v9/12324">Tomcat6 Application</a>, and <a
href="http://www.rightscale.com/library/server_templates/MySQL-5-1-EBS-v2/14192">MySQL 5.1</a> to build out our production deployment environment.  But we needed to be able to run all of these services on a single box for development, staging, and QA purposes.</p><h3>OpenLDAP ServerTemplate</h3><p>Thinking that an LDAP directory would be a pretty common requirement for infrastructure in the cloud I went searching the <a
href="http://www.rightscale.com/library/">RightScale Library</a> for a ServerTemplate I could use out of the box, or modify a bit for our purposes.  Instead I was a bit shocked to find that there wasn&#8217;t anything out there, which is why I built my <a
href="http://www.rightscale.com/library/server_templates/OpenLDAP-Directory-Server-v1-1/14476">OpenLDAP Directory ServerTemplate</a>.</p><p>This is a ServerTemplate that we&#8217;re currently using for our production environment to authenticate users, and it has some pretty cool features.  It allows you to easily setup a &#8220;Provider&#8221; and &#8220;Consumer&#8221; pair of servers, and allows you to easily promote the &#8220;Consumer&#8221; server in the case of a failure.  It also backs up the database daily to a file in an S3 storage bucket of your choice.</p><h3>Tomcat6 All-in-One ServerTemplate</h3><p>This <a
href="http://www.rightscale.com/library/server_templates/Tomcat6-Java-or-Grails-App-Fro/14552">ServerTemplate</a> is a utility template that comes in handy if, like us, you&#8217;re using the RightScript ServerTemplates mentioned earlier to host a Java application.  It combines all of the roles (Front End, Application Server, Database Server, and my own OpenLDAP server) into a single instance.</p><p>This allows you to setup parallel environments that are nearly identical to your production environment for the purposes of development, testing, or troubleshooting an issue in production.  We&#8217;re running one of these that our continuous integration deploys to nightly for demo and smoke testing purposes.</p><p>One of the coolest features of this template is the ability to fire up a utility server which will exactly mirror your production environment.  This is done by grabbing the latest EBS volume snapshots your production server is creating for backups, then using those snapshots to attach new EBS volumes to your utility server.  This effectively duplicates the production database, allowing you to work with it in isolation.  This is great for staging a significant upgrade which might effect the database schema, you can bring up a &#8220;throw away&#8221; server instance, test and troubleshoot your upgrade, allowing you complete confidence that your upgrade will go off without a hitch in production!</p><h3>One more for the road</h3><p>I do have one other ServerTemplate that I&#8217;m putting some finishing touches on.  It&#8217;s based on a collection of RightScripts and configuration stuff that I&#8217;ve compiled for our own development team server.  It provides services like git, svn, Teamcity, and artifactory.  I&#8217;m hoping to be able to submit it before the October 29th deadline.</p><p>So, for motivating me to step up my game and share my best work my thanks go to RightScale.  Ohh and, you&#8217;re welcome for the value add, I just hope it&#8217;s worthy of an iPad!</p><div
class="shr-bookmarks shr-bookmarks-center"><ul
class="socials"><li
class="shr-blogger"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=219&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a></li><li
class="shr-comfeed"> <a
href="http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a></li><li
class="shr-facebook"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a></li><li
class="shr-linkedin"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a></li><li
class="shr-mail"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale%20crowd%20sources%20value-add%20content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=201&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a></li><li
class="shr-posterous"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=210&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this to Posterous">Post this to Posterous</a></li><li
class="shr-twitter"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a></li><li
class="shr-digg"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a></li><li
class="shr-friendfeed"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=43&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on FriendFeed">Share this on FriendFeed</a></li><li
class="shr-googlereader"> <a
href="http://www.shareaholic.com/api/share/?title=RightScale+crowd+sources+value-add+content&amp;link=http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/&amp;notes=RightScale%20is%20definitely%20doing%20the%20whole%20%22social%20media%20thing%22%20right.%20%20They%27re%20active%20on%20Twitter%20and%20Facebook.%20%20The%20CEO%20&amp;short_link=&amp;shortener=google&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=207&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Add this to Google Reader">Add this to Google Reader</a></li></ul><div
style="clear: both;"></div><div
class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a
target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div
style="clear: both;"></div></div> ]]></content:encoded> <wfw:commentRss>http://www.nslms.com/2010/10/25/rightscale-crowd-sources-value-add-content/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
