<?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>Alexey Bokov's weblog &#187; ec2</title>
	<atom:link href="http://bokov.net/weblog/category/ec2/feed/" rel="self" type="application/rss+xml" />
	<link>http://bokov.net/weblog</link>
	<description>Anything that interests me</description>
	<lastBuildDate>Fri, 11 Nov 2011 12:32:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Amazon EC2 announced  micro instances &#8211; 2 cents/hour</title>
		<link>http://bokov.net/weblog/ec2/amazon-ec2-announced-micro-instances-2-centshour/</link>
		<comments>http://bokov.net/weblog/ec2/amazon-ec2-announced-micro-instances-2-centshour/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 11:41:59 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[compute grid]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[EBS]]></category>
		<category><![CDATA[microinstances]]></category>
		<category><![CDATA[Simple Storage Service]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=552</guid>
		<description><![CDATA[Guys from EC2 announced micro instances &#8211; it costs 2 (two) cents per hour for linux and now it&#8217;s will costs less than traditional dedicated hosting with root access &#8211; monthly payment for EC2 micro instance will be about 15 USD, and price for root/linux on dedicated hosting will be about 30 USD/month. It&#8217;s really [...]]]></description>
			<content:encoded><![CDATA[<p>Guys from EC2 <a href="http://aws.amazon.com/about-aws/whats-new/2010/09/09/announcing-micro-instances-for-amazon-ec2/">announced micro instances</a> &#8211; it costs 2 (two) cents per hour for linux and now it&#8217;s will costs less than traditional dedicated hosting with root access &#8211; monthly payment for EC2 micro instance will be about <strong>15 USD</strong>, and price for root/linux on dedicated hosting will be about 30 USD/month. It&#8217;s really good news &#8211; you can have 100 boxes cluster  just for two usd per hour! Bad thing is that micro instances don&#8217;t have their own disk space &#8211; EBS only, looks like this best ever use case for this type of instances will be highly-distributed computational grid with all data stored in RAM. And don&#8217;t forget that EBS will costs you some money &#8211; <a href="http://aws.amazon.com/ebs/">$0.10 per allocated GB per month Amazon EBS also charges $0.10 per 1 million I/O requests you make to your volume </a>. Fredrick Poller&#8217;s already check out micro instances performance by sysbench : <a href="http://poller.se/2010/09/amazon-ec2-micro-instance-how-fast-is-it/">Amazon EC2 Micro instance, how fast is it?</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/amazon-ec2-announced-micro-instances-2-centshour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting links ( June/July 2010 )</title>
		<link>http://bokov.net/weblog/ec2/interesting-links-june-2010/</link>
		<comments>http://bokov.net/weblog/ec2/interesting-links-june-2010/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 09:09:27 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[compute grid]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[project managment]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[interesting]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=502</guid>
		<description><![CDATA[Ten Tips for a (Slightly) Less Awful Resume How To Sell Agile To Fixed Bid Contract Clients AWS Launches Cluster Compute EC2 Instances For High Performance Applications and AWS &#8211; High Performance Computing (HPC)]]></description>
			<content:encoded><![CDATA[<ul>
<li><a href="http://steve-yegge.blogspot.com/2007/09/ten-tips-for-slightly-less-awful-resume.html">Ten Tips for a (Slightly) Less Awful Resume</a></li>
<li><a href="http://www.codesqueeze.com/how-to-sell-agile-to-fixed-bid-contract-clients/">How To Sell Agile To Fixed Bid Contract Clients</a></li>
<li> <a href="http://www.techcrunchit.com/2010/07/12/aws-launches-cluster-compute-ec2-instances-for-high-performance-applications/">AWS Launches Cluster Compute EC2 Instances For High Performance Applications</a> and <a href="http://aws.amazon.com/ec2/hpc-applications/">AWS &#8211; High Performance Computing (HPC) </a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/interesting-links-june-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Ubuntu ( 9.10 ) to work with Amazon EC2</title>
		<link>http://bokov.net/weblog/ec2/configuring-ubuntu-9-10-to-work-with-amazon-ec2/</link>
		<comments>http://bokov.net/weblog/ec2/configuring-ubuntu-9-10-to-work-with-amazon-ec2/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 09:45:56 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=318</guid>
		<description><![CDATA[Short how-to about configuring Ubuntu to work with EC2 API ( for Ubuntu 10.04 users &#8211; Sun JDK was moved to partner repository so please check out Where’s sun JDK on Ubuntu 10.04 ? before follow described steps ). 1) Remove openjdk, gij sudo apt-get remove openjdk-*; sudo apt-get remove gij-*; 2) Install good one [...]]]></description>
			<content:encoded><![CDATA[<p>Short how-to about configuring Ubuntu to work with EC2 API ( <strong><em>for Ubuntu 10.04 users</em></strong> &#8211; Sun JDK was moved to partner repository so please check out <a href="http://bokov.net/weblog/linux/wheres-sun-jdk-on-ubuntu-10-04/">Where’s sun JDK on Ubuntu 10.04 ?</a> before follow described steps ).</p>
<p><span id="more-318"></span>1) Remove openjdk, gij<br />
<em>sudo apt-get remove openjdk-*;<br />
sudo apt-get remove gij-*;</em></p>
<p><em> </em>2) Install good one java powered by Sun<em><br />
sudo apt-get install sun-java6-jdk</em></p>
<p>3) Install <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&amp;categoryID=88">EC2 API</a><br />
<em>cd /home/abokov/</p>
<p>http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip</p>
<p>unzip ec2-api-tools.zip</em></p>
<p>4) Configure environment : add this lines onto the end of  ~/.bashrc<br />
<em>#ec2 deal with stuff<br />
export JAVA_HOME=/usr/lib/jvm/java-6-sun<br />
# setting up Amazon EC2<br />
export EC2_HOME=/home/abokov/ec2-api-tools-1.3-30349<br />
export PATH=$PATH:$EC2_HOME/bin:<br />
export EC2_PRIVATE_KEY=/home/abokov/keys/pk-XXX.pem<br />
export EC2_CERT=/home/abokov/keys/cert-XXX.pem</em></p>
<p><em>export EC2_ACCESS_KEY_ID=***<br />
export EC2_SECRET_ACCESS_KEY=***</em></p>
<p>You may check out how it works using  ec2-describe-instances.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/configuring-ubuntu-9-10-to-work-with-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon Web Services links &#8211; October/November 2009</title>
		<link>http://bokov.net/weblog/ec2/amazon-web-services-new-prices-and-new-services/</link>
		<comments>http://bokov.net/weblog/ec2/amazon-web-services-new-prices-and-new-services/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 11:11:26 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[compute grid]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[compute cloud]]></category>
		<category><![CDATA[Elastic Compute Cloud]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=312</guid>
		<description><![CDATA[Update in Amazon Web Services: 2 high cpu instance types : 64 bits &#8211; Double Extra Large с 34.2 GB RAM, and 13 ECU (4 virtual cores *3.25 EC2 compute Unit=ECU), 64-bit platform and Quadruple Extra Large &#8211; 68.4 GB of RAM/ 26 ECU (8 virtual cores* 3.25 ECU) : New EC2 High-Memory Instances Instance [...]]]></description>
			<content:encoded><![CDATA[<p>Update in Amazon Web Services:</p>
<li> 2 high cpu instance types : 64 bits &#8211;  Double Extra Large с 34.2 GB  RAM, and 13 ECU (4 virtual cores *3.25 EC2 compute Unit=ECU), 64-bit platform<br />
and Quadruple Extra Large &#8211; 68.4 GB of RAM/ 26 ECU (8 virtual cores* 3.25 ECU) :  <a href="http://aws.typepad.com/aws/2009/10/two-new-ec2-instance-types-additional-memory.html">New EC2 High-Memory Instances</a></li>
<li>Instance prices changes ( us-east is still cheaper thatn eu-west ) : <a href="http://aws.typepad.com/aws/2009/10/amazon-ec2-now-an-even-better-value.html">Amazon EC2 &#8211; Now an Even Better Value</a></li>
<li>New service for relational DB ( provisioning, scaling and other nice things )  : <a href="http://aws.typepad.com/aws/2009/10/introducing-rds-the-amazon-relational-database-service-.html">Introducing Amazon RDS &#8211; The Amazon Relational Database Service</a></li>
<li>Security stuff : <a href="http://homelandsecuritynewswire.com/vulnerability-identified-amazons-cloud-computing">Vulnerability identified in Amazon&#8217;s cloud computing</a></li>
<li>Amazon EC2 &#8211; Ubuntu <a href="http://groups.google.com/group/ec2ubuntu">at google groups</a></li>
<li>5 years ago Amazon announced Amazon Simple Queue Service &#8211; <a href="http://aws.typepad.com/aws/2009/11/aws-blog-the-first-five-years.html">top points of AWS for last 5 years</a></li>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/amazon-web-services-new-prices-and-new-services/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 reasons why cloud computing is bad idea</title>
		<link>http://bokov.net/weblog/ec2/10-reasons-why-cloud-computing-is-bad-idea/</link>
		<comments>http://bokov.net/weblog/ec2/10-reasons-why-cloud-computing-is-bad-idea/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 10:07:03 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[ec2]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[interesting]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=270</guid>
		<description><![CDATA[* Cloud Computing makes your IT excessively dependent on the Internet * Cloud Computing will attract clients mainly from Western markets * Cloud Computing makes you dependent on the goodwill of your ISP * Cloud Computing can expose you to the unethical practices of your ISP * Cloud Computing is against the spirit of Personal [...]]]></description>
			<content:encoded><![CDATA[<p>* Cloud Computing makes your IT excessively dependent on the Internet<br />
* Cloud Computing will attract clients mainly from Western markets<br />
* Cloud Computing makes you dependent on the goodwill of your ISP<br />
<span id="more-270"></span><br />
* Cloud Computing can expose you to the unethical practices of your ISP<br />
* Cloud Computing is against the spirit of Personal Computing<br />
* Cloud Computing makes your Cloud Data subject to American law<br />
* Cloud Computing can expose your Confidential Data to “Corrupt Elements”<br />
* Cloud Computing is sounding more like a Lobby than a Trend<br />
* Cloud Computing may be of little consequence for the Average Small Business<br />
* Cloud Computing may not contribute to your national economy<br />
<br />
<img src="http://bokov.net/lj/CloudComputingTechTangerinecom.jpg" alt="cloud computing"><br />
Found it here : <a href="http://www.techtangerine.com/2009/06/02/ten-reasons-why-cloud-computing-is-a-bad-idea/">Ten Reasons Why Cloud Computing is a Bad Idea</a> by Hamad Subani.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/10-reasons-why-cloud-computing-is-bad-idea/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Quick steps to configure Ubuntu for with EC2 API</title>
		<link>http://bokov.net/weblog/ec2/quick-steps-to-configure-ubuntu-for-with-ec2-api/</link>
		<comments>http://bokov.net/weblog/ec2/quick-steps-to-configure-ubuntu-for-with-ec2-api/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 11:28:00 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[ec2 api]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=245</guid>
		<description><![CDATA[Here&#8217;s some steps which I frequently use to configure Ubuntu to work as EC2 manager 1) Remove all non sun&#8217;s java &#8211; openjdk, gij apt-get uninstall openjdk-* apt-get uninstall gij-* 2) And install  java from sun apt-get install sun-java6-jdk 3) Install EC2 API cd /home/abokov/ http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip unzip ec2-api-tools.zip 4) Configure environment : I just add [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s some steps which I frequently use to configure Ubuntu to work as EC2 manager<br />
<span id="more-245"></span>1) Remove all non sun&#8217;s java &#8211;  openjdk, gij</p>
<address><em>apt-get uninstall openjdk-*</em></address>
<address><em> apt-get uninstall gij-*</em></address>
<p><em> </em>2) And install  java from sun<em><br />
apt-get install sun-java6-jdk</em></p>
<p>3) Install <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&amp;categoryID=88">EC2 API</a><br />
<em>cd /home/abokov/</p>
<p>http://s3.amazonaws.com/ec2-downloads/ec2-api-tools.zip</p>
<p>unzip ec2-api-tools.zip</em></p>
<p>4) Configure environment : I just add lines below to my ~/.bashrc<br />
<em>#ec2 deal with stuff<br />
export JAVA_HOME=/usr/lib/jvm/java-6-sun<br />
# setting up Amazon EC2<br />
export EC2_HOME=/home/abokov/ec2-api-tools-1.3-30349<br />
export PATH=$PATH:$EC2_HOME/bin:<br />
export EC2_PRIVATE_KEY=/home/abokov/keys/pk-XXX.pem<br />
export EC2_CERT=/home/abokov/keys/cert-XXX.pem</em></p>
<p><em>export EC2_ACCESS_KEY_ID=***<br />
export EC2_SECRET_ACCESS_KEY=***</em></p>
<p>It&#8217;s should be ready &#8211; you may check it out by run in terminal :</p>
<address> ec2-describe-instances.</address>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/quick-steps-to-configure-ubuntu-for-with-ec2-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using SDM to managing OpenSolaris zones</title>
		<link>http://bokov.net/weblog/ec2/using-sdm-to-managing-opensolaris-zones/</link>
		<comments>http://bokov.net/weblog/ec2/using-sdm-to-managing-opensolaris-zones/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 08:03:44 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[compute grid]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[compute cloud]]></category>
		<category><![CDATA[Elastic Compute Cloud]]></category>
		<category><![CDATA[hedeby]]></category>
		<category><![CDATA[qconf]]></category>
		<category><![CDATA[SGE]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=240</guid>
		<description><![CDATA[Sun Grid Engine&#8217;s top engineer Richard Hierlmeier wrote article ( and some bash scripts which implements it &#8211; btw why you not to put it them onto your cvs? ) about using SDM in compute cloud ( here&#8217;s EC2 as example, I suppose that GoGrid can be used also without too many changes ) &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>Sun Grid Engine&#8217;s top engineer Richard Hierlmeier  wrote article ( and some <a href=http://blogs.sun.com/rhierlmeier/resource/zones-script-0.1.tar.gz>bash scripts which implements it</a> &#8211; btw why you not to put it them onto your cvs? ) about using SDM  in compute cloud ( here&#8217;s EC2 as example, I suppose that GoGrid can be used also without too many changes ) &#8211; <a href="http://blogs.sun.com/rhierlmeier/entry/using_sdm_cloud_adapter_to">Using SDM Cloud Adapter to Manage Solaris Zones</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/using-sdm-to-managing-opensolaris-zones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New version of Sun Grid Engine</title>
		<link>http://bokov.net/weblog/ec2/new-version-of-sun-grid-engine/</link>
		<comments>http://bokov.net/weblog/ec2/new-version-of-sun-grid-engine/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 09:52:32 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[compute grid]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[Elastic Compute Cloud]]></category>
		<category><![CDATA[SGE]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=227</guid>
		<description><![CDATA[Sun released new version of Sun Grid Engine &#8211; 6.2 Update 3. That&#8217;s new: Amazon EC2 adapter &#8211; SDM Cloud Service Adapter now is avaialable to scale SGE cluster in EC2 &#8211; they only need to have OpenVPN installed on instances, and special configuration for IP addresses ( SGE is still very picky about DNS [...]]]></description>
			<content:encoded><![CDATA[<p>Sun released new version of <a href="http://wikis.sun.com/display/gridengine62u3/Release+Notes">Sun Grid Engine &#8211; 6.2 Update 3</a>. That&#8217;s new:</p>
<ul>
<li>Amazon EC2 adapter &#8211; SDM Cloud Service Adapter now is avaialable to scale SGE cluster in EC2 &#8211; they only need to have OpenVPN installed on instances, and special configuration for IP addresses ( SGE is still very picky about DNS ) &#8211; <a href="http://wikis.sun.com/display/gridengine62u3/Prerequisites+and+Restrictions">more about restriction is here</a> and here&#8217;s <a href="http://wikis.sun.com/display/gridengine62u3/Cloud+Adapter+Scripts">bash scripts which used for EC2 deployment</a>. By the way I see that <a href="http://wikis.sun.com/display/gridengine62u3/Sample+AMI">OpenSolaris</a> is still only one OS which available for SGE on EC2, if you&#8217;re looking for some SGE/EC2 solutions you may check out <a href="http://blog.griddynamics.com/2009/05/data-aware-routing-gemstone-gemfire-and.html#links">Convergence proejct</a> which deal with SGE/GemFire cluster installation on EC2 &#8211; see <a href="http://bokov.net/weblog/ec2/installing-sun-grid-engine-on-amazon-ec2/">Installing SGE on EC2</a>, or <a href="http://wiki.gridengine.info/wiki/index.php/SGE-Hedeby-And-Amazon-EC2">Hedeby installation on EC2</a>.</li>
<li>Now only one JVM can be runned on master or managed host &#8211; in previous version SGE ran 3 JVM on every host &#8211; one for <a href="http://wikis.sun.com/display/GridEngine/Managing+JVMs+and+Components">cs_vm ( configuration service ), executor_vm ( executor component ) and rp_vm ( resource provider )</a>. In SGE terminology it called <a href="http://wikis.sun.com/display/gridengine62u3/How+to+Install+SDM">SDM simple install</a>.</li>
<li>Now SGE have Exclusive Scheduling &#8211; <em><a href="http://wikis.sun.com/display/gridengine62u3/Configuring+Exclusive+Scheduling">this helps to guarantee predictable performance and to avoid interference when a job is not using all of the slots that are available on a host</a></em></li>
<li>Sun declared that now SGE have Microsoft Vista Support ( don&#8217;t think that there&#8217;s too much SGE installations on Vista ) and also some usual marking speech about  Power Saving features <img src='http://bokov.net/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
</ul>
<p>upd. Also there&#8217;s new <a href="http://developers.sun.com/sunstudio/">Sun Studio 12 Update 1</a> is available too.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/new-version-of-sun-grid-engine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shut-me-down, EC2</title>
		<link>http://bokov.net/weblog/ec2/shut-me-down-ec2/</link>
		<comments>http://bokov.net/weblog/ec2/shut-me-down-ec2/#comments</comments>
		<pubDate>Thu, 28 May 2009 17:59:18 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[ec2]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=188</guid>
		<description><![CDATA[Recently I found another strange thing in EC2 &#8211; if I use &#8220;shutdown now&#8221; on ec2 instance for AWS this node will be still alive and in marked as &#8220;running&#8221; in ec2-describe-instances host list. For those who want to have simple way to shutdown ec2 instances from script I recommend to use this code ( [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I found another strange thing in EC2 &#8211; if I use &#8220;shutdown now&#8221; on ec2 instance for AWS this node will be still alive and in marked as <em>&#8220;running&#8221;</em> in ec2-describe-instances host list. For those who want to have simple way to shutdown ec2 instances from script I recommend to use this code ( I use it in our <a href="http://blog.griddynamics.com/2009/05/data-aware-routing-gemstone-gemfire-and.html">Convergence &#8211; Data-Aware routing  on EC2</a> project ) :</p>
<pre>ec2-describe-instances | grep `hostname` | awk "{ print \"ec2-terminate-instances \" \$2; }" &gt;&gt; /root/tools/stop_it.sh</pre>
<p>You may just run stop_it.sh or schedule it via at</p>
<pre>at -f /root/tools/stop_it.sh "now + $TIMEOUT minutes"</pre>
<p><em>just not forget to replace $TIMEOUT with something usefull <img src='http://bokov.net/weblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/shut-me-down-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Sun Grid Engine on Amazon EC2</title>
		<link>http://bokov.net/weblog/ec2/installing-sun-grid-engine-on-amazon-ec2/</link>
		<comments>http://bokov.net/weblog/ec2/installing-sun-grid-engine-on-amazon-ec2/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 17:54:45 +0000</pubDate>
		<dc:creator>Alexey Bokov</dc:creator>
				<category><![CDATA[administration]]></category>
		<category><![CDATA[compute grid]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[/etc/hosts]]></category>
		<category><![CDATA[Amazon EC2]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[OpenSolaris]]></category>
		<category><![CDATA[SGE]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://bokov.net/weblog/?p=158</guid>
		<description><![CDATA[As base AMI i used ami-7db75014 &#8211; it&#8217;s OpenSolaris supported by Sun, common informartion about installing and using OpenSolaris in EC2 also available in Sun&#8217;s Amazon EC2 Getting started guide &#8211; in this post I will focus almost in SGE using in Amazon EC2. As SGE distributive i use all-in-one tar package &#8211; i choosed [...]]]></description>
			<content:encoded><![CDATA[<p>As base AMI i used ami-7db75014 &#8211; it&#8217;s <a href="http://blogs.sun.com/ec2/entry/opensolaris_2008_11_on_amazon">OpenSolaris supported by Sun</a>, common informartion about installing and using OpenSolaris in EC2 also available in <a href="http://www.sun.com/third-party/global/amazon/Sun_AmazonEC2_GettingStartedGuide.pdf">Sun&#8217;s Amazon EC2 Getting started guide</a> &#8211; in this post I will focus almost in SGE using in Amazon EC2. As SGE distributive i use all-in-one tar package &#8211; i choosed &#8220;All supported platform&#8221; in <a href="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=GE-6.2U2-OS-G-F@CDS-CDS_SMI">Grid Engige download page</a> &#8211; it takes about 350 Mb, but I don&#8217;t worry about platform architecture &#8211; if sun support it &#8211; it will be in this package. This <strong>ge62u2_1.tar.gz </strong> contains bunch of other tar.gz&#8217;s ( and even <a href="http://hedeby.sunsource.net">hedeby&#8217;s core package</a> ) and can be unpacked by :</p>
<address>root@ec2-server:~/tools/archive# gzip -dc ge62u2_1.tar.gz | tar xvpf -</address>
<p>So I just go inside ge6.2u2_1 and unpack them all using something like this</p>
<address>for myfile in *.tar.gz</address>
<address>do</address>
<address> gzip -dc $myfile | tar xvpf -</address>
<address>done</address>
<p>One important thing &#8211; <strong>hedeby-1.0u2-core.tar.gz </strong>contains old versions of some files from <strong>ge-6.2u2_1-common.tar.gz &#8211; </strong>there&#8217;s conflicts in files common/util/arch  and common/util/arch_variables &#8211; <a href="bokov.net/data/administration/sge-hedeby/sge_hedeby_diff.txt">here&#8217;s diff for them</a> &#8211; may be sometimes it can be usefull, but for my configuration it causes very strange errors when I try to install executor host :</p>
<address>value == NULL for attribute &#8220;mailer&#8221; in configuration list of &#8220;ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com&#8221;</address>
<address>./inst_sge[261]: Translate: not found [No such file or directory]</address>
<address>./inst_sge[263]: Translate: not found [No such file or directory]</address>
<address>./inst_sge[264]: Translate: not found [No such file or directory]</address>
<p>When I replace this files from <strong>ge-6.2u2_1-common.tar.gz </strong>installation works as expected. Next point it&#8217;s DNS configuration &#8211; SGE is very picky to DNS and it will cause some problems in running SGE Amazon EC2 instances with SGE, this stuff can be fixed using <a href="http://www.cultofgary.com/2008/04/24/ec2-sun-grid-engine-and-host_aliases/"><strong>host_aliases</strong> file in SGE</a>, or other way it&#8217;s to use <strong><em>/etc/hosts </em></strong>file for it &#8211; some kind of this technique used in <a href="http://wiki.gridengine.info/wiki/index.php/SGE-Hedeby-And-Amazon-EC2">Hedeby-SGE on Amazon EC2 demo</a>, for example if we have master this name and 2 executor hosts I put this lines into /etc/hosts :</p>
<p><em><strong>#internal_ip external_full_name external_short_name internal_full_name internal_short_name</strong><br />
10.yyy.xyz.zzz ec2-RRR-TTT-ZZZ-YYY.compute-1.amazonaws.com ec2-RRR-TTT-ZZZ-YYY domU-mm-ww-PPP-WWW-FFF-GGG.compute-1.internal domU-mm-ww-PPP-WWW-FFF-GGG<br />
10.yyy.qwe.ttt ec2-aaa-bbb-ccc-ddd.compute-1.amazonaws.com ec2-aaa-bbb-ccc-ddd domU-mm-ww-JJJ-HHH-DDD-SSS.compute-1.internal domU-mm-ww-JJJ-HHH-DDD-SSS<br />
10.yyy.pre.ppp ec2-yyy-rrr-eee-qqq.compute-1.amazonaws.com ec2-yyy-rrr-eee-qqq domU-mm-ww-UUU-III-OOO-PPP.compute-1.internal domU-mm-ww-UUU-III-OOO-PPP</em></p>
<p>Also I use <em><strong>hostname ec2-RRR-TTT-ZZZ-YYY</strong></em> ( external_short_name )  to set instance hostname &#8211; this names I use as hostnames when I configure SGE.</p>
]]></content:encoded>
			<wfw:commentRss>http://bokov.net/weblog/ec2/installing-sun-grid-engine-on-amazon-ec2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

