<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Ring Of Blogs</title>
	
	<link>http://www.ringofblogs.com</link>
	<description>blogging, wordpress-MU, monetization and stuff...</description>
	<lastBuildDate>Fri, 30 Oct 2009 05:38:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/RingOfBlogs" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">RingOfBlogs</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>WordPress on Amazon RDS</title>
		<link>http://www.ringofblogs.com/2009/10/29/wordpress-on-amazon-rds/</link>
		<comments>http://www.ringofblogs.com/2009/10/29/wordpress-on-amazon-rds/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 05:29:18 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Hosting & domains]]></category>
		<category><![CDATA[WPMU tips]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[rds]]></category>
		<category><![CDATA[s3]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=284</guid>
		<description><![CDATA[Every WordPress blog must have a database to store all its data (posts, comments, settings and so on). WordPress uses the MySQL database. Usually the database is stored locally ob the web server of the blog. In some cases one would want to have the database installed elsewhere for many reasons (loads, capacity, backups). This [...]]]></description>
			<content:encoded><![CDATA[<p>Every <a href="http://wordpress.org/">WordPress</a> blog must have a database to store all its data (posts, comments, settings and so on). WordPress uses the <a href="http://dev.mysql.com/">MySQL</a> database. Usually the database is stored locally ob the web server of the blog. In some cases one would want to have the database installed elsewhere for many reasons (loads, capacity, backups). This is where <a title="Amazon Relational Database Service" href="http://aws.amazon.com/rds/">Amazon RDS</a> kicks in.</p>
<p><strong>What is Amazon RDS?</strong></p>
<p>Amazon Relational Database Service (Amazon <span>RDS</span>) is a web service that makes it easy to set up, operate, and scale a relational database in the cloud. That means that you can have your MySQL database operate on Amazon&#8217;s cloud computers located all over the world. Just like they say:</p>
<blockquote><p>Amazon <span>RDS</span> gives you access to the full capabilities of a familiar MySQL database. This means the code, applications, and tools you already use today with your existing MySQL databases work seamlessly with Amazon <span>RDS</span>.  Amazon <span>RDS</span> automatically patches the database software and backs up your database, storing the backups for a user-defined retention period. You also benefit from the flexibility of being able to scale the compute resources or storage capacity associated with your relational database instance via a single <span>API</span> call.</p></blockquote>
<p>According to Amazon there is no need to make any changes to your application in order to use Amazon RDS. <strong>Well, at least for WordPress and WordPress-MU they are right.</strong></p>
<p>A standard WordPress installation, using Amazon RDS, is located at <a title="WordPress on Amazon RDS" href="http://www.wordpressrds.com">WordPressRDS.com</a> and a WordPress-MU (the kind of WordPress that <a href="http://wordpress.com">wordpress.com</a> uses) is located at <a title="WordPress MU on Amazon RDS" href="http://mu.wordpressrds.com">mu.WordPressRDS.com</a>. I will keep this installation alive for a few days and then take it down since the use of Amazon RDS is not free.</p>
<p style="text-align: left;">If you would like to help me finance this demo please consider a <strong><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=elad.salomons@gmail.com&amp;currency_code=USD&amp;amount=&amp;return=&amp;item_name=Help finance this demo of WordPress and Amazon RDS integration">donation via PayPal</a></strong>.</p>
<p>Amazon RDS is charged by the hour + storage + I/O requests and in and out data transfer (see full <a title="Amazon RDS pricing" href="http://aws.amazon.com/rds/#pricing">pricing</a>). The smallest database instance you can get is with 1.7GB RAM with the cost of 0.11$ per hour. If you run a full month it sums up to about 82$/month. The next level is a huge jump to a large instance of 7.5GB RAM with the cost of 0.44$ per hour (~330$/month). However, for those who are seeking a multi-db solution for WordPress MU may consider testing two or three small instances.</p>
<p><strong>So lets get started!</strong></p>
<p>The first thing you will have to do is setup an Amazon RDS instance. If you don&#8217;t have an account with Amazon you should <a href="https://aws-portal.amazon.com/gp/aws/developer/registration/index.html">creat an AWS account</a>. Once you have an account you may <a href="http://aws.amazon.com/rds/">signup for Amazon RDS</a>.</p>
<p>To set up the RDS instance read some of the <a href="http://aws.amazon.com/rds/#resources">resources</a> available. If you use WordPress you probably would start with the <a href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2945&amp;categoryID=293">PHP sample code</a>. I may give specific code samples at a later time but you will have to use the following APIs (in this order):</p>
<ol>
<li><a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APICreateDBSecurityGroup.html">CreateDBSecurityGroup</a> &#8211; setup a database security group.</li>
<li><a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APIAuthorizeDBSecurityGroupIngress.html">AuthorizeDBSecurityGroupIngress</a> &#8211; authorize access from your servers IP for the above group.</li>
<li><a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APICreateDBInstance.html">CreateDBInstance</a> &#8211; set up the instance and first database (including root user, password and database name).</li>
</ol>
<p>If all goes well you may check the instance using the <a href="http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/index.html?APIDescribeDBInstances.html"><em>DescribeDBInstances API</em></a> call and look for the &#8216;<em>Status</em>&#8216; field making sure it is in &#8216;<em>Available</em>&#8216; state. In the results of this call you will also see the unique host name of the database. Amazon calls it &#8216;<em>endpoint address</em>&#8216;. If you got it your are done!</p>
<p><strong>Now setup WordPress (or WordPress Mu)</strong></p>
<p>The final step is to run a regular setup of WordPress (or WordPress MU). You are probably familiar with the setup screen (click on the image to enlarge):</p>
<p><a href="http://www.ringofblogs.com/wp-content/uploads/2009/10/wp-rds-install-3.PNG" rel="lightbox[284]"><img class="aligncenter size-medium wp-image-304" title="wp-rds-install-3" src="http://www.ringofblogs.com/wp-content/uploads/2009/10/wp-rds-install-3-300x207.PNG" alt="wp-rds-install-3" width="300" height="207" /></a></p>
<p>See the &#8216;<strong>DataBase Host</strong>&#8216; field? That is where the &#8216;<em>endpoint address</em>&#8216; goes. I guess this is one of those other 1% cases. Now just continue the installation as usual.</p>
<p>A WordPress MU installation is just the same:</p>
<p><a href="http://www.ringofblogs.com/wp-content/uploads/2009/10/wpmu-rds-install-1.PNG" rel="lightbox[284]"><img class="aligncenter size-full wp-image-308" title="wpmu-rds-install-1" src="http://www.ringofblogs.com/wp-content/uploads/2009/10/wpmu-rds-install-1.PNG" alt="wpmu-rds-install-1" width="474" height="218" /></a></p>
<p>I have installed <a title="WordPress" href="http://www.wordpress.org/">WordPress</a> and <a href="http://mu.wordpress.org/">WordPress-MU</a> on <a title="Amazon Relational Database Service" href="http://aws.amazon.com/rds/">Amazon RDS</a> at <a title="WordPress on Amazon RDS" href="http://www.wordpressrds.com/" target="_blank">WordPressRDS.com</a>. Check it out and please consider a donation via PayPal to keep these installation running.</p>
<p style="text-align: center;"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=elad.salomons@gmail.com&amp;currency_code=USD&amp;amount=&amp;return=&amp;item_name=Help finance this demo of WordPress and Amazon RDS integration"><img class="aligncenter size-full wp-image-313" title="btn_donate_LG" src="http://www.ringofblogs.com/wp-content/uploads/2009/10/btn_donate_LG.gif" alt="btn_donate_LG" width="92" height="26" /></a></p>
<img src="http://feeds.feedburner.com/~r/RingOfBlogs/~4/fndTjR0FHLU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2009/10/29/wordpress-on-amazon-rds/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gravatar enabled badges for WordCamp Israel 2008</title>
		<link>http://www.ringofblogs.com/2008/10/22/gravatar-enabled-badges-for-wordcamp-israel-2008/</link>
		<comments>http://www.ringofblogs.com/2008/10/22/gravatar-enabled-badges-for-wordcamp-israel-2008/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 19:58:02 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Israel]]></category>
		<category><![CDATA[wordcamp]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=243</guid>
		<description><![CDATA[For WordCamp SF 2008, Andy Peatling introduced Gravatar enabled name badges. He also released most of the source code he used to produce them &#8211; thanks Andy  
On November 16th I will be attending WordCamp Israel 2008in Tel-Aviv. For the event, Sharon Gefen and I have prepared the graphics and script that will produce [...]]]></description>
			<content:encoded><![CDATA[<p>For WordCamp SF 2008, <a title="Andy Peatling" href="http://apeatling.wordpress.com">Andy Peatling</a> introduced <a title="Get A Gravatar Ready For WordCamp 2008 Badges" href="http://apeatling.wordpress.com/2008/08/06/get-a-gravatar-ready-for-wordcamp-2008-badges/">Gravatar enabled name badges</a>. He also released most of the source code he used to produce them &#8211; thanks Andy <img src='http://www.ringofblogs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>On November 16th I will be attending <a href="http://2008.wordcamp.co.il/">WordCamp Israel 2008</a>in Tel-Aviv. For the event, <a title="Sharon Gefen" href="http://sharongefen.co.il/">Sharon Gefen</a> and I have prepared the graphics and script that will produce nice little <span style="text-decoration: line-through;">black</span>dark blue Gravatar enabled name badges. The main problem was, big surprise, the use of Hebrew fonts with the <a title="fpdf" href="http://www.fpdf.org/">fpdf library</a>. After some time playing around with it I have managed to produce the following sample:</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.ringofblogs.com/wp-content/uploads/2008/10/elad-badge-wcil2008.jpg" border="0" alt="elad-badge-wcil2008" width="464" height="370" /></p>
<p>I hope Andy can find a place to use the Hebrew name badge I have prepared for him with the WordCamp Israel 2008 template:</p>
<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" src="http://www.ringofblogs.com/wp-content/uploads/2008/10/andy-badge-wcil2008.jpg" border="0" alt="andy-badge-wcil2008" width="464" height="370" /></p>
<p>If the budget will allow us, we will print these name badges for everybody at the camp. In the meanwhile please make sure that you register or update your <a title="Gravatar" href="http://www.gravatar.com">Gravatar</a>.</p>
<img src="http://feeds.feedburner.com/~r/RingOfBlogs/~4/DL6u5VpXLOQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/10/22/gravatar-enabled-badges-for-wordcamp-israel-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordCamp Israel 2008 – registration open</title>
		<link>http://www.ringofblogs.com/2008/10/14/wordcamp-israel-2008-registration-open/</link>
		<comments>http://www.ringofblogs.com/2008/10/14/wordcamp-israel-2008-registration-open/#comments</comments>
		<pubDate>Tue, 14 Oct 2008 16:28:40 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Israel]]></category>
		<category><![CDATA[wordcamp]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=235</guid>
		<description><![CDATA[WordCamp Israel 2008 is set for November 16th in Tel-Aviv. Just a day after we opened the registration we have about 130 submissions on our attendees list but we are aiming for a crowd of about 400!

Beside the WordPress usual issues, this year, we are devoting part of the camp to social involvement stuff like [...]]]></description>
			<content:encoded><![CDATA[<p><a title="wordcamp israel 2008" href="http://2008.wordcamp.co.il">WordCamp Israel 2008</a> is set for November 16th in Tel-Aviv. Just a day after we opened the <a href="http://2008.wordcamp.co.il/register/">registration</a> we have about 130 submissions on our <a href="http://2008.wordcamp.co.il/attendees/">attendees</a> list but we are aiming for a crowd of about 400!</p>
<p style="text-align: center;"><img class="aligncenter" title="WordCamp Israel 2008" src="http://www.ringofblogs.com/wp-content/uploads/2007/08/wordcamp-israel-2007-logo.png" alt="wordcamp-israel-2007-logo.png" width="317" height="68" /></p>
<p>Beside the WordPress usual issues, this year, we are devoting part of the camp to social involvement stuff like non-profit organizations &#8211; this should be interesting.</p>
<p>Please help spread the word.</p>
<img src="http://feeds.feedburner.com/~r/RingOfBlogs/~4/pb7rV0I5SRs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/10/14/wordcamp-israel-2008-registration-open/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp Israel 2008</title>
		<link>http://www.ringofblogs.com/2008/09/01/wordcamp-israel-2008/</link>
		<comments>http://www.ringofblogs.com/2008/09/01/wordcamp-israel-2008/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 12:20:33 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[Israel]]></category>
		<category><![CDATA[wordcamp]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=231</guid>
		<description><![CDATA[Following the great success of WordCamp Israel 2007 work has begun to organize the 2008 event.

No date had been set yet but I will post about it once a date and location will be determined. Also, a message will be post on the WordCamp site.
]]></description>
			<content:encoded><![CDATA[<p>Following the great success of <a title="WordCamp Israel 2007" href="http://2007.wordcamp.co.il">WordCamp Israel 2007</a> work has begun to organize the 2008 event.</p>
<p><img class=" alignnone" title="WordCamp Israel" src="http://www.ringofblogs.com/wp-content/uploads/2007/08/wordcamp-israel-2007-logo.png" alt="wordcamp-israel-2007-logo.png" width="317" height="68" /></p>
<p>No date had been set yet but I will post about it once a date and location will be determined. Also, a message will be post on the <a title="WordCamp Israel" href="http://www.wordcamp.co.il">WordCamp</a> site.</p>
<img src="http://feeds.feedburner.com/~r/RingOfBlogs/~4/6Xz8WkVz9CI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/09/01/wordcamp-israel-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPMU new blog settings plugin – updated</title>
		<link>http://www.ringofblogs.com/2008/07/31/wpmu-new-blog-settings-plugin-updated/</link>
		<comments>http://www.ringofblogs.com/2008/07/31/wpmu-new-blog-settings-plugin-updated/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 20:17:45 +0000</pubDate>
		<dc:creator>Elad</dc:creator>
				<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[new blogs]]></category>
		<category><![CDATA[setting]]></category>

		<guid isPermaLink="false">http://www.ringofblogs.com/?p=219</guid>
		<description><![CDATA[I have updated the WPMU new blog settings plugin to work with the new version of WordPress-Mu, 2.6 (for previous versions see here). The hook used was changed to a new one: populate_options and the update_option function call was replaced with the add_option function call. The main code of the plugin looks like so:

&#60;?php
function new_blogs_setting( [...]]]></description>
			<content:encoded><![CDATA[<p>I have updated the <a href="http://www.ringofblogs.com/2007/12/21/wpmu-new-blog-settings-plugin/">WPMU new blog settings plugin</a> to work with the new version of WordPress-Mu, 2.6 (for previous versions see <a href="http://www.ringofblogs.com/2007/12/21/wpmu-new-blog-settings-pluginwpmu-new-blog-settings-plugin/">here</a>). The hook used was changed to a new one: <strong>populate_options</strong> and the <strong>update_option</strong> function call was replaced with the <strong>add_option</strong> function call. The main code of the plugin looks like so:</p>
<pre name="code" class="php" cols="60" rows="10">
&lt;?php
function new_blogs_setting( $blog_id )  {
//set your options here:
add_option('gmt_offset', 2);
// stop editing here
return;
}
add_action('populate_options', 'new_blogs_setting');
?&gt;
</pre>
<p>Download <a href="http://www.ringofblogs.com/wp-content/uploads/2008/07/wpmu_new_blog_26.zip">here</a>.</p>
<img src="http://feeds.feedburner.com/~r/RingOfBlogs/~4/A94x7T6d9m4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.ringofblogs.com/2008/07/31/wpmu-new-blog-settings-plugin-updated/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
