<?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"
	>

<channel>
	<title>Edward M. Goldberg</title>
	<atom:link href="http://blog.edwardmgoldberg.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.edwardmgoldberg.com</link>
	<description>Cloud Computing - News and Ideas</description>
	<pubDate>Wed, 04 Nov 2009 03:21:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>How to Leverage Amazon AWS RDS today</title>
		<link>http://blog.edwardmgoldberg.com/?p=28</link>
		<comments>http://blog.edwardmgoldberg.com/?p=28#comments</comments>
		<pubDate>Tue, 03 Nov 2009 19:02:25 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[AWS]]></category>

		<category><![CDATA[DR]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[RDS]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=28</guid>
		<description><![CDATA[The "Big Table" was easy to "pu pu" and say "It does not fit the model".  RDS is the "real thing" a transactional Relational Database with all the bells and ...]]></description>
			<content:encoded><![CDATA[<p>Today, AWS Amazon RDS (Relational Database Servers in the AWS Cloud) are a new Beta and needs to be used as a &#8220;peek at that the future&#8221; for the IT staff and CTO.  Developers need to wrap their minds around Relational Database as a service.  The time has come for this to be a real SaaS.</p>
<p>The &#8220;Big Table&#8221; was easy to &#8220;pu pu&#8221; and say &#8220;It does not fit the model&#8221;.  RDS is the &#8220;real thing&#8221; a transactional Relational Database with all the bells and &#8230;</p>
<p>IMHO,  we need to start looking at this new model by placing non-mission critical Backup Systems for Fail Over in RDS.  The cost of transfers into RDS is very small.  The cost for running 1 hour a day is cents.  When you need to fail over,  you can launch a HUGE db server and get ton of performance to make up for the remote location if you are &#8220;outside&#8221; EC2.  If you are &#8220;inside&#8221; ec2 this is a no-brainier.</p>
<p>1) First Step,  Create an RDS server with RS use a small instance.<br />
2) Each day copy over the &#8220;backup&#8221; to a live RDS instance.<br />
3) Turn it off.  The RDS makes a Final-SNAP backup on Deletion (read Termination)</p>
<p>On Fail:</p>
<p>1)  Start the RDS on a large server as needed for production, from back SNAP.<br />
2)  You are up and running</p>
<p>COST:</p>
<p>Eleven (11) cents a day!!!!!  ( I assume you use a SMALL Right?)</p>
<p>Save:</p>
<p>You are up and working with a real MySQL 5.1 in under 15 min.  (Worst case) when your DB crumbles and dies one day.</p>
<p>Side effects:</p>
<p>Now you can use the RDS server each day to:</p>
<p>1) Test that your backups work,  NICE&#8230;.</p>
<p>2) Do a roll up of the &#8220;stats&#8221; that the DBA was telling you &#8220;takes the site down,  stop that!!&#8221; (just use the RDS off line, VERY NICE..)</p>
<p>3) Test out new database ideas at now risk to production.  Or two ideas at the same time,  I love that clone feature&#8230;<br />
4) The list of off line uses for the DB backup copy go on and on&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=28</wfw:commentRss>
		</item>
		<item>
		<title>AWS RDS Rocks!!!</title>
		<link>http://blog.edwardmgoldberg.com/?p=27</link>
		<comments>http://blog.edwardmgoldberg.com/?p=27#comments</comments>
		<pubDate>Sun, 01 Nov 2009 04:06:12 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[AWS]]></category>

		<category><![CDATA[DB]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[mysqldump]]></category>

		<category><![CDATA[RDS]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=27</guid>
		<description><![CDATA[This time AWS has does it right. The Relational Database Servers in AWS called "RDS" are the "Real Thing".]]></description>
			<content:encoded><![CDATA[<div class="content">
<p>This time AWS does it right.  The Relational Database Servers in AWS called &#8220;RDS&#8221; are the &#8220;Real Thing&#8221;.</p>
<p>I just transferred over my whole Drupal DB in a few moments to an RDS Instance.  It was very simple.</p>
<p>Let me show you the one-line command solution:</p>
<p>(Warning Linux command comes next!)</p>
<blockquote><p>$ mysqldump &#8211;add-drop-table &#8211;databases Comments EdwardMGoldberg NOC myCloudWatcher_drupal wikidb | mysql -h mycloudwatcher.xxx.us-east-1.rds.amazonaws.com -u TheCloudWatcher -pXxXxXxXxXx4</p></blockquote>
<p>(all password info is fake)</p>
<p>Let me break down this command into the parts:</p>
<p><strong>mysqldump:</strong></p>
<p>This is the LINUX command line database dump program. I just used the default connection (defined in my.cnf) and dumped a few tables I wanted. I added the drop table option so I can update as many times as I like.</p>
<p><strong>mysql -h  :</strong></p>
<p>This does the &#8220;remote&#8221; connection to the new RDS instance and most of the heavy lifting.</p>
<p>So with one line of shell script, I moved into the Cloud.</p>
<p>The RightScale Dashboard was used to set up my RDS instance. It made the whole process of configuration a point and click process.</p>
<p>Next step, look at the results and check out the tables:</p>
<p><a title="http://dev.mysql.com/downloads/gui-tools/5.0.html" href="http://dev.mysql.com/downloads/gui-tools/5.0.html">http://dev.mysql.com/downloads/gui-tools/5.0.html</a></p>
<p>Download these great GUI tools and connect to the Database from your Laptop. You do have to &#8220;allow&#8221; the IP address for you Laptop in the configuration.</p>
<p>It took me about one hour to get setup and transferred into the Cloud.  Not Bad.</p>
<p>What&#8217;s next? Get my monitor system to track the RDS and alert me when issues happen. I like collected for that task. so that will be my next step.</p>
<p>Take an hour and set up an RDS server for your database. It works great as a &#8220;Cold Backup Server&#8221;. You pay only a few cents for data storage on the &#8220;Cold RDS Server&#8221; stored as SNAP data. When you need to &#8220;Fail Over&#8221; in the Disaster Recovery (DR) mode just Launch the RDS from SNAP. In a very short amount of time you are back on line. To keep the DB up-to-date just launch it once a day for one hour and update the contents. Keep the &#8220;Delta&#8221; ready for the last few records you may need to add at Launch.</p>
<p>For DR and fail Over RDS ROCKS!!!!</p>
<p>It may be in Beta for now, but start learning how to use this service in the Cloud and never be caught without a Database Server again.</p>
<p>When the Beta ends you will be ready to use RDS full time for your next project.</p>
<p>If you are in the process of learning SQL, the RDS servers will provide you a real Database to do your homework with.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=27</wfw:commentRss>
		</item>
		<item>
		<title>New Relic &#038; RightScale - Ruby on Rails Life Cycle Tools</title>
		<link>http://blog.edwardmgoldberg.com/?p=25</link>
		<comments>http://blog.edwardmgoldberg.com/?p=25#comments</comments>
		<pubDate>Sun, 05 Apr 2009 08:23:16 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=25</guid>
		<description><![CDATA[Cloud Computing and Rails are a natural good fit.  With tools provided by New Relic integrated into the RightScale Deployment and Monitoring platform you have a Best Practice Monitoring system.
I Deploy and Watch servers all day as part of the http://myCloudWatcher.com service.  When I started to build the demo for this next RightScale Webinar I [...]]]></description>
			<content:encoded><![CDATA[<p>Cloud Computing and Rails are a natural good fit.  With tools provided by New Relic integrated into the RightScale Deployment and Monitoring platform you have a Best Practice Monitoring system.</p>
<p>I Deploy and Watch servers all day as part of the <a title="WaaS" href="http://myCloudWatcher.com" target="_blank">http://myCloudWatcher.com</a> service.  When I started to build the demo for this next RightScale Webinar I learned more about my application in the first few hours with the tools then I had ever seen before.</p>
<p>Please come join me at the Webinar and learn how you can instrument you next Deployment and provide top quality service with your next project.</p>
<p>The Webinar will be live:</p>
<p><a title="Register here." href="http://www.rightscale.com/lp/webinar/newrelic_april2009.php?ls=Webinar&amp;sd=Webinar_NewRelic_April2009&amp;campaign=70170000000KyXn&amp;campaign_status=Registered&amp;utm_campaign=Live%20Webinar%3A%20How%20to%20Deploy%20and%20Manage%20Rails%20Apps%20on%20the%20Cloud&amp;utm_content=edwardmgoldberg@hushmail.com&amp;utm_medium=Email&amp;utm_source=VerticalResponse&amp;utm_term=Click%20here%20to%20register" target="_blank">Register here</a></p>
<p><strong>What:</strong> Live Webinar &#8212; <a onclick="window.open('/hushmail/redirect.php','http_3a_2f_2fcts_2evresp_2ecom_2fc_2f_3fRightScaleInc_2e_2ff49d3e7b35_2f2827ec0741_2f50efb448bd_2fls_3dWebinar_26sd_3dWebinar_5fNewRelic_5fApril2009_26campaign_3d70170000000KyXn_26campaign_5fstatus_3dRegistered_26utm_5fcampaign_3dLive_2520Webinar_253A_2520How_2520to_2520Deploy_2520and_2520Manage_2520Rails_2520Apps_2520on_2520the_2520Cloud_26utm_5fcontent_3dedwardmgoldberg_40hushmail_2ecom_26utm_5fmedium_3dEmail_26utm_5fsource_3dVerticalResponse_26utm_5fterm_3dHow_2520to_2520Deploy_2520and_2520Manage_2520Rails_2520Apps_2520on_2520the_2520Cloud'+Math.floor(Math.random()*9.9) + Math.floor(Math.random()*9.9)+Math.floor(Math.random()*9.9)+Math.floor(Math.random()*9.9));return false;" href="https://mailserver5.hushmail.com/hushmail/showHelpFile.php?file=popupHyperlinkHelp.html&amp;PHPSESSID=DA129E98F1EA25A3435767586E61DDE8" target="_blank"><strong>How to Deploy and Manage Rails Apps on the Cloud</strong></a><br />
<strong>When:</strong> Thursday, April 9, 2009 at 11 am PT / 2 pm ET<br />
<strong>Who:</strong> RightScale &amp; Steve Hudson, Director at New Relic</p>
<p>Or you can watch the movie later on the RightScale WebSite:</p>
<p><a title="http://www.rightscale.com/news_events/webinars.php" href="http://www.rightscale.com/news_events/webinars.php" target="_blank">http://www.rightscale.com/news_events/webinars.php</a></p>
<p>The New Relic Tools Web Page:</p>
<p><a title="http://newrelic.com/index.html" href="http://newrelic.com/index.html" target="_blank">http://newrelic.com/index.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=25</wfw:commentRss>
		</item>
		<item>
		<title>Great new Tools like CloudBerry from CloudBerrylab.com</title>
		<link>http://blog.edwardmgoldberg.com/?p=24</link>
		<comments>http://blog.edwardmgoldberg.com/?p=24#comments</comments>
		<pubDate>Mon, 02 Mar 2009 15:49:56 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=24</guid>
		<description><![CDATA[To make files work properly with CloudFront you need to set the Meta-Data and permissions on each file in the source  bucket with great care.  I use CloudBerry to upload and check all of the files in my Buckets on S3.
This new tool makes keeping your files correct with just a few clicks of the [...]]]></description>
			<content:encoded><![CDATA[<p>To make files work properly with CloudFront you need to set the Meta-Data and permissions on each file in the source  bucket with great care.  I use CloudBerry to upload and check all of the files in my Buckets on S3.</p>
<p>This new tool makes keeping your files correct with just a few clicks of the mouse.</p>
<p>Take a peek at:</p>
<p>http://cloudberrylab.com/</p>
<p>And read the background information on the BLOG:</p>
<p><a href="http://blog.cloudberrylab.com/" target="_blank">http://blog.cloudberrylab.com/</a></p>
<p>Good work guys at Cloud Berry Labs!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=24</wfw:commentRss>
		</item>
		<item>
		<title>WaaS  - myCloudWatcher.com  Comes to life!</title>
		<link>http://blog.edwardmgoldberg.com/?p=23</link>
		<comments>http://blog.edwardmgoldberg.com/?p=23#comments</comments>
		<pubDate>Sun, 01 Mar 2009 22:42:20 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[Cloud Watcher]]></category>

		<category><![CDATA[myCloudWatcher.com]]></category>

		<category><![CDATA[Waas]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=23</guid>
		<description><![CDATA[myCloudWatcher Watching servers as a service - WaaS]]></description>
			<content:encoded><![CDATA[<p>After many years of working on Cloud Computing Projects. I have finally started my own project. The Cloud Watcher project provides Managed Hosting for Cloud Deployment Projects.</p>
<p>So many of my clients have asked me to stick around and watch the servers for them after I finished the New Deployment Process. I enjoy training and Launching new projects. But I find it hard to just walk away and not take care on them after the first &#8220;Production Launch&#8221; is over.</p>
<p>So myCloudWatcher.com was born. Now I Watch many servers in many Clouds.  I get alerts and take some actions for the deployments.</p>
<p>The most important feature is that I watch out for new features and trends that could impact your project.  You get a team of people that look out for the servers and keep them well utilized and working well.</p>
<p>Process and work flow are very important to me. I feel that SVN Source Control and the Trac Ticketing program are important parts of the life cycle of a Project.</p>
<p>Please come talk to me about your Project needs.  I would enjoy watching your servers for you.</p>
<p>Did I just invent WaaS ?  Watching as a Service?</p>
<p><a title="http://www.myCloudWatcher.com" href="http://www.myCloudWatcher.com" target="_blank">http://www.myCloudWatcher.com/</a></p>
<p>Edward M. Goldberg</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=23</wfw:commentRss>
		</item>
		<item>
		<title>RightScale and SPLUNK a great team to have on your side.</title>
		<link>http://blog.edwardmgoldberg.com/?p=22</link>
		<comments>http://blog.edwardmgoldberg.com/?p=22#comments</comments>
		<pubDate>Sat, 07 Feb 2009 07:39:51 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[SPLUNK]]></category>

		<category><![CDATA[Webinar]]></category>

		<category><![CDATA[Monitor]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=22</guid>
		<description><![CDATA[RightScale and SPLUNK a great team to have on your side.]]></description>
			<content:encoded><![CDATA[<p>SPLUNK&gt; just added Partner templates and Scripts (RightScrips) to the <a title="RightScale.com" href="http://RightScale.com/" target="_blank">http://RightScale.com</a> service.</p>
<p>This is a great pair to have on your team.  These two players add depth of monitoring to your Deployments.  RightScale takes the low level server metrics very nicely and SPLUNK&gt; watches all of the application logs for you.</p>
<p>Now with this pair set up on every server in every Cloud Deployment.  You have one place to search the indexed logs for all of your servers and control all of the Deployments in any location from one place.</p>
<p>I will be doing a Webinar talking with Michael Wilde of SPLUNK&gt; for one hour.  We will explain all about these products and show you live how to set up a set of servers with RightScale + SPLUNK&gt; .</p>
<p>This event is by invitation only so use this link to get a &#8220;seat&#8221;:</p>
<p><a title="https://www2.gotomeeting.com/register/280094898" href="https://www2.gotomeeting.com/register/280094898" target="_blank"> https://www2.gotomeeting.com/register/280094898</a></p>
<p>If you missed the last few Webinar and waant to get ready for this one,  watch these first;</p>
<p><a title="http://www.rightscale.com/news_events/webinars.php" href="http://www.rightscale.com/news_events/webinars.php" target="_blank">http://www.rightscale.com/news_events/webinars.php</a></p>
<p>The basic idea is servers watching servers.  With SPLUNK and RightScale watching your servers for you and collecting information you will know exactly what your servers are doing at all times.  This is a great way to prove your SLA was meet.  When you need to know what the performance of the Deployment Solution you created provided you need tools like these.</p>
<p>I think that it is important dispel the idea that Cloud Servers are &#8220;out of reach&#8221; and hard to examine.  In my work tools like these provide the real in depth information in real time.  Just looking at a server in a server room has little value for me.  I look at server photos in catalogs.  I watch servers perform with good tools like SPLUNK&gt; and the RightScale Dashboard.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=22</wfw:commentRss>
		</item>
		<item>
		<title>How to you prove you met the performance SLA?</title>
		<link>http://blog.edwardmgoldberg.com/?p=21</link>
		<comments>http://blog.edwardmgoldberg.com/?p=21#comments</comments>
		<pubDate>Tue, 27 Jan 2009 02:48:25 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[CRONTAB]]></category>

		<category><![CDATA[France]]></category>

		<category><![CDATA[KEYNOTE]]></category>

		<category><![CDATA[Montor]]></category>

		<category><![CDATA[Web Service]]></category>

		<category><![CDATA[WebCron]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=21</guid>
		<description><![CDATA[How to you prove you met the performance SLA? WebCron.org]]></description>
			<content:encoded><![CDATA[<p>The way to prove that you meet the SLA requirements is:</p>
<blockquote><p><strong>By setting up several external servers that watch your servers.</strong></p></blockquote>
<p>When I set up a deployment in the Cloud I also set up several ways to check and see if the service works well.  The more ways I can find to check and check the servers that check (and test them if I get a chance) the better feeling I get the next time I am asked:</p>
<blockquote><p><strong>How well are you doing,  does the service meet the SLA?</strong></p></blockquote>
<p><strong>So What services are around?</strong></p>
<p>I just found a new service called:   <a title="External Crontab Service" href="http://WebCron.Org" target="_blank">http://WebCron.Org</a></p>
<p>They are in France.  This is great.  One more opinion from a server on the other side of the pond from AWS to check each 5 min. and see if my servers providing the service are &#8220;200&#8243; over the internet.  This is a good example of a web service to outsource a task.</p>
<p>When you set up with a little magic from Google E-Mail filters.  I get an E-Mail and a phone alert each time the reply from the site is != 200.  Simple to set up and cheap.</p>
<p>This is not to say that this is a 100% one stop shopping solution for site up time checks.  This is just one more tool to use and get one more opinion from France.</p>
<p>I keep looking for ways to get &#8220;The warm fuzzy feeling&#8221; that all is well.  This just takes me closer to that state.</p>
<p>Good work <a href="http://WebCron.Org">http://WebCron.Org/</a> you have a nice product.  Any more new stuff on the way?  Keep me posted.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=21</wfw:commentRss>
		</item>
		<item>
		<title>Best Practices in the Cloud Series: Deploying a Major System Upgrade</title>
		<link>http://blog.edwardmgoldberg.com/?p=20</link>
		<comments>http://blog.edwardmgoldberg.com/?p=20#comments</comments>
		<pubDate>Wed, 21 Jan 2009 17:32:48 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[Deploy]]></category>

		<category><![CDATA[RightScale]]></category>

		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=20</guid>
		<description><![CDATA[Best Practices in the Cloud Series: Deploying a Major System Upgrade.]]></description>
			<content:encoded><![CDATA[<p>I will demonstrate how much more efficient and easier it is to perform maintenance tasks in the cloud. And prove that you stay in control through the entire process.</p>
<p>You will see live demonstrations of two use cases: How to respond to a server failure and how to deploy a major system update in the cloud.</p>
<p>You&#8217;ll see that much of what you have to do manually in the data center is automated on the cloud. You can operate at a much higher level and accomplish the same tasks with less time and frustration.</p>
<ul>
<li><strong>What: Live <span class="nfakPe">Webinar</span> - </strong>&#8220;<a href="http://cts.vresp.com/c/?RightScaleInc./07a331e6fb/f94d252dce/1fce07f53e" target="_blank"><strong>Deploying a Major System Upgrade</strong></a>&#8220;</li>
<li><strong>When:</strong> Thursday, January 22nd, 2009 at 11:00 am PST, 2:00 pm EST, 20:00 CET</li>
<li><strong>Who:</strong> RightScale Core Development Team</li>
</ul>
<p align="center"><a href="http://cts.vresp.com/c/?RightScaleInc./07a331e6fb/f94d252dce/093e7a5807" target="_blank"><img src="http://proxy.pcdn.vresp.com/967da3617/assets.rightscale.com/images/register_today.gif" border="0" alt="Register Today" width="249" height="33" /></a></p>
<p>Our <span class="nfakPe">Webinar</span> Series, Best Practices in the Cloud, is designed to provide you with the tools and training to make your cloud deployment a success.</p>
<p>We hope you take advantage of this opportunity to talk directly with the RightScale Development and Engineering teams. <a href="http://cts.vresp.com/c/?RightScaleInc./07a331e6fb/f94d252dce/495ec995df" target="_blank"><strong>Click here to register</strong></a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=20</wfw:commentRss>
		</item>
		<item>
		<title>Powered By Cloud 2-3 Feb. In London England</title>
		<link>http://blog.edwardmgoldberg.com/?p=19</link>
		<comments>http://blog.edwardmgoldberg.com/?p=19#comments</comments>
		<pubDate>Tue, 20 Jan 2009 19:31:20 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[Crandell]]></category>

		<category><![CDATA[Endland]]></category>

		<category><![CDATA[London]]></category>

		<category><![CDATA[Powered By Cloud]]></category>

		<category><![CDATA[RightScale]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=19</guid>
		<description><![CDATA[Powered by Cloud,  London England,  Crandell talking.]]></description>
			<content:encoded><![CDATA[<p>Breaking News,</p>
<p>RightScale&#8217;s very own <strong>MICHAEL CRANDELL, CEO </strong></p>
<p>Will be at:<br />
<strong>The rise and meaning of Cloud Computing</strong></p>
<p>Talking about:</p>
<p><strong>Technologies &amp; Cloud Computing</strong></p>
<p>Obstacles to roll-out and the innovations that will overcome                        them</p>
<p>Despite all the promises that Cloud computing can bring,                        some IT departments are hesitant to move across the rubicon.                        Concerns over security, control, management and integration                        stand in the way of cloud computing in the enterprise. Cloud                        computing represents a key shift in how the application                        stack and platform is built. How will Cloud overcome and                        integrate traditional enterprise IT silos of database, applications,                        networking and storage?</p>
<p><a title="RightScale in London" href="http://www.poweredbycloud.com/speakers/mcrandell.aspx" target="_blank">http://www.poweredbycloud.com/speakers/mcrandell.aspx</a></p>
<p><span style="font-size: 10pt;">Researchers &amp; Producers of Powered By Cloud  - 2-3 February 2009, Lewis Media Centre, Millbank, Westminster, London UK</span></p>
<p>Here is a link to sign up for the show:</p>
<p><a title="Powered By Cloud" href="http://www.poweredbycloud.com/register/registernow.aspx" target="_blank">http://www.poweredbycloud.com/register/registernow.aspx</a></p>
<p>So many great events this yes for Cloud Computing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=19</wfw:commentRss>
		</item>
		<item>
		<title>The AWS EC2 Instance Missing Users Guide</title>
		<link>http://blog.edwardmgoldberg.com/?p=18</link>
		<comments>http://blog.edwardmgoldberg.com/?p=18#comments</comments>
		<pubDate>Fri, 09 Jan 2009 12:35:11 +0000</pubDate>
		<dc:creator>Edward M. Goldberg</dc:creator>
		
		<category><![CDATA[Cloud Computing]]></category>

		<category><![CDATA[AWS]]></category>

		<category><![CDATA[cvs]]></category>

		<category><![CDATA[Database]]></category>

		<category><![CDATA[EBS]]></category>

		<category><![CDATA[EC2]]></category>

		<category><![CDATA[git]]></category>

		<category><![CDATA[Launch]]></category>

		<category><![CDATA[MySQL]]></category>

		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://blog.edwardmgoldberg.com/?p=18</guid>
		<description><![CDATA[The AWS EC2 Instance Missing Users Guide]]></description>
			<content:encoded><![CDATA[<p>When you get a new car you look into the glove box and find a small book that explains the day to day operation of the car.  The same is true for your laptop.</p>
<p>What happened to the users guide for the AWS EC2 Servers?</p>
<p>First of all AWS calls them instances and gives them strange names like i-12345678 that are not very easy to remember.  So to start off most users are lost just finding the server they just Launched (like a boat?).</p>
<p>This document covers the basics.  How to use a new server (read instance) you booted up (Launched) in AWS EC2.</p>
<p>After you read this document you will know the &#8220;Lay of the land&#8221; and will have a good idea of how to drive this car off the lot and change the oil.</p>
<h2>Preparation for Deployment</h2>
<p>Get all of the parts of the server in place first.  A good list would look like:</p>
<ul>
<li>Decide what OS to use,  I use CENTOS.</li>
<li>Pick the AMI to launch from,  I like the RightScale templates.</li>
<li>Collect all of the code and content an svn that you can use to load the server at boot.</li>
<li>Select the E-Mail address that will get all of the Alerts.</li>
<li>Select the size and number of servers you want to start with,  you can change your mind later.</li>
<li>Select a Dashboard to use for the Launch,  I use RightScale for most project.</li>
<li>Get a pot of tea and start to work&#8230;</li>
</ul>
<h2>Networking</h2>
<p>Each server in EC2 has two Network Interface Ports.  But wait if you type &#8220;ifconfig&#8221; you only see one?</p>
<p>One is used for the EBS Volume Interface and the one you see is used for TCP, UDP and ICMP connections.</p>
<p>The only one you can control is the one shown in the OS Networking command.  This interface &#8220;eth0&#8243; has two uses:</p>
<ol>
<li> Internal Network Connections from one server to the next in your farm</li>
<li> WAN Connections from the WWW to your servers.</li>
</ol>
<h4 style="font-family: Verdana;">Internal IP Address</h4>
<p><br style="font-family: Verdana;" /><span style="font-family: Verdana;">FREE Bandwidth,  let me repeat, FREE Bandwidth.  All transfers from an Internal IP to and Internal IP in the same Zone are FREE.</span></p>
<p>The Internal Network address starts with &#8220;10.&#8221;  as seen above &#8220;10.248.107.68&#8243; and is used for:</p>
<ul style="font-family: Verdana;">
<li> Communication to the master Data Base.</li>
<li> rsync from one server to the next in the farm.</li>
<li> ssh and scp commands inside the farm.</li>
</ul>
<p><span style="font-family: Verdana;"><br />
</span></p>
<h4 style="font-family: Verdana;">External NAT</h4>
<p>WARNING<span style="font-family: Verdana;">: $$$$$ you pay for these bytes.  Watch out,  any transfers that use this address cost you $$$$.  If you use External IP addresses for both ends you pay 2x!!!!!</span></p>
<p>The other use of the eth0 interface is from the &#8220;NAT&#8221; that connects this server to the WAN or WWW. Each server when Launched (booted) is added to the list of servers the Firewall provides an external address for access from the WAN.</p>
<p>You can get an external IP address in two ways:</p>
<ol style="font-family: Verdana;">
<li> Random EC2 IP address: 75.102.166.16 (ec2-75-102-166-16.compute-1.amazonaws.com)</li>
<li> EIP</li>
</ol>
<p><br style="font-family: Verdana;" /></p>
<h4 style="font-family: Verdana;">Default IP Address</h4>
<p><br style="font-family: Verdana;" /><span style="font-family: Verdana;">The luck of the draw gets each server a &#8220;re-used&#8221; IP address picked at random from well used addresses in the AWS pool.  Watch out you are </span><strong style="font-family: Verdana;">not </strong><span style="font-family: Verdana;">the first user and the last user may have had a &#8220;Black Hat&#8221;.  These addresses are fine for development and random uses but fall short in many ways for real use of the server on the WAN.  Each IP address comes with a Sub Domain Name string that can be used to access this address.  The IP address is &#8220;hidden&#8221; in the string.  Just extract the numbers to get a &#8220;raw&#8221; IP address for your general use.</span><br style="font-family: Verdana;" /></p>
<h4>EIP</h4>
<p>An Elastic IP (EIP) is an address you &#8220;own&#8221; from the AWS pool.  You get to keep these addresses for as long as you want to pay for them.  If you &#8220;age&#8221; these addresses for a while the &#8220;old taint&#8221; does drop off after a few days and the address can be used for WAN uses.  I would never use any of the AWS IP Address Pool for sending E-Mail.  Use a E-Mail Forward service to keep the IP address taint issue from stopping your E-Mail in it&#8217;s tracks.  You can rent these EIP values for $00.00 and hour if they are &#8220;in use&#8221; or $00.01 an hour if left idle.  So keep them &#8220;assigned&#8221; to some server to avoid the cost of the idle IP address.</p>
<p><span style="font-family: Courier New;"><span style="font-family: Verdana;">So now you have the basic facts.  Start all of the public addressed server with a &#8220;Well Aged EIP&#8221; and use the &#8220;10.&#8221; internal address for all server to server networking.  Now you know.</span><br />
</span></p>
<h2>Every Day Tasks</h2>
<p>Time to talk about how to full the gas and check the oil.  This section talks about the day to day uses of the servers (Instances) and general information you better know if you are going to use the server and not get stuck with a big bill or a stranded instance.</p>
<p>Most of this is covered in the AWS Documents is 500 or so pages.  The is a short &#8220;crib&#8221; sheet of the most important topics.</p>
<h3>ssh</h3>
<p>Each server is started from an AMI or Image of a Server in S3.  As part of the process of Launch the server is given a KEY to provide access to the server.  I will only address LINUX servers for now.<br />
To access a server you must have the ssh key that it wast started with.  No other access exists to a well designed AMI based server.  Feel free to break this rule,  but at your own risk.  The WWW is a very harsh place.  If your Network Access is attacked not only is your server at risk but any information that could allow the &#8220;bad guy&#8221; to see other data you have left passwords or keys to access from this server!!!</p>
<p>So for now I will assume you have used &#8220;Best Practice&#8221; and the only way to access the server is the KEY you provided when you launched this server.  So to log into the server you need a few things:</p>
<ul>
<li>The ssh client</li>
<li>The KEY used to Launch this server</li>
<li>A few hints.</li>
</ul>
<p>The hints are as follows.  The only account on all of the servers is &#8220;root&#8221;.  The root account does not have a password!</p>
<p>The command: (Where Demo.pem is the public key)</p>
<p>$ ssh -i Demo.pem root@ec2-67-202-48-82.compute-1.amazonaws.com</p>
<p>Is the only way to address the server from &#8220;outside&#8221;.  From &#8220;inside&#8221; use ssh root@<span style="font-family: Verdana;">10.248.107.68 and get free network bytes and a faster connection server to server inside your deployment.  This assumes that you have allowed access from server to server in the zone.</span></p>
<h3>sftp and scp</h3>
<p>The same rule hold for sftp and scp.  Use the KEY file and login as root with the password empty.  I use the FireFox sftp plug in all of the time.  Simple to use and set up.</p>
<p>Extra note for putty users.  The putty program needs to have the key reformatted.  It comes with the tool to convert the key from standard form to putty form.  Just us the conversion menu in the tool.</p>
<h3>Web Content</h3>
<p>The Web Server on you server may have a different places for the code and content but these idea are the same for all servers.</p>
<p>The best way to install the code on a server is from a svn repository.  You have one right?  All of the code on the server is in a nice safe place ready to load up on request,  right?</p>
<p>If you use scripts this is the command: (replace the xxxx with your username and password)</p>
<p>$ cd /var/www     # This is my DocRoot,  you need to adjust this as needed.<br />
$ svn &#8211;username xxxxx  &#8211;password xxxxxx &#8211;no-auth-cache  &#8211;force &#8211;quiet export &#8220;https://angel1.projectlocker.com/EdwardMGoldberg/Demo/svn/www/htdoc/&#8221;</p>
<p>Let me break down this command for you:</p>
<p>svn</p>
<p>The tool to provide the code tree</p>
<p>&#8211;no-auth-cache</p>
<p>Keeps the tools from remembering the password for later uses.</p>
<p>&#8211;force</p>
<p>Overwrite the content of the local files as needed.</p>
<p>&#8211;quiet</p>
<p>Keep the output down for better speed.  Leave off to see the processing<br />
export</p>
<p>Get one static copy,  no file are written for later updates or check-ins,  just the data please.</p>
<p>&#8220;xxxxx&#8221;</p>
<p>This string is provided by the svn source repository.  You need to know where this to get the correct file.<br />
In this case the results go into:   /var/www/htdoc/&#8230;  that last directory name is the new sub directory.</p>
<p>With no second &#8220;location&#8221; string in the command the files are placed in the current working directory.  Now the job is 1/2 done.  You have all of the files local to the server.  Next we need to allow for apache to read them.</p>
<p>$ chown -R apache:apache htdoc</p>
<p>If you forget this step you may see errors for files that can not be read by apache.  BTW, if apache is not the owner of the server,  replace apache with your server user name as needed.</p>
<p>Done,  now we have a new copy of the code on the server from SVN.  We could get fancy the save the old code or delete the oldest copy&#8230;</p>
<p>The important part is that this script that the new code is installed from svn with no user prompts.  Add this to the boot code for the server and each time you boot the code gets installed.</p>
<p>On RightScale servers this script is provided as an Operational Script.  Just click on the button in the dashboard and it performs these actions for you over ssh.  Nice feature&#8230;</p>
<p>Now the whole script in one place:</p>
<hr />
<pre>#!/bin/bash -e
#
# Upload the code to the server.
#
cd /var/www
svn --username xxxxx  --password xxxxxx --no-auth-cache  --force --quiet export "https://angel1.projectlocker.com/EdwardMGoldberg/Demo/svn/www/htdoc/"
chown -R apache:apache htdoc
logger -t Upload "Code uploaded to the server from SVN"
</pre>
<hr />
<h3>General Content</h3>
<p>You can use the same SVN code for any general content files.  The S3 access also works well for restoring files from the backups.  S3 take more tools and keys.</p>
<p>Take care here,  leaving the keys on the server grants access to many other services.</p>
<p>I also use the wget command many times to fetch files from other web servers that distribute files.</p>
<h3>Database</h3>
<p>The database should be configured with the my.cnf file to use the /mnt/mysql directory or a mounted EBS Volume.  The default is for the MySQL database to be at the  /var/mysql location this is very bad for many reasons.</p>
<p>This makes very poor use the disks on the server.  The disk mounted on the /mnt mount point is the fast disk on these servers.  Use it for large read-write file systems like MySQL.  If you leave the MySQL on the / tree it will fill up the /tmp area and other important file space.  The /mnt disk is empty at the launch of the server.</p>
<p>If you use EBS for your database server you need to mount the EBS Volume for the MySQL server to use.  This works very well.</p>
<p>Remember to never use the / file system for your Database.</p>
<h3>Reboot</h3>
<p>The servers can be rebooted.  The AWS command to reboot them exist is every Dashboard I have seen.  Just take care,  the server may not reboot clean.  If you want to be 100% sure that you keep your service up to the users, launch a new fresh server.  Later you can terminate the old server.  The overlap will allow you to change your mind and go back to the first server.  I never reboot servers anymore.</p>
<h3>Launch</h3>
<p>This is like going to Fry&#8217;s Electronics and getting a new server.  The nice part is that the return lines are zero in length!</p>
<p>I use the RightScale Dashboard to launch servers.  Once defined the server costs Zero $ when not running.</p>
<p>When you start (read Launch) one of these defined servers the $$$ start to spend.  This ends when the server is terminated (rounded up to the next whole hour,  thank you).</p>
<p>The server boots from a &#8220;CD-ROM&#8221; like image called an AMI.  This is not unlike a Live CD is some ways.  You request that a server be a running copy of the AMI on the selected hardware.  AWS picks a server (read instance) for you and loads up that first 10G hard drive with your AMI.  Once all of the code in in place the server boots.</p>
<p>Part of the boot process is the reading of the KEY from the AWS storage.  This is placed into the /root/.ssh files so you can log into the server later.  If you have not selected a KEY and have a copy of the public key for your use the server will run just fine and you will have no access to it all.</p>
<p>So the first step is to check that you have a KEY that matches the KEY name Amazon has so the new server will allow you to access it after launch.  Don&#8217;t worry is you have no servers running and you have lost the key.  It is easy to create new keys before the next launch.    If you have lost the key to a running server,  you are out of luck.  Just terminate it and start a new server with a new key pair.</p>
<p>You may read lots of information about the creation of this AMI thing.  For now just use well designed and trusted ones from RightScale.  One day you may need to get fancy and make your own.  But not at the start.</p>
<p>I have never made an AMI and do not plan to make my own at all.  Several web based services now make AMI on request.  Just use one of the services.  You have little to gain rolling your own for now.</p>
<h3>Updates</h3>
<p>I never update servers.  I just start new ones and terminate the old ones.  I have been known to debug a server for a while till I get all of the scripts working well.  But in the end I Launch a clean one and watch it hum.</p>
<p>It is important to get in the habit of working with Clean New Servers and not hacking old ones.  If you keep hacking old servers to fix issues one day you may need to Launch and the server will fail to work at the nasty moment.  Launch new servers and then terminate the old when you have happy with the clean new Launch.  Terminate servers that have been used up, or hacked by hand ASAP.  The cost of the &#8220;overlap&#8221; then two servers are runs is very small.</p>
<p>For Development it is a very different story.  Use the ssh login and hack the server all you want.  Just remember in the end the goal is a clean &#8220;One Click Launch&#8221;.  I use servers as tools all of the time.  Start one when you need a tools and turn it off then you are done with the tool.  If you need a place to save files use EBS for storage and mount it on the servers when you need access to the files.  I keep a Snap-Shot of my favorite tools ready to attach to any server I need to debug.  Just like a USB Dongle or rescue CD-ROM.</p>
<h3>SVN</h3>
<p>Source Code Control is very important is the Cloud Environment.  It is the place to keep any files where the date and time of each update needs to be remembered.  Later when the server gets sick you can look and the dates and times of updates and find clues as to what made the server sick.</p>
<p>Some people like git or CVS.  Go right ahead and use the program you like.  I use svn and have had great luck with ProjectLocker for my deployments.  You mileage may vary.</p>
<h2>Summary</h2>
<p>Keep all of your servers happy and follow the simple ideas outlined here and you will have good control over your servers and your intellectual property (code and content).</p>
<p>Good rules to follow are:</p>
<ul>
<li>Keep your code and data separate from uploaded and generated stuff.</li>
<li>Backup any files that you care about.  Keep the backups off the server.</li>
<li>Assume that the server can stop existing at any moment and all of the files go away with it.</li>
<li>Use each disk, / and /mnt for it&#8217;s special uses.  Never fill up the root file system, you will be sorry.</li>
<li>Keep all of the files that are loaded on the server in SVN or your pick of Source Code Control.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.edwardmgoldberg.com/?feed=rss2&amp;p=18</wfw:commentRss>
		</item>
	</channel>
</rss>
