<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Cloudsoft</title>
	<atom:link href="http://www.cloudsoftcorp.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cloudsoftcorp.com</link>
	<description>Bringing Business to the Cloud</description>
	<lastBuildDate>Mon, 05 Dec 2011 10:56:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Hands-on jclouds Cloud Storage @ Devoxx by bernardh</title>
		<link>http://www.cloudsoftcorp.com/uncategorized/cloudsoft-and-jclouds-at-devoxx/comment-page-1/#comment-10</link>
		<dc:creator>bernardh</dc:creator>
		<pubDate>Mon, 05 Dec 2011 10:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.cloudsoftcorp.com/?p=4308#comment-10</guid>
		<description>I so wished I could have been there :(
Do you know if videos and/or slides will be able for download ?

Best REgards,

B.</description>
		<content:encoded><![CDATA[<p>I so wished I could have been there <img src='http://www.cloudsoftcorp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Do you know if videos and/or slides will be able for download ?</p>
<p>Best REgards,</p>
<p>B.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on First steps with Cloud Foundry on Amazon EC2 by lalyos</title>
		<link>http://www.cloudsoftcorp.com/blog/first-steps-with-cloud-foundry-on-amazon-ec2/comment-page-1/#comment-7</link>
		<dc:creator>lalyos</dc:creator>
		<pubDate>Fri, 30 Sep 2011 15:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.cloudsoftcorp.com/?p=3633#comment-7</guid>
		<description>Hi Richard,

great article! i cloudn&#039;t resist to try it out with my ec2 account. but at first it didn&#039;t work for me,
i was getting &#039;502 Bad Gatway&#039; error which meant that nginx was not able to talk to the router.
so after looking into the log files (bin/vcal tail) i saw that after editing the 4 config files the components were not able to communicate with each other.

the reason is that inside of the ec2 instance the ellastic ip is not reachable (which is the same as the public ip) you have to use the local ip.

the other problem is the domain name (let&#039;s say its api.mydomain.org) is resolved to the ellastic ip (same as the public ip) as well. so you have to enter the local ip in /etc/hosts.

here is the script i was able to get it right:


cd ~/cloudfoundry/vcap/

URI=api.lalyos.info
FILES=&quot;cloud_controller/config/cloud_controller.yml router/config/router.yml health_manager/config/health_manager.yml dea/config/dea.yml&quot;
LOC_IP=$(wget -qO - http://169.254.169.254/latest/meta-data/local-ipv4)

# editing the 4 config files, creating a backup
sed -i.bak &quot;s/api.vcap.me/$URI/;s/127.0.0.1/$LOC_IP/;s/localhost:4222/$LOC_IP:4222/&quot; $FILES

# faking /etc/hosts to be able to ping $URI locally in the ec2 environment
sudo sh -c &quot;echo \&quot;$LOC_IP $URI\&quot; &gt;&gt; /etc/hosts&quot;

# restarting
bin/vcap restart</description>
		<content:encoded><![CDATA[<p>Hi Richard,</p>
<p>great article! i cloudn&#8217;t resist to try it out with my ec2 account. but at first it didn&#8217;t work for me,<br />
i was getting &#8217;502 Bad Gatway&#8217; error which meant that nginx was not able to talk to the router.<br />
so after looking into the log files (bin/vcal tail) i saw that after editing the 4 config files the components were not able to communicate with each other.</p>
<p>the reason is that inside of the ec2 instance the ellastic ip is not reachable (which is the same as the public ip) you have to use the local ip.</p>
<p>the other problem is the domain name (let&#8217;s say its api.mydomain.org) is resolved to the ellastic ip (same as the public ip) as well. so you have to enter the local ip in /etc/hosts.</p>
<p>here is the script i was able to get it right:</p>
<p>cd ~/cloudfoundry/vcap/</p>
<p>URI=api.lalyos.info<br />
FILES=&#8221;cloud_controller/config/cloud_controller.yml router/config/router.yml health_manager/config/health_manager.yml dea/config/dea.yml&#8221;<br />
LOC_IP=$(wget -qO &#8211; <a href="http://169.254.169.254/latest/meta-data/local-ipv4" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/169.254.169.254/latest/meta-data/local-ipv4?referer=');">http://169.254.169.254/latest/meta-data/local-ipv4</a>)</p>
<p># editing the 4 config files, creating a backup<br />
sed -i.bak &#8220;s/api.vcap.me/$URI/;s/127.0.0.1/$LOC_IP/;s/localhost:4222/$LOC_IP:4222/&#8221; $FILES</p>
<p># faking /etc/hosts to be able to ping $URI locally in the ec2 environment<br />
sudo sh -c &#8220;echo \&#8221;$LOC_IP $URI\&#8221; &gt;&gt; /etc/hosts&#8221;</p>
<p># restarting<br />
bin/vcap restart</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on First steps with Cloud Foundry on Amazon EC2 by Experimentando con Ubuntu juju y Cloud Foundry &#124; El diario de Ferdy</title>
		<link>http://www.cloudsoftcorp.com/blog/first-steps-with-cloud-foundry-on-amazon-ec2/comment-page-1/#comment-5</link>
		<dc:creator>Experimentando con Ubuntu juju y Cloud Foundry &#124; El diario de Ferdy</dc:creator>
		<pubDate>Thu, 22 Sep 2011 21:39:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.cloudsoftcorp.com/?p=3633#comment-5</guid>
		<description>[...] (o sea, creando una instancia de EC2 y ejecutando el script de instalación tal como se describe en esta página), vamos a utilizar una nueva herramienta muy interesante que ha aparecido recientemente, y que nos [...]</description>
		<content:encoded><![CDATA[<p>[...] (o sea, creando una instancia de EC2 y ejecutando el script de instalación tal como se describe en esta página), vamos a utilizar una nueva herramienta muy interesante que ha aparecido recientemente, y que nos [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic
Database Caching 17/31 queries in 0.036 seconds using disk: basic

Served from: www.cloudsoftcorp.com @ 2012-02-23 05:27:12 -->
